VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: jschuurkes on October 31, 2016, 13:47:57 PM

Title: Couponcode VAT calculation is not correct.
Post by: jschuurkes on October 31, 2016, 13:47:57 PM
Hello Forum Members,

I have a problem with the VAT calculation for the VM couponcodes.
The VAT amount is not reduced from the total cart amount.
The couponcodes are maintained by AwoCoupon Pro 2.5.1
I' m using a third party OPC from CMSmart, but with the standard OPC from Virtuemart, I have the same problem.
Where can I find the VAT calculation and how can I solve this

At this moment i'm using:
Joomla version 3.6.4
Virtuemart 3.0.16
AwoCoupon Pro 2.5.1
PHP Versie 5.5.16

Thanks for any support,

Jack
Title: Re: Couponcode VAT calculation is not correct.
Post by: K&K media production on November 01, 2016, 20:28:02 PM
In this case you should ask AwoCoupon, it should be a bug of this plugin.

calculation is executed here:

administrator/components/com_virtuemart/helpers/calculationh.php
Title: Re: Couponcode VAT calculation is not correct.
Post by: jschuurkes on November 02, 2016, 16:42:12 PM
Hello K&K media production,

Thanks for you quick reaction.
I think that you are the author of this php file.

Of course the virtue mart calculation works fine (I've created a new environment) and it works fine.
The problem I have is, who created this problem?
My One Page Checkout supplier or my Coupon Supplier.
I don't know where to look for this problem and to start from scratch is no option.
To my opinion the problem lies at my OPC supplier CMSmart.net.
I placed a support call at their forum and I hope they will answer.

Thanks, Jacl

So any advice is welcome
Title: Re: Couponcode VAT calculation is not correct.
Post by: K&K media production on November 02, 2016, 20:19:20 PM
Hello Jac,

in my opinion the problem depends on your Coupon Supplier Awo Coupon.

Best Regards,
Maik