Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2005
    Posts
    142
    Plugin Contributions
    0

    Default Coupon Subtracting wrong

    I have a coupon that gives 10% off any order (excluding shipping). It works fine except when sales tax is applied. Here is an example:

    Currently:

    Product: $80.50
    Discount: -$8.53
    Tax 6%: $4.35
    Shipping: $8.05
    Total $84.37

    The discount should be $8.05 ($80.50 * .1 = $8.05) but instead it takes the total, applies tax to it and then gives the discount. ($80.50 * 1.06 = $85.33) (85.33 * .1 = $8.53).

    Then it takes the sales tax from the discount and gets the amount shown in the sales tax ($4.35).

    So the customer gets a bigger discount because it includes the sales tax. The correct numbers should be:

    Product: $80.50
    Discount: -$8.05
    Tax 6%: $4.35
    Shipping: $8.05
    Total $84.85

    Anyone have any ideas how to fix this?

    Thanks

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Coupon Subtracting wrong

    Check your settings and make sure you do not have the coupon set to discount the sales tax.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Coupon Subtracting wrong

    These settings would be in the Admin->MOdules->Order Totals .... ot_coupon
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Coupon not subtracting
    By sparktronic in forum General Questions
    Replies: 2
    Last Post: 4 Sep 2008, 04:50 AM
  2. Coupon not subtracting from total
    By captonzoom in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 9
    Last Post: 18 Jul 2008, 04:39 PM
  3. coupon cause tax wrong?
    By applese in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 3 Aug 2007, 06:16 PM
  4. Taxes Wrong with coupon
    By margecc in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 3
    Last Post: 3 Aug 2007, 05:47 PM
  5. Coupon calculation wrong
    By colibri in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 31 Aug 2006, 01:52 AM

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