This commit is contained in:
Michael RICOIS 2017-08-09 17:00:31 +02:00
parent 96ec73bd47
commit c44ac99979

View File

@ -324,9 +324,9 @@ class ProductControllerCore extends FrontController
if (Product::$_taxCalculationMethod == PS_TAX_INC && (int)Configuration::get('PS_TAX')) {
$ecotax_tax_amount = Tools::ps_round($this->product->ecotax * (1 + $ecotax_rate / 100), 2);
}
else {
$ecotax_tax_amount = Tools::ps_round($this->product->ecotax, 2);
}
else {
$ecotax_tax_amount = Tools::ps_round($this->product->ecotax, 2);
}
$id_currency = (int)$this->context->cookie->id_currency;
$id_product = (int)$this->product->id;