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

[eluser]mrbinky3000[/eluser]
Answered my own question. If you press the button over and over again, insert() replaces the existing row with the new one. So, the quantity remains at 1 item.

In order to get my desired outcome (increasing the quantity by one) I'm going to have to do some sort of detection. Working on that now. Will post results.


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