Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2022
    Location
    Perth
    Posts
    2
    Plugin Contributions
    0

    Default 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

    Click image for larger version. 

Name:	gst calculated correctly.jpg 
Views:	72 
Size:	15.4 KB 
ID:	19972


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


    Click image for larger version. 

Name:	gst calculated wrong 2.jpg 
Views:	73 
Size:	21.9 KB 
ID:	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
    Click image for larger version. 

Name:	quantity discount settings.jpg 
Views:	73 
Size:	14.9 KB 
ID:	19973

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,703
    Plugin Contributions
    123

    Default 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!
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Apr 2022
    Location
    Perth
    Posts
    2
    Plugin Contributions
    0

    Default Re: tax calculation error when discounting

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

 

 

Similar Threads

  1. v155 shipping tax calculation error after upgrade to v155
    By earmsby in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 3
    Last Post: 21 Jul 2016, 07:32 PM
  2. 1.3.8 a Tax calculation rounding error
    By chandroo007 in forum General Questions
    Replies: 1
    Last Post: 11 Jul 2011, 07:50 AM
  3. Incorrect tax calculation when using discount coupon
    By Royal in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 20 Jul 2010, 01:02 PM
  4. tax calculation error with coupons
    By poosk in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 22 Oct 2008, 02:35 PM
  5. Replies: 7
    Last Post: 13 Nov 2006, 12:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR