1. andrejk
  2. RO CSVI
  3. Tuesday, 22 April 2025
  4.  Subscribe via email
Hello,
Joomla 4.4.3, VM 4.2.4

please, I import product from XML. I have in VM a parameter name : Parameter and I need to combine all values from a structure into this parameter:


<options>
<option>
<id>2948</id>
<code>2114F407</code>
<name>
<![CDATA[ biele, 220 Lumenov, USB ]]>
</name>
<ean>4712806001919</ean>
<price_msrp>25.95</price_msrp>
<price_msrp_czk>656.54</price_msrp_czk>
</option>
<option>
<id>2950</id>
<code>2114F411</code>
<name>
<![CDATA[ červené, 220 Lumenov, USB ]]>
</name>
<ean>4712806001902</ean>
<price_msrp>25.95</price_msrp>
<price_msrp_czk>656.54</price_msrp_czk>
</option>
<option>
<id>2947</id>
<code>2114F404</code>
<name>
<![CDATA[ čierne, 220 Lumenov, USB ]]>
</name>
<ean>4712806001896</ean>
<price_msrp>25.95</price_msrp>
<price_msrp_czk>656.54</price_msrp_czk>
</option>
<option>
<id>2949</id>
<code>2114F410</code>
<name>
<![CDATA[ modré, 220 Lumenov, USB ]]>
</name>
<ean>4712806001926</ean>
<price_msrp>25.95</price_msrp>
<price_msrp_czk>656.54</price_msrp_czk>
</option>
</options>


right now it's like this and it's wrong (more image in attachment):

Parameter
biele, 220 Lumenov, USB~červené, 220 Lumenov, USB~čierne, 220 Lumenov, USB~modré, 220 Lumenov, USB



Preview before import should be :

Parameter~Parameter~Parameter~Parameter
biele, 220 Lumenov, USB~červené, 220 Lumenov, USB~čierne, 220 Lumenov, USB~modré, 220 Lumenov, USB





Please how to set combine to always give custom_title value Parameter?

Best regards
Andrej
Attachments (1)
Accepted Answer Pending Moderation
Hello Andrej,
You can set the custom_title value in Default value field like Parameter~Parameter~Parameter~Parameter. See attached screenshot. But if you are trying to add Parameter based on number of custom_value then that is not possible. The maximum possible Parameter value should be set in custom_title field itself.
Attachments (1)
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. 3 hours ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hello,

yes, I'm trying to add a parameter based on the custom_value count. Is there any other way to import products? Since I have one custom_title and different numbers of custom_value?

Best regards
Andrej
  1. 2 hours ago
  2. RO CSVI
  3. # 2
  • Page :
  • 1


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