Support is online

import Products to Virtuemart with xml file #7389

Open avasil opened this topic Tuesday, 02 June 2015 · 1 reply
Author

Hello CSVI,
I would like to import Products to Virtuemart with xml file.
The import process works fine. But I want to do import "multi variant custom field ".
The scenario is as follows: I have a parent Item that is associated with the child Item to have color choices.
This connection I made with product_sku and not with the product_id.
Following I have two options, the first with produkt_id (1058 and 1059) works the second with product_sku does not import the connection.
What changes do I need to do I'm working with product_sku.

<custom_title><![CDATA[variant-testing]]></custom_title>
		<custom_param><![CDATA[usecanonical=0|selectoptions=[{"voption":"clabels","clabel":"color","values":"\black\r\nwhitee"}]|clabels=0|options={"1058":["black"],"1059":["whitee"]}|]]></custom_param>
    <custom_value><![CDATA[]]></custom_value>
<custom_title><![CDATA[variant-testing]]></custom_title>
		<custom_param><![CDATA[usecanonical=0|selectoptions=[{"voption":"clabels","clabel":"color","values":"\black\r\nwhitee"}]|clabels=0|options={"8033830058530":["black"],"8033830058561":["whitee"]}|]]></custom_param>
    <custom_value><![CDATA[]]></custom_value>

Thanks

Joomla ver 3.4.0
VirtueMart 3.0.6.2
CSVI Pro 5.21.2

Support

Hello,

Multi variants are also only supported in CSVI 6. If you want to import the multi variants, you can take a look at the tutorial. The custom fields you are using is incorrect, use the fields mentioned in the tutorial. It works a little different with the multi variants.

The reason it doesn't work with SKU is because VirtueMart requires the IDs to be stored and not the SKUs. If you want to do it with CSVI 5, you will need to use the IDs.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Log in to reply to this topic.