summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries/cart.rst
diff options
context:
space:
mode:
authorAndrew Seymour <commit@andrewseymour.co.uk>2011-12-14 10:36:39 +0100
committerAndrew Seymour <commit@andrewseymour.co.uk>2011-12-14 10:36:39 +0100
commitf75ec11d7ed0592f930dd3a090db7c1c6d251eed (patch)
treefbff3328ac7e049bc6ac07c09a8b4bb59b3d3266 /user_guide_src/source/libraries/cart.rst
parent17aebce8e06fae0edf1d54cf6823f1b8f48924c0 (diff)
Added in a remove item from cart function to save the "hacky" method of updating a product with 0 quantity, updated the changelog to reflect and to be neater and more readable surrounding the changes of the Cart library
Diffstat (limited to 'user_guide_src/source/libraries/cart.rst')
-rw-r--r--user_guide_src/source/libraries/cart.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/user_guide_src/source/libraries/cart.rst b/user_guide_src/source/libraries/cart.rst
index a1e042ef2..fbf777884 100644
--- a/user_guide_src/source/libraries/cart.rst
+++ b/user_guide_src/source/libraries/cart.rst
@@ -256,6 +256,11 @@ $this->cart->update();
Permits you to update items in the shopping cart, as outlined above.
+$this->cart->remove(rowid);
+**********************
+
+Allows you to remove an item from the shopping cart by passing it the rowid.
+
$this->cart->total();
*********************