Dear all,
I installed Magento 2 on localhost via XAMPP.
After installing Magento 2 on localhost,
I may encounter some crashing layout errors.
Follow this URL helped me.
https://www.magestore.com/magento-2-tutorial/common-error-when-installing-localhost-xampp/
But add to cart button not working
There is no reaction even if the button is pushed
The display of the button changes from "add to cart" to "adding", and not in the cart
So by this post I am hoping that someone spots where our problem is? :-)
Thank you for replying.
Browser is google chrome.
Even if you push the button, it is still written "JQMIGRATE: Logging is active".
Console error probably has not happened.
@Masanori58 Probably you have keep your url name in localhost as localhost. For chrome localhost is not working as url so you need to keep your url as http://127.0.0.1 instead of localhost.
Go to database, Find core_config_data table,
set,
web/unsecure/base_url as http://127.0.0.1/{projectname} web/secure/base_url as http://127.0.0.1/{projectname}
Remove var folder from root clear cache and check again.
if issue solved, Click kudos/accept as solutions.