From 721a108398f2a85c76a130aae9538dcdc148e5ca Mon Sep 17 00:00:00 2001 From: rMalie Date: Thu, 12 Jan 2012 14:55:50 +0000 Subject: [PATCH] // Fix retrocompatibility with themes 1.4 -> 1.5 --- classes/Cart.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/classes/Cart.php b/classes/Cart.php index 550790196..8cb293085 100644 --- a/classes/Cart.php +++ b/classes/Cart.php @@ -2497,7 +2497,10 @@ class CartCore extends ObjectModel 'total_price' => $this->getOrderTotal(), 'total_tax' => $total_tax, 'total_price_without_tax' => $this->getOrderTotal(false), - 'is_multi_address_delivery' => $this->isMultiAddressDelivery()); + 'is_multi_address_delivery' => $this->isMultiAddressDelivery(), + 'free_ship' => 0, + 'carrier' => new Carrier($this->id_carrier, $id_lang), + ); } public function checkQuantities()