Magento 1.6 rounds up prices badly in product list and product page

If you also experienced this problem on Magento 1.6 version, you can easily solve it by editing the Calculation.php file

[php]app/code/core/Mage/Tax/Model/Calculation.php Line 466[/php].

changing from

[php] public function calcTaxAmount($price, $taxRate, $priceIncludeTax=false, $round=true)[/php]

a
[php]public function calcTaxAmount($price, $taxRate, $priceIncludeTax=false, $round=false)[/php]

I have personally tested it and it worked correctly for me.Have you also encountered this problem?

I went to:

app/code/core/Mage/Tax/Model/Calculation.php Line 466

and changed:
FROM
public function calcTaxAmount($price, $taxRate, $priceIncludeTax=false, $round=true)

TO
public function calcTaxAmount($price, $taxRate, $priceIncludeTax=false, $round=false)

I'm using 1.6.0 and it worked for me.

Did you like this article? Vote for it!

Back to top