1. rade86
  2. RO CSVI
  3. Wednesday, 07 September 2016
  4.  Subscribe via email
Hello,
I`m trying to import product with custom fields. I`m 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
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hello,

You can find debug log of the import attached.

Thank you
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. RO CSVI
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!