Welcome Guest, Not a member yet? Register   Sign In
A question about CI cart
#6

[eluser]WanWizard[/eluser]
If you insert a cart item, the internal item key is calculated using the item ID and the options array. If the calculated key already exists, it will be overwritten.

If you want to update the quantity, use the update() method. It still doesn't allow you to increment the quantity, you'll have to extend the Cart class and add an increment method (or modify the update method).


Messages In This Thread
A question about CI cart - by El Forum - 09-28-2010, 08:35 AM
A question about CI cart - by El Forum - 09-28-2010, 08:56 AM
A question about CI cart - by El Forum - 09-28-2010, 09:04 AM
A question about CI cart - by El Forum - 09-28-2010, 11:15 AM
A question about CI cart - by El Forum - 09-29-2010, 01:40 AM
A question about CI cart - by El Forum - 09-29-2010, 02:18 AM
A question about CI cart - by El Forum - 09-29-2010, 09:04 AM
A question about CI cart - by El Forum - 09-29-2010, 10:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB