Jump to content

Webservice: Import Products to specific Shop


rbunreal84

Recommended Posts

Hi all,

 

we try to import products with the webservice in our shop.

 

it works well, but we can't set a specific shop, it takes always the Shop with the ID 1.

 

We send:

<product>
	<id></id>
	<id_manufacturer>2</id_manufacturer>
	<id_supplier>2</id_supplier>
	<id_category_default>20</id_category_default>
	<new></new>
	<cache_default_attribute></cache_default_attribute>
	<id_default_image></id_default_image>
	<id_default_combination></id_default_combination>
	<id_tax_rules_group>1</id_tax_rules_group>
	<position_in_category>0</position_in_category>
	<type></type>
	<id_shop_default>4</id_shop_default>
.........

As result the product will be added to the Shop 1:

<product>
	<id><![CDATA[310]]></id>
.....
	<position_in_category not_filterable="true"><![CDATA[0]]></position_in_category>
	<manufacturer_name not_filterable="true"><![CDATA[Schleich]]></manufacturer_name>
	<quantity not_filterable="true"></quantity>
	<type not_filterable="true"><![CDATA[simple]]></type>
	<id_shop_default><![CDATA[1]]></id_shop_default>
.....

The category with the ID 20 is attached to the Shop 4, not to the Shop 1.

 

Thanks for any information or hint about this mysterious behaviour of the webservice.

 

Best regards

Tom

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...