From c197093143a722f8f91935027a2ee41f3adefc88 Mon Sep 17 00:00:00 2001 From: bMancone Date: Thu, 22 Dec 2011 15:04:26 +0000 Subject: [PATCH] // Fixed getCartProducts() git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11615 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/order/Order.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/order/Order.php b/classes/order/Order.php index f4d049de9..70c273533 100644 --- a/classes/order/Order.php +++ b/classes/order/Order.php @@ -311,7 +311,7 @@ class OrderCore extends ObjectModel .(isset($product['id_customization']) ? $product['id_customization'] : '0'); $product_list = array(); - foreach ($cart->getProducts() as $product) + foreach ($this->getProducts() as $product) { $key = $this->id_address_delivery.'_' .$product['id_product'].'_' @@ -1482,7 +1482,7 @@ class OrderCore extends ObjectModel return Tools::ps_round($total, 2); } - + /** * Get the sum of total_paid_tax_incl of the orders with similar reference *