1. Anonymous User
  2. RO CSVI
  3. Friday, 14 January 2022
  4.  Subscribe via email
Hi
We use the virtuemart export order advanced for making the right XML file for invoicing program import. Now, the problem is that the webshop has the products in packaging units. The invoicing program has the products in kg.
We had to edit the orderadvanced.php in order that we have access to "product_packaging" field. This is not available in the template, you cannot add it to the fields.
Then we had to convert quantity from packaging quantity to kg quantity (quantity * product_packaging) and product price to unit price (price / product_packaging)

Could you pls advise how to do that?
Accepted Answer Pending Moderation
Hello,

We had to edit the orderadvanced.php in order that we have access to "product_packaging" field. This is not available in the template, you cannot add it to the fields.
That is correct because it is not an order detail but a product detail that is not stored with the order.

We have documentation on how to create override import and export routines. This way you can modify an export routine as you like without hacking RO CSVI, this way it will keep working throughout updates.

Could you pls advise how to do that?
Is the override what you are asking on how to do?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. one week 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!