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.
I believe that enabling Block Cache (Admin>> Performance: Block Cache) breaks shopping cart and prevents users from checking out. With Block Caching enabled, you can add items to the cart, the little ajax thing correctly reports n-items in the shopping cart, but when you go to view your shopping cart, the site reports no items are there. I disabled Block Cache, and it worked. (Again, this is for anonymous users only)
Comments
Comment #1
rfayComment #2
rfayIn a casual test I was unable to recreate this. Perhaps you can give more information.
What I did:
Disabled block cache.
Shopped as an anonymous user, adding several items to the cart.
Went to View cart
Checked out at Amazon.
Please give me detailed instructions on how to recreate. I also suggest that you try this on a clean install of Drupal if that's possible, so that other modules might not be involved.
Comment #3
rfayBut see #661634: Cart page (amazon_store/cart) cached for anonymous users
Page caching was indeed breaking the cart page for anonymous users.
I'm marking this as duplicate, assuming this was your issue. But reopen it if I was wrong.
Comment #4
texas-bronius CreditAttribution: texas-bronius commentedSorry for the silence-- yes, the other reported issue appears to be the same, and I'm glad to see the patch :) thanks!