[-] FO : Specific price + id_cart
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11568 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
ec93df4efa
commit
b907210950
1 file changed
+1
-1
@@ -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];
|
||||||
|
|||||||
Reference in new issue
Block a user