[*] FO : display initial price in the cart when a specific price is applied to a product

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8604 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2011-09-15 12:37:44 +00:00
parent 70a130854c
commit 34c9336b37
6 changed files with 45 additions and 12 deletions
+2 -1
View File
@@ -484,6 +484,7 @@ class CartCore extends ObjectModel
$row = array_merge($row, $row2);
$row['reduction_applies'] = ($specificPriceOutput AND (float)$specificPriceOutput['reduction']);
$row['quantity_discount_applies'] = ($specificPriceOutput AND $row['cart_quantity'] >= (int)$specificPriceOutput['from_quantity']);
$row['id_image'] = Product::defineProductImage($row,$this->id_lang);
$row['allow_oosp'] = Product::isAvailableWhenOutOfStock($row['out_of_stock']);
$row['features'] = Product::getFeaturesStatic((int)$row['id_product']);
@@ -1448,7 +1449,7 @@ class CartCore extends ObjectModel
*
* @return array Cart details
*/
function getSummaryDetails($id_lang = null)
public function getSummaryDetails($id_lang = null)
{
if (!$id_lang)
$id_lang = Context::getContext()->language->id;