Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2006
    Location
    South Africa
    Posts
    11
    Plugin Contributions
    0

    Default Error in group discount calculation at checkout

    I have a problem with group discount being calculated incorrectly on checkout. The discount is being calculated on the value including VAT and then deducted from the value excluding VAT.

    Example:-
    Product price = 2750.00 ex. VAT
    Group discount = 25%
    VAT = 14% (South Africa)
    Shipping is free

    What I see is:-

    Sub-Total: R2750.00
    Store Pickup (Walk In): R0.00
    Group Discount: -R783.75
    V.A.T.: R288.75

    Total: R2255.00

    Discount should be 2750.00 *.25 = 687.50

    What I expect to see is:-

    Sub-Total: R2750.00
    Store Pickup (Walk In): R0.00
    Group Discount: -R687.50
    V.A.T.: R288.75

    Total: R2351.25

    Is there an error or am I doing something wrong? I am using version 1.3.0

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Error in group discount calculation at checkout

    I would recommend upgrading to v1.3.0.2 before trying to address this issue ...

    Note: the changed v1.3.0.2 is *not* meant for upgrading from v1.3 ... that is only for upgrading from v1.3.0.1 ...

    Backup both your database and website ...

    Then make a test directory such as /new_shop and load a copy of your current site ...

    Then make a new database and load a copy of your current database ...

    Change the paths and database in the /includes/configure.php and /admin/includes/configure.php to your test directory and test database ...

    Use these to perform your upgrade ... and test the upgrade to ensure that it works ...

    This way you are starting with the current version of Zen Cart and not one that needs upgrading ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Jun 2006
    Location
    Oz
    Posts
    31
    Plugin Contributions
    0

    Default Re: Error in group discount calculation at checkout

    Hi I found exactly the same thing...

    In admin got to modules - order total - group discount
    here you can select to include tax or not.

    Hope this helps
    Dave

  4. #4
    Join Date
    Jun 2006
    Location
    South Africa
    Posts
    11
    Plugin Contributions
    0

    Default Re: Error in group discount calculation at checkout

    Hi Dave,

    Thanks for the help, that solved the problem.

    I finally got 1.3.0.2 installed as Linda suggested, and restored the database from my original setup.

    Now I get a message that I should patch the database, but I am struggling to find more info.

    Regards
    Fred

  5. #5
    Join Date
    Jun 2006
    Location
    South Africa
    Posts
    11
    Plugin Contributions
    0

    Default Re: Error in group discount calculation at checkout

    OK! It's me again.

    I found the database upgrade option in zc_install and everything is looking great so far.

    Thanks again for the help.

    Fred

 

 

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 Calculation Error (Group Discount)
    By Jace in forum General Questions
    Replies: 4
    Last Post: 10 Dec 2010, 02:12 PM
  3. Replies: 18
    Last Post: 12 Mar 2010, 06:37 PM
  4. 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