Closed (fixed)
Project:
Ubercart
Version:
7.x-3.11
Component:
Cart/checkout
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2018 at 20:02 UTC
Updated:
26 Apr 2018 at 22:54 UTC
Jump to comment: Most recent
Comments
Comment #2
tr commentedHow did you create that page with the two products? Is that the Ubercart catalog, a custom View, or something else? Because there are two add-to-cart buttons (two forms) on that page, the markup needs to distinguish between them so the submit handler can figure out which button was pressed. This is done properly by Ubercart out of the box, but if you're building your page with Panels or something like that you may need to ensure that the add-to-cart forms have the correct id attached to them.
If you go to /node on your site, you should see a list of all node (including product) teasers - you should see multiple products on that page. Do the add-to-cart buttons on that page work properly for you? They should.
Comment #3
Stealth commentedI went to /node and added some items and they added correctly. the add to cart button to the right is a views slide show for best sellers should I get rid of the views slide show? TR Thank you for the response. I think I resolved the issue, in panels node: sell price, I disabled simple cache, and everything seems to be working. Thank you TR for Your time.
Comment #4
tr commentedAlso be aware of #391534: Fails to add to cart when using views global:random display
Drupal forms (such as the add-to-cart button/form) don't work properly in random Views. Perhaps that's also the bug you're seeing with slide show.