I have magento2 installed on local machine the addto cart works in mozilla on product page how ever its extremely slow and on chrome it shows adding after addto cart but it does not add at all, there is no error in console but it does not add to cart.

  • maybe do you use localhost as domain name?
    – KAndy
    Commented May 23, 2016 at 17:55

1 Answer 1


You have to change your domainname localhost to

Its basically create problem in magento 2.

you have to change your already existing domain name from core_config_data table with path value is web/unsecure/base_url and web/secure/base_url to

Remove var folder from root and run upgrade command.


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.