diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-08-13 18:28:45 +0200 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-08-13 18:28:45 +0200 |
commit | 3cf2715501be298ef00166d57a4df39829aa2c09 (patch) | |
tree | 9a67222945f8484c3130ec56ab6cc8ef2575ec11 /user_guide/libraries/cart.html | |
parent | 6f1b3841b6f660dfbaa5e00df456d793e67fe60f (diff) | |
parent | c4f024641ab69ed9cce62a2864e47e060b81048b (diff) |
Merge branch 'develop' of ellislab.beanstalkapp.com:/codeigniter into develop
Diffstat (limited to 'user_guide/libraries/cart.html')
-rw-r--r-- | user_guide/libraries/cart.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/user_guide/libraries/cart.html b/user_guide/libraries/cart.html index 81b43e363..2e2beed9c 100644 --- a/user_guide/libraries/cart.html +++ b/user_guide/libraries/cart.html @@ -109,7 +109,8 @@ It is intended to be used in cases where your product has options associated wit <li><strong>options</strong> - Any additional attributes that are needed to identify the product. These must be passed via an array. </ul> -<p>In addition to the five indexes above, there are two reserved words: <dfn>rowid</dfn> and <dfn>subtotal</dfn>. These are used internally by the Cart class, so please do NOT use those words as index names when inserting data into the cart.</p> +<p>In addition to the five indexes above, there are two reserved words: <dfn>rowid</dfn> and <dfn>subtotal</dfn>. These are used internally by the Cart class, so +please do NOT use those words as index names when inserting data into the cart.</p> <p>Your array may contain additional data. Anything you include in your array will be stored in the session. However, it is best to standardize your data among all your products in order to make displaying the information in a table easier.</p> @@ -264,7 +265,7 @@ $this->cart->update($data); </code> -<p><strong>What is a Row ID?</strong> The <kbd>row ID</kbd> is a unique identifier that is generated by the cart code when an item is added to the cart. The reason a +<p><strong>What is a Row ID?</strong> The <kbd>row ID</kbd> is a unique identifier that is generated by the cart code when an item is added to the cart. The reason a unique ID is created is so that identical products with different options can be managed by the cart.</p> <p>For example, let's say someone buys two identical t-shirts (same product ID), but in different sizes. The product ID (and other attributes) will be |