From ad27dbe8d16614fd8864d325d27d3faf841bec2e Mon Sep 17 00:00:00 2001 From: MustangZhong Date: Wed, 16 Oct 2013 10:14:14 +0800 Subject: [PATCH] Update Cart.php The field "id_address_delivery" is missing in getWsCartRows. Since id_address_delivery is required in the web service field definition. --- classes/Cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Cart.php b/classes/Cart.php index d363905dd..f38015171 100644 --- a/classes/Cart.php +++ b/classes/Cart.php @@ -3219,7 +3219,7 @@ class CartCore extends ObjectModel public function getWsCartRows() { return Db::getInstance()->executeS(' - SELECT id_product, id_product_attribute, quantity + SELECT id_product, id_product_attribute, quantity, id_address_delivery FROM `'._DB_PREFIX_.'cart_product` WHERE id_cart = '.(int)$this->id.' AND id_shop = '.(int)Context::getContext()->shop->id );