If someone want to add a product to the cart from the list view it works fine. But from a product detail page the Error appears:

We can't add this item to your shopping cart right now.

  • check in your logs file, are you getting any error
    – BornCoder
    Commented Feb 8, 2017 at 9:05
  • Please see the exception log in the var/log directory add exception in your question Commented Feb 8, 2017 at 9:08
  • We need the error/exception, please go with your logs and print the exception
    – Ajay Kumar
    Commented Dec 18, 2017 at 14:54

3 Answers 3


I have experienced very same situation, and it was because of 2 things mainly.

  1. The write permission for the generated folder.
  2. Still there was an issue with folder owner. The generated folder was under the ownership of root. When I changed that to Apache user, everything went smooth.
  • This was issue on my local, running mage 2.3
    – Sam
    Commented Oct 3, 2021 at 16:24
  1. check your error by firebug
  2. check your error on var/log if can't see error on step 1
  3. check data post to server when adding product to cart if can't see error on step 2 (make sure data post to server when adding new product is enought)
  • Delete Or Inactive Cart Price Rules from Admin Commented May 19, 2020 at 11:56

This error comes because of caching problem. So, enable the cache using

"php bin/magento cache:enable"

then it will work.

  • this is not a solution Commented Jun 1, 2017 at 22:36

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