Skip navigation
jjsand28
Currently Being Moderated

Cart Problem

Mar 4, 2007 10:15 AM

Hello all,

I have a shopping cart that I'm working on but i had a question that I can't seem to find the answer to or ! am just not understanding the docs.

I have an array with structures like so:

session.cart .productID
session.cart
.qty
etc...

Right now instead of getting another qty added to the cart (when they add one) i am getting a duplicate entry with all the same info, in other words it creates two identical items in different structures.

Is there an find tag or do I have to manually loop over the structures to find a match so the app knows whether to add a new product id or just increse the qty.

thank you in advance
 

More Like This

  • Retrieving data ...

Bookmarked By (0)