Results 1 to 4 of 4
  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.

    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)

    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.

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

    Default Re: Order Total Calculation Error (Group Discount)

    *bump*

    Any help on this issue, please.

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

    Default Re: Order Total Calculation Error (Group Discount)

    A bunch of fixes were made to this area in 1.3.9. You should 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 wrong when Group Discount Applied
    By Brent in forum General Questions
    Replies: 4
    Last Post: 16 Jan 2011, 02:59 AM
  2. Order Total Calculation Error (Group Discount)
    By Jace in forum General Questions
    Replies: 4
    Last Post: 10 Dec 2010, 02:12 PM
  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