[-] FO : Removed deprecated function Tax::getProductTaxRate

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8174 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fBrignoli
2011-08-24 13:40:41 +00:00
parent acee5463dd
commit 0c68e37e40
+1 -1
View File
@@ -335,7 +335,7 @@ class ProductControllerCore extends FrontController
}
$this->context->smarty->assign(array(
'no_tax' => Tax::excludeTaxeOption() OR !Tax::getProductTaxRate((int)$this->product->id, $this->context->cart->{Configuration::get('PS_TAX_ADDRESS_TYPE')}),
'no_tax' => Tax::excludeTaxeOption() OR !$this->product->getTaxesRate(new Address($this->context->cart->{Configuration::get('PS_TAX_ADDRESS_TYPE')})),
'customizationFields' => ($this->product->customizable) ? $this->product->getCustomizationFields($this->context->language->id) : false,
));