Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shopping cart cookies revisited.....

Status
Not open for further replies.

JimJx

Technical User
Feb 16, 2001
202
US
I have a shopping cart that is working great, except there are 2 things I want to change (more than likely the same function would work for both of these) and am not sure how to go about it.....

1) If a shopper adds an item to the cart, then adds another quantity of the same item, it shows 2 times instead of updating the cookie. Is there an easy way to handle this?

2) On the checkout page, I would like the shopper to be able to update the quantity there also through basicall an input field that could either work with an onChange or with an update button.

My code is pretty straight forward, but this is something I have never had to work with before and any help would be appreciated. If anyone could just give me a general push in the right direction, or a piece of sample code, I can probably stumble my way from there. :)

Thanks in advance,
Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top