Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2006
    Posts
    27
    Plugin Contributions
    0

    v1.3.5 Group Discount Total Wrong

    I have a brand new 1.3.5 installation with two products and one customer...

    My Order Total ordering is as follows;

    Sub-Total ot_subtotal 100
    Shipping ot_shipping 200
    Discount Coupon ot_coupon 280
    Group Discount ot_group_pricing 290
    Tax ot_tax 300
    Gift Certificates ot_gv 840
    Total ot_total 999

    My Group Discount settings in Order Total are;

    This module is installed
    true
    Sort Order
    290
    Include Shipping
    false
    Include Tax
    false
    Re-calculate Tax
    Standard
    Tax Class
    --none--


    Purchasing these products;

    $10.00 Non Taxable Product
    $4.00 Taxable Product (10%)

    With a 50% Group Discount;


    I get this;

    $14.00 Subtotal
    -$7.00 Group Disount (50%)
    $6.70

    ??? Where did this come from. Assumedly it should be total=$7.00?

    http://ecom.xceed.com.au/ if you want to test...


    Can enybody help?? Aaarrrrggggghhh

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: v1.3.5 Group Discount Total Wrong

    What are your numbers with recalculate tax = none? Would you please post all your order totals so we can see the calculation?
    That Software Guy. My Store: Zen Cart Support
    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
    Jun 2006
    Posts
    27
    Plugin Contributions
    0

    Default Re: v1.3.5 Group Discount Total Wrong

    The point is that I NEED to re-calculate tax... Otherwise the tax is incorrect.

    With recalculate tax=none I get the following;

    Sub-Total: $14.00
    Group Discount: -$7.00
    TAX: $0.40
    Total: $7.40

    This is correct. The recalculate tax works fine until the discount is larger than the value of the taxable item and then it seems to do something funny?

    With recalculate tax=standard I get the following;

    Sub-Total: $14.00
    Group Discount: -$7.00
    Total: $6.70

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: v1.3.5 Group Discount Total Wrong

    Group discounts assumes that your entire basket is taxable. The order total modules make
    a bunch of assumptions to simplify the logic - and the assumptions are reasonable in most
    cases; it just doesn't work well for cases like yours where there is a mix of taxable and non-taxable goods. I know it's hairy; I felt compelled to write a huge page on it as part of the Quantity Discounts documentation. I believe you have read this page

    http://www.thatsoftwareguy.com/zenca...sales_tax.html

    Bottom line: whether it's "wrong" or not to not recompute the tax is really subjective - many physical coupons (from newspapers, etc.) indicate that you are still responsible for the sales taxes. And doing this gives you the correct numbers.

    The good news is that Dr. Byte has said that this area will be reworked in a future release.

    http://www.zen-cart.com/forum/showthread.php?t=47132

    This thread even contains an alternate tax calculation method which might be more to your liking.

    Good luck,
    Scott
    That Software Guy. My Store: Zen Cart Support
    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.

  5. #5
    Join Date
    Jun 2006
    Posts
    27
    Plugin Contributions
    0

    Default Re: v1.3.5 Group Discount Total Wrong

    Quote Originally Posted by swguy
    Group discounts assumes that your entire basket is taxable....
    Thanks Scott... This is the answer that I have been looking for, even though it is not an ideal answer at least I can now work out where to go from here knowing roughly what Zen Cart is capable of.

    I was tearing my hair out tring to work out what it was doing...

    I think this would be an update that would help a lot of people... Surely other sellers have had this problem???

    Cheers
    Will

 

 

Similar Threads

  1. v153 Sales taxes and order total wrong when group discount involved
    By apollowilcox in forum General Questions
    Replies: 8
    Last Post: 11 Feb 2015, 06:09 PM
  2. Order Total wrong when Group Discount Applied
    By Brent in forum General Questions
    Replies: 4
    Last Post: 16 Jan 2011, 02:59 AM
  3. Order Total Calculation Error (Group Discount)
    By Jace in forum General Questions
    Replies: 4
    Last Post: 10 Dec 2010, 02:12 PM
  4. group discounts wrong discount
    By MB1 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 11
    Last Post: 15 Dec 2006, 08:29 PM
  5. Group Discount Total Wrong
    By mrkrinkle in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 3 Oct 2006, 10:19 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