Hello,
Im trying to import product with custom fields. Im using combine rule and everything is working OK while there is one attribute name and one value, but when there is one attribute name and multiple values, then fields get mess up.
I have more then 2000 products with different specification layout.
How can I solve problem with multiple values for custom fields?
**Example of my XML file:
**
<specifications>
<attribute_group name="Fizičke karakteristike">
<attribute name="Boja">
<value><![CDATA[Bela]]></value>
</attribute>
<attribute name="Visina">
<value><![CDATA[136cm]]></value>
</attribute>
<attribute name="Širina">
<value><![CDATA[55cm]]></value>
</attribute>
</attribute_group>
<attribute_group name="Ostalo">
<attribute name="Ostalo">
<value><![CDATA[Antibakterijska gumena zaptivka, ]]></value>
<value><![CDATA[Držač za flaše, ]]></value>
<value><![CDATA[Poklopac odeljka za mlečne proizvode]]></value>
</attribute>
</specifications>
VirtueMart version 3.0.16
CSVI version 6.6.4
Hello,
Can you post your debug log of the import? You can check the section "Where to get the debug information?" on top of this page to know how to get the debug log.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Hello,
For multiple values, custom title count should always match with custom value count and it should be separated by ~ symbol. So your XML should be something like
<attribute name="Ostalo~Ostalo~Ostalo">
<value><![CDATA[Antibakterijska gumena zaptivka~Držač za flaše~Poklopac odeljka za mlečne proizvode ]]></value>
</attribute>
Try this and let me know if it works.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Hello,
I can`t do that, because I get this XML from my supplier. In XML I always have one attribute name, but several values.
Thank you
Hello,
Please have a look at the documentation Import XML which explains how to deal with nodes with the same name. In short, you will need to use the combine field in combination with the Combine Field rule.
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.