Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2010
    Posts
    87
    Plugin Contributions
    0

    help question Order Total Calculation Error (Group Discount)

    (Using v1.3.8a)

    I've got some customers set up with a group discount of 5%, but it's taking off 5.529251263943504% instead. Here's the breakdown of a test order I placed:

    12 x LM08 = $119.76
    5 x SI52 = $2.00
    2 x SI13 = $2.40
    1 x SI12 = $0.45

    Subtotal: $124.61
    Prepaid Discount (-5%): -$6.89
    Freight: $8.00
    Tax (10%): $12.61
    Total: $138.33

    The prepaid discount (-5%) is supposed to be -$6.23, not -$6.89. Grab a calculator, see for yourself.

    And also - the Tax (10%) is supposed to be $12.57, not $12.61. So the order total is wrong, it's showing $138.33 but it's supposed to be $139.02.

    Why would it be calculating incorrectly, and how can I fix this?

  2. #2
    Join Date
    Nov 2010
    Posts
    87
    Plugin Contributions
    0

    Default Re: Order Total Calculation Error (Group Discount)

    Come on, surely I'm not the only person who has come across this.

  3. #3
    Join Date
    Nov 2010
    Posts
    87
    Plugin Contributions
    0

    Default Re: Order Total Calculation Error (Group Discount)

    And again, surely people have come across this problem. Any help, please.

  4. #4
    Join Date
    Dec 2010
    Posts
    1
    Plugin Contributions
    0

    Default Re: Order Total Calculation Error (Group Discount)

    Quote Originally Posted by Jace View Post
    (Using v1.3.8a)

    I've got some customers set up with a group discount of 5%, but it's taking off 5.529251263943504% instead. Here's the breakdown of a test order I placed:

    12 x LM08 = $119.76
    5 x SI52 = $2.00
    2 x SI13 = $2.40
    1 x SI12 = $0.45

    Subtotal: $124.61
    Prepaid Discount (-5%): -$6.89
    Freight: $8.00
    Tax (10%): $12.61
    Total: $138.33

    The prepaid discount (-5%) is supposed to be -$6.23, not -$6.89. Grab a calculator, see for yourself.

    And also - the Tax (10%) is supposed to be $12.57, not $12.61. So the order total is wrong, it's showing $138.33 but it's supposed to be $139.02.

    Why would it be calculating incorrectly, and how can I fix this?
    I'm having exactly the same issue - very embarrassing right in front of the customer....

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

    Default Re: Order Total Calculation Error (Group Discount)

    Create a 1.3.9 test cart with the latest download. Import your database. Retest to see if this issue still exists. If it doesn't, you know you need to upgrade.
    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.

 

 

Similar Threads

  1. Order Total Calculation Error (Group Discount)
    By Jace in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 3
    Last Post: 9 Mar 2011, 06:51 AM
  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. Replies: 7
    Last Post: 13 Nov 2006, 12:11 PM
  4. Error in group discount calculation at checkout
    By Fred Philpott in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 4
    Last Post: 4 Jul 2006, 01:29 PM

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