Jump to content

Api Problem Add Product Accessories


Recommended Posts

Hi!

i am using prestashop 1.5.3 and have a problem adding accessories to a product by the Webservice

 

example:

i want to add product:2 and product:3 as accessories to my product

 

 

i update my product like this:

[...]

<accessories node_type="product">

<product>

<id xlink:href="

<![CDATA[ 2 ]]>

</id>

</product>

<product>

<id xlink:href="

<![CDATA[ 3 ]]>

</id>

</product>

</accessories>

[...]

 

but only the first (product:2) is inserted to my product:

[...]

<accessories node_type="product">

<product>

<id xlink:href="

<![CDATA[ 2 ]]>

</id>

</product>

</accessories>

 

[...]

 

 

I get no error

 

 

Has anyone a solution?

Edited by davidgs (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...