1. dm
  2. RO CSVI
  3. Tuesday, 13 November 2018
  4.  Subscribe via email
Hello,

I have a % of discount from the total of the order, how can I export the the total of the discount?
Which rule do I hvae to use?

Thanks.

Regards,
Davide
Accepted Answer Pending Moderation
Hello Davide,
Try using CSVI Margin plugin. The document explains for import but creating rule is same for export. Create the rule and apply it on the export field.
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. # 1
Accepted Answer Pending Moderation
Hi Tharuna,

thank you very much.

Which is the VM field with the subtotal?

Thanks,
Davide
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Just found ordersalesPrice, applied Margin rule, but the calculation is not done.

In the order_total, yes, but I need to do it in the ordersalesPrice.

How can I do it?


Thanks.
Davide
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Hello Davide,
The field is order_salesPrice and not ordersalesPrice. If the calculation is working on order_total then it is the same way for order_salesPrice field. Can you post screenshot on how you have set your rule?
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. # 4
Accepted Answer Pending Moderation
Hello,

yes, I wrote wrong, sorry.
In attachment the screenshots.

Thanks.
Davide
Attachments (3)
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
Hello Davide,
Rule settings looks good. The only reason i could see the rule not working or applied could be that values of order_salesPrice field is not greater than 1800. Are you sure the exported values for order_salesPrice are all above 1800?
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. # 6
Accepted Answer Pending Moderation
Yes, the export in attachment.
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 7
Accepted Answer Pending Moderation
Hello,
I created a test VirtueMart order export on my local site with margin rule applied to order_salesPrice field and it does work. I am not sure why the rule is not working for you. Is it only the issue with order_salesPrice price field?
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. # 8
Accepted Answer Pending Moderation
Hello,

it seems yes...

Thanks.
Davide
  1. more than a month ago
  2. RO CSVI
  3. # 9
Accepted Answer Pending Moderation
Hello Davide,
Can you send me the backup of your export template? I will run it here and see what happens. You can get the backup of your template by going to Maintenance -> CSVI Pro -> Backup template. Download the XML file and post it.
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. # 10
Accepted Answer Pending Moderation
Hello,

just sent to you in pm.


Thanks.
  1. more than a month ago
  2. RO CSVI
  3. # 11
Accepted Answer Pending Moderation
Hello Davide,
You have two order_salesPrice fields in your export template. One with margin rule applied and another without rule. I guess you are checking the field without the rule in your export. Remove this field or check the field with rule applied on export.
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. # 12
  • Page :
  • 1


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