VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Jalil on April 16, 2019, 11:24:41 AM

Title: coupon and tax calculation on invoice
Post by: Jalil on April 16, 2019, 11:24:41 AM
Hi,
without any discount coupon tax calculation is working just fine.
but when i add a coupon code, the tax is being calculate on total amount + tax
for example:
tax : 5%
cart value : $100
tax being calculated : $5
after adding coupon code:
tax is being calculated as 5% of  ($100 + $5)

can someone guide how to resolve this?

Virtuemart : 3.4.2
Joomla : 3.9.1
Title: Re: coupon and tax calculation on invoice
Post by: seyi on April 17, 2019, 15:09:38 PM
So your tax before coupon is $5 and your tax after coupon is $5.25?  Is the discount correct? Is the total correct?
Title: Re: coupon and tax calculation on invoice
Post by: Jalil on April 18, 2019, 15:24:32 PM
Yes, Yes and Yes.

tax is set for 8.5% per bill.
http://prntscr.com/ndp9rq (http://prntscr.com/ndp9rq)

tax calculation without coupon
http://prntscr.com/ndpbgo (http://prntscr.com/ndpbgo)

tax calculation with coupon code
http://prntscr.com/ndpcbo (http://prntscr.com/ndpcbo)

with coupon code tax is being calculated on total price + previous tax
:(
Title: Re: coupon and tax calculation on invoice
Post by: seyi on April 19, 2019, 18:34:49 PM
From the image looks like you are using Awocoupon.  Is that the paid version?  If so, you should check awocoupon > installation check and make sure everything is installed.  Also in awocoupon > configuration, you can set discount before tax to yes or no.
Title: Re: coupon and tax calculation on invoice
Post by: Jalil on April 22, 2019, 08:20:28 AM
Thanks Seyi,
that helped.