1. spro1
  2. RO CSVI
  3. Thursday, 24 November 2016
  4.  Subscribe via email
Hello!
CSVI version 6.6.4
Joomla! 3.6.4
VirtueMart 3.0.18
I need export to Yandex Market.
There are several problems:
1. In the header, there is no information about the store, eg:

<name></name>
<company></company>
<url></url>
<currencies>
<currency id="" rate="" plus=""/>

2. tag <offer> does not contain the product id, available info and type (eg: <offer id="">, need: <offer type="vendor.model" id="1724" available="true">;)
3. In <picture> tag need to specify the full path to the image (eg: <picture>https://sitename.com/images/stories/virtuemart/product/7916073.jpg</picture>;)
4. In <description> tag need add clean text, without code and tags. Is that possible?

Can you tell me what variables are available in the export template Yandex, please?
Accepted Answer Pending Moderation
Hello,
1,2 After applying the patch error occurs 500 when exporting

Can you check your server error logs to see what is causing this 500 error? There should be an log entry for this error.

4. The database contains the text formatting, because it needed.
attached script removes tags for export, is it possible to do the same in CSVI?

You can create a custom override file for Yandex export routine and add your custom code needed. Have a look at Override import/export routine document for the same.

I mean the variables available in the file administrator/components/com_csvi/helper/file/export/xml/yandex.php

May i know why you want to know the variables of this file? If you are looking for doing any custom coding it can be done in an override file as explained above.
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. # 21
Accepted Answer Pending Moderation
Hello!
1,2 After applying the patch error occurs 500 when exporting
3. Ok.
4. The database contains the text formatting, because it needed.
attached script removes tags for export, is it possible to do the same in CSVI?
[code type=php]
if ($row->product_desc) {
$xml .= '<description>'.htmlspecialchars(strip_tags($row->product_desc)).'</description>'."\n";
}
[/code]

I mean the variables available in the file administrator/components/com_csvi/helper/file/export/xml/yandex.php
Attachments (3)
  1. more than a month ago
  2. RO CSVI
  3. # 22
Accepted Answer Pending Moderation
Hello,
1. In the header, there is no information about the store, eg:
<name></name>
<company></company>
<url></url>
<currencies>
<currency id="" rate="" plus=""/>
2. tag <offer> does not contain the product id, available info and type (eg: <offer id="">, need: <offer type="vendor.model" id="1724" available="true">;)

Load the attached patch file from CSVI maintenance menu and these two issues should be solved.

3. In <picture> tag need to specify the full path to the image (eg: <picture>http://sitename.com/images/stories/virtuemart/product/7916073.jpg</picture>;)
Go the dashboard and click Options in the right top corner. Setup your Domain name information in there, you should be seeing full urls after that.

4. In <description> tag need add clean text, without code and tags. Is that possible?

What you have in your database as description is what exported in your XML file. You need to clean up your description field value in your database so you have clean text in export file.

Can you tell me what variables are available in the export template Yandex, please?

Go to Available fields page, in search tools select export as action, component as VirtueMart and Operation to be Yandex. That will list you all available fields for Yandex export.


patch_yandex_2016_11_25.zip
Attachments (1)
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. # 23
  • Page :
  • 1
  • 2


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