I am unable to import product option/features/variant in the following XML file. All items outside OPTIONS node are imported. However, all product sizes are imported as a single product with all sizes showing as a single size. No product variations are imported as required. Can anyone look into this file and help?
Thanks,
It seems like the structure of the attached XML node is broken in your post. Could you please attach either file a whole or the mentioned XML node wrapped in the code (preformated text) tag?
Yes, unfortunately there is no proper XML structure to import options, so it have to inherit the syntax from CSV specification. As for the features, the easiest way will be to create the necessary feature beforehand and then specify value of this feature in the mapping.
Thank you so much for your help. However, since I don’t have any control to the suppliers xml, I am wondering if there is any way that this can be imported in any way. The following is the complete XML file I received from the supplier. Your help is much appreciated.
In this xml file, the price for the product is the same. The difference is the size and the quantity in stock. I could not import as it is since the size is being imported as one item. The variation is not being created when I try to import.
2703
DAILY DRESS
-
-
AB-8895
AB-8895
https://abijata.com/apparel/womens-clothing/turkish-abaya-en-2/
-
-
-
-
-
10
https://abijata.com/images/detailed/11/abaya8-1.jpg
https://abijata.com/images/detailed/11/abaya8-2.jpg
Apparel
Abijata
44.90
USD
0.55000000
-
-
-
-
Body size
36
0
1
Body size
38
0
1
Body size
40
0
1
Body size
42
2
1
Body size
44
1
1
Body size
46
2
1
Body size
48
2
1
Body size
50
2
1
Body size
52
1
1
Body size
54
0
1
Body size
56
0
1
I am afraid there is no way to import the provided import file in a way that it will create variation, using the default import. You may try some third party solutions for this or ask your vendor to rebuild the import file, to be compatible with the default CS-Cart import format.
I would like to import products with different sizes, and quantity. What would a sample xml format that allows me to import suppliers products with variations. All sizes will have the same price.
Example:
Main product name: Dress, 36, quantity (in stock): 5
Variant1: Dress, 38, quantity (in stock): 7
Variant2: Dress, 40, quantity (in stock): 3
Variant3: Dress, 42, quantity (in stock): 9
Variant4: Dress, 44, quantity (in stock): 4
What will be a good sample xml structure that helps to import a product with the above variations?
Your support is appreciated.
Thank you