Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2004
    Posts
    745
    Plugin Contributions
    4

    Default [fixed] Missing minor tax code correction

    Over the past days since 1.3.02 has been out I have incorporated many forum suggested bug fixes. I noticed during the file merge upgrading to 1.3.5 the following but fix was not included in includes/classes/orders.php

    1.3.5 source:

    Code:
    $current_row_tax_exc = zen_round(($products_tax / 100) * $shown_price, $currencies->currencies[$this->info['currency']]['decimal_places']);
    Should be IMHO:

    Code:
    $current_row_tax_exc = zen_round((((($products_tax * $shown_price)+.05) / 100)), $currencies->currencies[$this->info['currency']]['decimal_places']);
    Corrects tax rounding issue which causes minor tax miscalculation.

    Jeff

  2. #2
    Join Date
    Sep 2004
    Posts
    745
    Plugin Contributions
    4

    Default Re: Missing minor tax code correction

    Ignore previous post, the current code though implemented differently produces the same (correct) result, so this bug *is* fixed.

    Thanks,
    Jeff

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

    Default Re: Missing minor tax code correction

    Thanks for the update ...
    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!

 

 

Similar Threads

  1. v155 [Done v1.6.0] Countries, minor changes and missing entries
    By torvista in forum Bug Reports
    Replies: 2
    Last Post: 20 Jun 2016, 08:49 AM
  2. Replies: 0
    Last Post: 29 Sep 2012, 09:05 AM
  3. v150 [Fixed v1.5.1] Missing documentation file
    By lat9 in forum Bug Reports
    Replies: 1
    Last Post: 1 Mar 2012, 12:31 AM

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