Welcome Guest, Not a member yet? Register   Sign In
Cart class insertion question.
#1

[eluser]mrbinky3000[/eluser]
I have a question about how the cart class works.

If I have a button on my website that uses ajax to add an item to the cart.

What happens if I press that button multiple times and call the same routine, with the same arguments, to add the same product to the cart multiple times? Does each successive call to insert() increase the quantity by one? That is my desired outcome. Or, does it insert multiple rows of the same order to the cart?


Messages In This Thread
Cart class insertion question. - by El Forum - 10-28-2010, 08:02 PM
Cart class insertion question. - by El Forum - 10-29-2010, 08:51 AM
Cart class insertion question. - by El Forum - 11-09-2010, 09:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB