CS
This commit is contained in:
parent
96ec73bd47
commit
c44ac99979
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user