0

Facing issuse 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.

3
  • Hello, we need more information, logs, ajax errors ... Mar 25, 2022 at 18:19
  • Hi Manjit, Share log details Mar 27, 2022 at 6:54
  • @ZahidH thanks for help its resolved there are issue related to exact location for var/cache and main.CRITICAL: The element "product.info.options" can't have a child because "product.info.options" already has a child with alias "date
    – Manjit
    Mar 28, 2022 at 7:23

1 Answer 1

0

I think this issue occur due to permission denied.

Give permission to generated folder by following commands.

sudo chown -R www-data:www-data /var/www/html/magento2

sudo chmod -R 755 /var/www/html/magento

I think it work perfectly!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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