Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I created a Views block with products from a specific category (called "A La Carte Products"), and I am displaying that block on mysite.com/cart. When the Add To Cart button for one of those products in the block is clicked, the page usually just reloads without adding that product to the cart. It does add the product to the cart sometimes... maybe one out of every 15 attempts. What might cause this type of issue, and how can it be fixed?
Thanks!
Comments
Comment #1
hockey2112 CreditAttribution: hockey2112 commentedHere is an export of my View:
Comment #2
hockey2112 CreditAttribution: hockey2112 commentedComment #3
TR CreditAttribution: TR commentedDuplicate of #391534: Fails to add to cart when using views global:random display.
Essentially, a Core/Views problem when using the Drupal Form API within a View that uses "Global: Random" as a sort criterion.
Comment #4
hockey2112 CreditAttribution: hockey2112 commentedThanks, TR.