- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
add to cart button not working
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? :-)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: add to cart button not working
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: add to cart button not working
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: add to cart button not working
@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.
Magento 2 Blogs/Tutorial