Zen Cart Logo
Forums / Currencies & Sales Taxes, VAT, GST, etc. / tax calculation error when discounting

tax calculation error when discounting

Views: 1,854

Results 1 to 3 of 3
26 Apr 2022, 13:38
#1
cushions4cancer avatar

cushions4cancer

New Zenner

Join Date:
Apr 2022
Location:
Perth
Posts:
2
Plugin Contributions:
0

tax calculation error when discounting

Zen-Cart v1.5.7d
New Install
installed mod Quantity Discount (https://www.zen-cart.com/downloads.php?do=file&id=135)

I seem to be having an issue with the tax calculation when checking out with a discount applied.

If I purchase a single item which doesn't qualify for the discount, the total and tax are correct

Attachment 19972

If I purchase 2 of the items, which qualifies for the discount:

Attachment 19971

Order sub total plus shipping
$70 + $9.95 = $79.95

Above total minus discount
$79.95 - $3.50 = 76.45 (so total is correct)

However GST should be 10% of the total ($76.45 / 11 = $6.95) but it is calculating the GST on just the subtotal plus shipping and ignoring the discount figure.

Any ideas of where I might be going wrong ?

Quantity discount settings
Attachment 19973

26 Apr 2022, 16:02
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: tax calculation error when discounting

If you go to Admin > Modules > Order Total > Quantity Discounts and press Edit, you'll see several possible settings for Re-calculate Tax. Try 'em all!

27 Apr 2022, 08:59
#3
cushions4cancer avatar

cushions4cancer

New Zenner

Join Date:
Apr 2022
Location:
Perth
Posts:
2
Plugin Contributions:
0

Re: tax calculation error when discounting

Thanks swguy, changed recalculate tax to VAT and it is now calculating tax correctly