[-] FO: fix display of quantity discount prices

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16299 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2012-07-10 09:09:15 +00:00
parent 8abbcecc54
commit f5a192e27e
2 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -543,7 +543,7 @@ class ProductControllerCore extends FrontController
foreach ($specific_prices as $key => &$row)
{
$row['quantity'] = &$row['from_quantity'];
if ($row['price'] != 0) // The price may be directly set
if ($row['price'] >= 0) // The price may be directly set
{
$cur_price = (Product::$_taxCalculationMethod == PS_TAX_EXC ? $row['price'] : $row['price'] * (1 + $tax_rate / 100));