[-] FO : Specific price + id_cart

This commit is contained in:
fBrignoli
2011-12-22 09:54:50 +00:00
parent 607d6f391e
commit fc5da625ac
+1 -1
View File
@@ -206,7 +206,7 @@ class SpecificPriceCore extends ObjectModel
AND AND
(`to` = \'0000-00-00 00:00:00\' OR \''.$now.'\' <= `to`) (`to` = \'0000-00-00 00:00:00\' OR \''.$now.'\' <= `to`)
) )
AND id_cart='.(int)$id_cart.' AND id_cart IN (0, '.(int)$id_cart.')
ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `score` DESC'); ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `score` DESC');
} }
return self::$_specificPriceCache[$key]; return self::$_specificPriceCache[$key];