From 4321cb0912ad24d78b851a9f39c688cab0341c96 Mon Sep 17 00:00:00 2001 From: Ahmad Anbar Date: Fri, 14 Mar 2014 15:21:13 +0200 Subject: Removed the requirment of quantity to trigger cart update. --- user_guide_src/source/libraries/cart.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'user_guide_src/source/libraries') diff --git a/user_guide_src/source/libraries/cart.rst b/user_guide_src/source/libraries/cart.rst index d7d495967..0ccb6e2f6 100644 --- a/user_guide_src/source/libraries/cart.rst +++ b/user_guide_src/source/libraries/cart.rst @@ -205,7 +205,7 @@ Updating The Cart ================= To update the information in your cart, you must pass an array -containing the Row ID and quantity to the ``$this->cart->update()`` +containing the Row ID and one or more pre-defined properties to the ``$this->cart->update()`` method. .. note:: If the quantity is set to zero, the item will be removed from @@ -318,7 +318,7 @@ Class Reference This method permits changing the properties of a given item. Typically it is called from the "view cart" page if a user makes changes to the quantity before checkout. That array must contain the rowid - and qty for each item. + for each item. .. method:: remove($rowid) -- cgit v1.2.3-24-g4f1b From 2702a3b647785c06bf21ba0b6b36cacef2f8ee1f Mon Sep 17 00:00:00 2001 From: Ahmad Anbar Date: Fri, 14 Mar 2014 16:53:44 +0200 Subject: Fixed coding style & line length. --- user_guide_src/source/libraries/cart.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'user_guide_src/source/libraries') diff --git a/user_guide_src/source/libraries/cart.rst b/user_guide_src/source/libraries/cart.rst index 0ccb6e2f6..bedea4dbf 100644 --- a/user_guide_src/source/libraries/cart.rst +++ b/user_guide_src/source/libraries/cart.rst @@ -205,8 +205,8 @@ Updating The Cart ================= To update the information in your cart, you must pass an array -containing the Row ID and one or more pre-defined properties to the ``$this->cart->update()`` -method. +containing the Row ID and one or more pre-defined properties to the +``$this->cart->update()`` method. .. note:: If the quantity is set to zero, the item will be removed from the cart. -- cgit v1.2.3-24-g4f1b