jgullstr Posted August 15, 2013 Share Posted August 15, 2013 (edited) Hello, Heads up for 1.4.11 users (since development has stopped): There's a major bug in PS 1.4.11 which causes price calculation errors if you display prices with tax. When calculating price with tax, taxes are added to the already rounded tax-free price. (This causes erroneus prices in i.a. order confirmations and invoices) Solution: /classes/Order.php switch line #446 and #447 i.e. $row['product_price_wt'] = Tools::ps_round($row['product_price'] * (1 + $row['tax_rate'] / 100), 2); $row['product_price'] = Tools::ps_round($row['product_price'], 2); Edited August 16, 2013 by jgullstr (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now