Magento 1.6 arrotonda male i prezzi nella lista prodotti e nella pagina prodotto

Se anche voi avete riscontrato questo problema sulla versione di Magento 1.6, potete risolvere facilmente modificando il file Calculation.php

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

cambiando da

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

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

L’ho provato personalmente e per me ha  funzionato correttamente.Avete riscontrato anche voi questo problema?

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.

Ti è piaciuto questo articolo? Votalo!

Torna in alto