1. barracuda69
  2. RO CSVI
  3. Thursday, 25 May 2023
  4.  Subscribe via email
Hi,

Is there a way to achieve the following export format?

<imageurl><![CDATA[https://www.mywebstore.gr/product/322233.jpg]]></imageurl>
<additional_imageurl><![CDATA[https://www.mydomain.com/front.jpg]]></additional_imageurl>
<additional_imageurl><![CDATA[https://www.mydomain.com/sides.jpg]]></additional_imageurl>

I'm using a custom xml export.

Thank you in advance!

Dennis
Accepted Answer Pending Moderation
Hello Dennis,
Additional image is not available with custom XML export. It is available only with Google Merchant export. If you want to have additional image link with custom XML export then you need to write custom code in custom XML helper.

To create custom XML helper
1. Go to folder administrator/components/com_csvi/helper/file/export/xml/custom.php
2. Copy the file custom.php and rename it to custom1.php.
3. Open custom1.php file and change the class name from CsviHelperFileExportXmlCustom to CsviHelperFileExportXmlCustom1. File name and class name should be same.
4. You need to write custom code in element method for additional images.
5. In the export template on File tab select Custom1 in Website field list and save the template.
6. Run export and check.
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!