Reply to topic
Highlighted
insiteadvice New Community Member
New Community Member
Posts: 1
Kudos: 0
Accepted Solutions: 0

Add to Cart Buttons Maintaining Multiple Carts

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:

 

 

  1. 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.
  2. I click B's Add to Cart button. The cart tab refreshes and A is gone, but B is in there.
  3. I click C's Add to Cart button. The cart tab refreshes and B is gone, but A and C are in there.
  4. 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" />
0 Kudos
lkessler New Community Member
New Community Member
Posts: 2
Kudos: 0
Accepted Solutions: 0

Re: Add to Cart Buttons Maintaining Multiple Carts

 
0 Kudos
Announcements
If you are using Internet Explorer 8 take note. We’ll upgrade our communities in July and if you are using IE8 you won’t have a fully functional experience. Please upgrade your browser to Internet Explorer 9, 10 or 11. There will be no changes to your community experience if you are using IE 9, 10, 11, Chrome, Firefox or Safari.
Welcome, guest
Top Kudoed Authors
User Kudos Count
1