I am trying to customize CSVI export of j2store for bestlist
I have found the bestlist template in administrator/components/com_csvi/helpers/file/export/xml
In an old version of CSVI, I had used something like this below:
function Element($column_header, $cdata=false) {
switch ($column_header) {
case 'image':
$this->node = '<image>https://www.mysite.com';
$this->node .= $this->contents;
$this->node .= '</image>';
$this->node .= "\n";
break;
case 'link':
$this->node = '<link>https://www.mysite.com/products/';
$this->node .= $this->contents;
$this->node .= '-item</link>';
$this->node .= "\n";
break;
[...]
Now I tried something similar but with no result.
I can do only basic things in php, so I would be very happy if you could give the basic pattern to make this modification (for example to add the full url infron of image and link results).
Thank you in advcance