1. roderic
  2. RO CSVI
  3. Wednesday, 05 January 2022
  4.  Subscribe via email
Hello,

When I run the export manually, the link/URL looks fine, when I trigger the same template with a cronjob, it adds httpdocs/administrator/components/com_csvi:

wrong-url.jpeg

Set-up:
export-settings.jpg
google-template-settings.jpg

Thanks
Attachments (3)
Accepted Answer
Accepted Answer Pending Moderation
Hello Roderic,
In the case of SEF URLs we have an option in RO CSVI Maintenance page to generate the SEF URLs, save them to database and then use them in export as and when needed. This option was added to reduce the time taken in generating the SEF URLs on export and so export goes faster. In your case it will help you to avoid having the path httpdocs/administrator/components/com_csvi in the URLs.

To generate SEF URLs from maintenance, go to Maintenance page, select VirtueMart in the first dropdown, Refresh SEF URLs in the second dropdown, select Google export template and click the Continue button in the toolbar.

You can also run the maintenance task as a cron job using the command


/usr/local/bin/php /home/domain/public_html/administrator/components/com_csvi/helper/cron.php --task="maintenance" --addon="virtuemart" --operation="refreshsefurls" --template="X"


Replace X with template ID. In your case your Google merchant template ID. You can then run the export using cron and check the URLs.
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. # Permalink


There are replies in this post but you are not allowed to view the replies from this post.