当前位置: 动力学知识库 > 问答 > 编程问答 >

.net - magento import category_ids is empty

问题描述:

With .NET I create a new Product with SOAP V2. All fields are correctly inserted, without the CATEGORY. Category is always empty ! (I Have a Category with the ID 37)

 Dim para As New SOAP2.catalogProductCreateEntity

Dim ar(0) As String

ar(0) = "37"

para.category_ids = ar

para.name = strRefmatID

...

rc = gService.catalogProductCreate(gSession, "simple", "64", strRefmatID, para, "0")

What is wrong? Thank you very much!

网友答案:

Try category_id or entity_id, not category_ids. Look in the table structure to see where is the problem .

分享给朋友:
您可能感兴趣的文章:
随机阅读: