1. webstar
  2. RO CSVI
  3. Wednesday, 27 August 2025
  4.  Subscribe via email
Hi Id like to export a range of virtuermart orders from the VM back end. Ive had this template in use for many years so I know that works. I juts need to clarify what settign I need to be able to export.

eg I'm trying to hit

https://staging.xxxxxx.co.uk/administrator/index.php?option=com_csvi&view=export&csvi_template_id=68&exportto=todownload&key=xxxxxxx&task=export&tmpl=component&form.orderlist=1082950,1082948,1082947,1082946,1082945,1082944,1082943,1082939,1082938,1082937,1082936,1082935,1082934,1082933,1082932,1082929,1082928,1082927,1082926,1082925,1082924,1082923,1082922,1082920,1082919,1082918

but hit a Call to a member function getName() on null


What do I need enabled in the template in order to do this
Accepted Answer Pending Moderation
Hello,
May I ask why you want to use URL to run export on backend? You can use template with filters set for order IDs and use run button to run the export. Why not do that?
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. 10 hours ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hi Yes - I want to dynamically insert order nos into this from the Virtuemart Orders page to send orders to export directly form the Orders list page in VM.

So the client doesnt have use the ROCSVI Template at all
  1. 6 hours ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello,
https://staging.xxxxxx.co.uk/administrator/index.php?option=com_csvi&view=export&csvi_template_id=68&exportto=todownload&key=xxxxxxx&task=export&tmpl=component&form.orderlist=1082950,1082948,1082947,1082946,1082945,1082944,1082943,1082939,1082938,1082937,1082936,1082935,1082934,1082933,1082932,1082929,1082928,1082927,1082926,1082925,1082924,1082923,1082922,1082920,1082919,1082918

This URL is only supported with frontend so running export with this URL in backend gives the error. To run export on backend use the below URL


https://staging.xxxxxx.co.uk/administrator/index.php?option=com_csvi&task=export.start&csvi_template_id=68


Now the problem is filtering with order IDs. Sending IDs with the above URL will not work as we do not support it in RO CSVI code. So solution to this is to create an override for export and read Order IDs from the URL and use them in export query. You need to make these custom code changes in override file.

Let me know if that helps.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. 5 hours ago
  2. RO CSVI
  3. # 3
  • Page :
  • 1


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