can you give me an example how the xml file should be to import a parent product with 2 childs the parent is stockablecustomfield and the child with customfieldsforall
i can import it correctly when stockable and string but i can not get it done with stockable and customfieldsforall
Hello,
Importing customfieldsforall in stockablecustom fields is explained in Stockable variants import document under Custom fields for all with Stockable custom fields section. The document has example in CSV format but it is no different for XML. All you need to do is creating field as type customfieldsforall and include it in import file like how you do it for string custom field. Let me know if you still need more help.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
this thread is for string
and i said with string i manage to do it but with child to customfields4all i dont know how to do the xml file import just an example below please edit that and tell me
<?xml version="1.0" encoding="UTF-8"?>
<export>
<product>
<sku><![CDATA[giannistest]]></sku>
<customname>Μπερές COUPE</customname>
<custom_param></custom_param>
<custom_title><![CDATA[Test Size-Color~Test Size-Color]]></custom_title>
<custom_value><![CDATA[stockablecustomfields~stockablecustomfields]]></custom_value>
<custom_multiple><![CDATA[]]></custom_multiple>
</product>
<product>
<sku><![CDATA[giannistest1]]></sku>
<customname>Μπερές COUPE 1</customname>
<parent_sku><![CDATA[giannistest]]></parent_sku>
<custom_param><![CDATA[One Size~BEIGE]]></custom_param>
<custom_title><![CDATA[testsizes~testcolors~]]></custom_title>
<custom_value><![CDATA[~]]></custom_value>
</product>
<product>
<sku><![CDATA[giannistest2]]></sku>
<customname>Μπερές COUPE 2</customname>
<parent_sku><![CDATA[giannistest]]></parent_sku>
<custom_param><![CDATA[One Size~Γκρι Ανοιχτό]]></custom_param>
<custom_title><![CDATA[testsizes~testcolors~]]></custom_title>
<custom_value><![CDATA[~]]></custom_value>
</product>
</export>
and here is a test import template
find it
the parent_id column was missing from custom fileds db
Hello,
parent_id column is for dependentcustomfieldsforall. You did not mention about any error or about parent_id issue in your initial post. You had error with import? Is it solved now?
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
i do not use dependcustomfieldfor all
with the parnet id soved the issue i had anyway
Log in to reply to this topic.