Magento – Add to Cart is not working – Magento 2.2 – with Browser: Chrome v61.0

addtocartmagento2.2.0

I am having a problem with, Add To Cart on both Listing page and Product page.

When I am adding a product to the cart from listing page, it's showing the cart page with no products. (see the below screen grab).

enter image description here

While adding the product to the cart from the Product page, it's showing same page in Ajax response!

Working only in Firefox

This issue I found on the local server and using localhost instance in the browser

Best Answer

change
web/unsecure/base_url
web/secure/base_url
From http://localhost/magento2community/
to http://127.0.0.1/magento2community/
Related Topic