Add to Cart Buttons Maintaining Multiple Carts
insiteadvice
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Dec-02-2010
08:47 AM
I'm having a problem with Add to Cart buttons. Let's say I have 4 products (A, B, C, and D), and I do the following:
- I click A's Add to Cart button. A new tab (from now on referred to as "cart tab") opens displaying my cart with one A, just like it should.
- I click B's Add to Cart button. The cart tab refreshes and A is gone, but B is in there.
- I click C's Add to Cart button. The cart tab refreshes and B is gone, but A and C are in there.
- I click D's Add to Cart button. The cart tab refreshes and A and C are gone, but B and D are in there.
There are over 30 products (most with options), and I haven't checked all of them, so I don't know if there are more than two carts maintained.
I compared the code for the Add to Cart buttons for a handful of the items; aside from names and prices (and sometimes options) the only difference is the value of the value attribute for the hosted_button_id:
<input name="hosted_button_id" type="hidden" value="1234XXX" />
1 REPLY 1
lkessler
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar-07-2011
04:21 PM
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Modify Subscription Issue in Merchant services (Archive)
- Seriously, I can't print a shipping label to a CONFIRMED ADDRESS? in Shipping (Archive)
- Donate Button Not working in Merchant services (Archive)
- multiple text fields associated with one button in Merchant services (Archive)
- Buy it Now button with option to offer discount for multiples purchased of the same item in Merchant services (Archive)