I have an e-commerce site. In that, I have created product listing page using views. I have added add to cart field in the view, so the every product in the view will have add to cart button. I have enabled views caching.

When I click on add to cart button for first time it adds the product to cart. After that product is not added to cart it just reloads the page and doesn't throw any error.

After searching I found the solution https://stackoverflow.com/questions/34732300/caching-product-display-with-display-cache-and-still-be-able-to-add-products but it is not working. Kindly help me.

  • have you checked the products in cart? does the number of item for that product incremented? – Vishal Kumar Apr 12 '16 at 12:16

Go to views of the page that contain add to cart button, in advanced and in caching you find none and time based, tick none and the problem will resolved.

  • 3
    To improve your answer, could you add some formatting (like an unordered list) and the actual urls? If possible, add some screenshots as well. – Wim Mostrey Jan 13 '17 at 7:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.