本文介绍了Magento的1.4 productIdentifierType的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我的检索产品,在1.3的问题,它的工作,我只是增加了一些产品的1.4,但有一个在capalogProductInfo一个新的函数调用的产品标识,我不知道要放什么东西在那里,我试图通过降低产品类型的表单列表,但我不断收到,指出该产品不会退出。

一个错误

谁能帮助?

  catalogProductInfo(的sessionId,PRODUCT_ID,CurrentStore,属性,productIdentifierType)


解决方案

在我定义我想回来,我一直得到了同样的错误(产品不会退出)的属性:

  catalogProductRequestAttributes ATTRIB =新catalogProductRequestAttributes();
attrib.attributes =新的字符串[] {描述,名};catalogProductInfo(的sessionId,Product_sku,CurrentStore,ATTRIB,NULL)

不知道对productIdentifierType,但展位空和SKU为我工作。

i am having problems with retrieving my products, in 1.3 it worked and i just added some products on 1.4 but there is a new function in the capalogProductInfo called the product identifier, i don't know what to put in there, i tried passing down product type form list but i keep getting a error that says that the product does not exit.

can anyone help?

catalogProductInfo(sessionId, Product_id, CurrentStore, attributes, productIdentifierType)
解决方案

Before I defined the attributes I wanted back, I kept getting the same error (product does not exit):

catalogProductRequestAttributes attrib = new catalogProductRequestAttributes();
attrib.attributes = new string[] { "description", "name" };

catalogProductInfo(sessionId, Product_sku, CurrentStore, attrib, null)

Don't know about the productIdentifierType, but booth null and "sku" worked for me.

这篇关于Magento的1.4 productIdentifierType的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-12 00:23