2

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.

Teja Bhagavan Kollepara
  • 3,816
  • 5
  • 32
  • 69
user50000
  • 31
  • 1
  • 1
  • 2

3 Answers3

4

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.
Teja Bhagavan Kollepara
  • 3,816
  • 5
  • 32
  • 69
Duke
  • 452
  • 7
  • 20
0
  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)
Magetop E-commerce
  • 632
  • 1
  • 5
  • 26
-3

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

"php bin/magento cache:enable"

then it will work.

Teja Bhagavan Kollepara
  • 3,816
  • 5
  • 32
  • 69