Share via E-Mail
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Updating quantity in cart



amir
member
Posts: 4


On my site, I have a drop down list that specifies the quantity of the item to be added to cart, but I am running into a problem: say the user selects 5 from the drop-down then adds to cart, then selects 2 and adds the same item to cart again, the existing item's quantity in cart doesn't get updated (it still shows as 5)

Is there a way to have the "add to cart" button update the quantity in cart, or remove the item and re-insert with the new quantity?


#
POSTED ON: December 15, 2011 @ 01:10 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4346


Add to Cart buttons cannot change the quantity of an item that has already been added to the cart -- e.g., even a standard Add to Cart button for a given item clicked twice would not set qty=2 for that item in the cart. Quantity is normally specified by the buyer in the cart, rather than before clicking the Add to Cart button. All of this is nearly universal "industry standard" behavior for online shopping carts, which buyers should already be familiar with from shopping on other sites. This prevents accidental mis-ordering such as when the buyer doesn't realize they'd already added an item to their cart.


#
POSTED ON: December 15, 2011 @ 13:56 GMT -7


You must be logged in to make a post. Please click here to login.

30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam