1. andrejk
  2. RO CSVI
  3. Tuesday, 21 January 2025
  4.  Subscribe via email
Hello,

Joomla 4.4.10, VM 4.2.4, RO CSVI 8.11.1.

I have an XML feed for importing products into virtuemart. I need advice on how to import the <option> and <param> parts


<product>
<id>23538</id>
<code>D_B22403</code>
<name>
<![CDATA[ BEFLY bike BeFly WHIP ]]>
</name>
<manufacturer>
<![CDATA[ BEFLY ]]>
</manufacturer>
<description>
<![CDATA[ <p>Frame: 1020 Hi-ten Steel TIG welded]]>
</description>
<category>
<![CDATA[ Bicycles / BMX bikes ]]>
</category>
<price_msrp>369</price_msrp>
<images>
<url>https://www.sloger.sk/images/eshop/big/23538-befly-bicykel-befly-whip-07b7dff42c90a89ac8494b69e582c478.jpg</url>
<url>https://www.sloger.sk/images/eshop/big/23538-befly-bicykel-befly-whip-2cec9ae32f9f4cdc9ac13d77cacda42d.jpg</url>
</images>
<options>
<option>
<id>25638</id>
<code>D_B22424</code>
<name>
<![CDATA[ black ]]>
</name>
<ean>8581502242409</ean>
<price_msrp>369</price_msrp>
</option>
<option>
<id>25637</id>
<code>D_B22403</code>
<name>
<![CDATA[ salmon ]]>
</name>
<ean>8581502240306</ean>
<price_msrp>369</price_msrp>
</option>
</options>
<param>
<param_name>
<![CDATA[ Color ]]>
</param_name>
<val>
<![CDATA[ black ]]>
</val>
</param>
<param>
<param_name>
<![CDATA[ Set ]]>
</param_name>
<val>
<![CDATA[ Other ]]>
</val>
</param>

</product>
<product>

Best regards
Andrej
Accepted Answer Pending Moderation
Hello Andrej,
I need advice on how to import the <option> and <param> parts

May I know on how you want to import <option> and <param> fields? From example <option> node looks as child products. Are these child products? What about <param> node? Which field you want it to import?
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
  • Page :
  • 1


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