Page 2 of 6 FirstFirst 1234 ... LastLast
Results 11 to 20 of 58
  1. #11
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,154
    Plugin Contributions
    11

    Default Re: Different Total Displayed

    Has anyone tested this fix with both options for Display Prices with Tax?

  2. #12
    Join Date
    Jun 2008
    Location
    Japan
    Posts
    123
    Plugin Contributions
    5

    Default Re: Different Total Displayed

    Quote Originally Posted by dbltoe View Post
    Has anyone tested this fix with both options for Display Prices with Tax?
    It seems I did:
    Quote Originally Posted by pilou2 View Post
    I tried saving final-price not rounded in database and it fixed it. I tried both with option to display with tax or not and checked for other possible consequences using developper tool in admin and so far all is good.

  3. #13
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,498
    Plugin Contributions
    88

    Default Re: Different Total Displayed

    If anyone has the time to see if the current master branch in the Zen Cart GitHub (https://github.com/zencart/zencart) has corrected this issue, I'd appreciate it. There were a slew of changes in the pricing calculations (most of them hovering around the addition of Wholesale Pricing) that I believe have corrected these issues.

  4. #14
    Join Date
    Apr 2008
    Location
    Qld, Australia
    Posts
    257
    Plugin Contributions
    6

    Default Re: Different Total Displayed

    Quote Originally Posted by dbltoe View Post
    Has anyone tested this fix with both options for Display Prices with Tax?
    From my simple testing , it has.
    Display Prices with Tax = false; Display Prices with Tax in Admin = false ; Tax rate (GST) = 10%

    Item $1.60 each; add ten to cart; price displayed is $14.55;
    Step 2 of 3 display payment information: Sub-Total = $14.55; Tax = $1.45; Total = $16.00
    OldNGrey
    ZC158a PHP 8.2.15
    MySQL 10.6.16-MariaDB

  5. #15
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,498
    Plugin Contributions
    88

    Default Re: Different Total Displayed

    Quote Originally Posted by OldNGrey View Post
    From my simple testing , it has.
    Display Prices with Tax = false; Display Prices with Tax in Admin = false ; Tax rate (GST) = 10%

    Item $1.60 each; add ten to cart; price displayed is $14.55;
    Step 2 of 3 display payment information: Sub-Total = $14.55; Tax = $1.45; Total = $16.00
    Most excellent! Thanks for the confirmation.

  6. #16
    Join Date
    Apr 2008
    Location
    Qld, Australia
    Posts
    257
    Plugin Contributions
    6

    Default Re: Different Total Displayed

    Quote Originally Posted by lat9 View Post
    If anyone has the time to see if the current master branch in the Zen Cart GitHub (https://github.com/zencart/zencart) has corrected this issue, I'd appreciate it. There were a slew of changes in the pricing calculations (most of them hovering around the addition of Wholesale Pricing) that I believe have corrected these issues.
    The latest changes (#6017) show the correct Sub-Total but the Tax is incorrect.

    Settings: Display Prices with Tax = true; Display Prices with Tax in Admin = true; Tax (GST) = 10%; Basis of Product Tax = Shipping

    Item is $1.60; add 10 to cart; Sub-total = $16.00
    Screen 2 of 3 - Payment information: Sub-Total = $16.00; Tax = $1.50; Total = $16.00.
    Tax should be $1.45. [ $16.00 / 11 * 10 = 14.55 (14.5454 round to 2 places)]
    OldNGrey
    ZC158a PHP 8.2.15
    MySQL 10.6.16-MariaDB

  7. #17
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,498
    Plugin Contributions
    88

    Default Re: Different Total Displayed

    Quote Originally Posted by OldNGrey View Post
    The latest changes (#6017) show the correct Sub-Total but the Tax is incorrect.

    Settings: Display Prices with Tax = true; Display Prices with Tax in Admin = true; Tax (GST) = 10%; Basis of Product Tax = Shipping

    Item is $1.60; add 10 to cart; Sub-total = $16.00
    Screen 2 of 3 - Payment information: Sub-Total = $16.00; Tax = $1.50; Total = $16.00.
    Tax should be $1.45. [ $16.00 / 11 * 10 = 14.55 (14.5454 round to 2 places)]
    Thanks for that; I'll get that modeled locally and see what I can do to correct.

    GitHub issue opened: https://github.com/zencart/zencart/issues/6094

  8. #18
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,498
    Plugin Contributions
    88

    Default Re: Different Total Displayed

    Quote Originally Posted by lat9 View Post
    Thanks for that; I'll get that modeled locally and see what I can do to correct.

    GitHub issue opened: https://github.com/zencart/zencart/issues/6094
    GitHub PR submitted: https://github.com/zencart/zencart/pull/6141

  9. #19
    Join Date
    Apr 2008
    Location
    Qld, Australia
    Posts
    257
    Plugin Contributions
    6

    Default Re: Different Total Displayed

    Quote Originally Posted by lat9 View Post
    Thanks for that; I'll get that modeled locally and see what I can do to correct.

    GitHub issue opened: https://github.com/zencart/zencart/issues/6094
    Thanks lat9. That works with all my testing.
    Is far more accurate than it has been in the past.

    There can be some minor variances which I think come from the original calculation of the product price. When the gross price is entered, ZC manipulates the Net price to its own calculation. The displayed price may not be the same as the stored price eg
    Product Price
    Entered stored(Gross) (Net) displayed as
    5.00 5.0001 4.5455 5.00
    4.999 4.999 4.5445 5.00
    4.998 4.998 4.5436 5.00
    5.001 5.001 4.5464 5.00

    This is a different issue.
    OldNGrey
    ZC158a PHP 8.2.15
    MySQL 10.6.16-MariaDB

  10. #20
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,498
    Plugin Contributions
    88

    Default Re: Different Total Displayed

    Quote Originally Posted by todoonada View Post
    On Zen Cart 1.5.7d and 1.5.8.
    I recently set up taxes for all products. Before I did not do this and this problem did not exist.

    I have a product with a net price of 945.4545.
    There is 10% tax, so the gross price is 1040.
    There is no decimal for the currency I use.

    When I put one of this item in the cart, the price displayed during checkout, email and invoice is 1040.
    When I put two of those products in the cart, the price in the shopping cart is 2080, at the checkout_payment, checkout_confirmation, mail and invoice it is 2079. Obviously this is wrong and it should be 2080.

    Anybody has any idea how to fix this?
    @todonada, have you tested to see if the code in the current GitHub master branch (https://github.com/zencart/zencart) corrects this issue? I'm pretty sure that this was one of the test cases I used when making those pricing-calculation updates.

 

 
Page 2 of 6 FirstFirst 1234 ... LastLast

Similar Threads

  1. Replies: 5
    Last Post: 3 Apr 2020, 07:53 PM
  2. v151 Site that displayed different templates.
    By Malaperth in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Feb 2014, 07:38 PM
  3. v151 order total different from cart total
    By s_p_ike in forum Bug Reports
    Replies: 9
    Last Post: 9 Dec 2012, 09:29 AM
  4. Different Product Listing styles displayed
    By skelly100 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 31 Dec 2009, 11:33 PM
  5. Free shipping for Different sales total for different zones
    By francesca_ph in forum Built-in Shipping and Payment Modules
    Replies: 20
    Last Post: 30 Dec 2008, 05:43 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