I've upgraded my M2 CE from 2.1.3 to 2.1.11. Everything seems to be working, but I can't add product to cart. From any location on the website. There's nothing is reports nor log files.

When I click ADD TO CART, it's adding it forever. I get a blank popup where it should say that my product is added to shopping cart, and loader over the shopping cart icon is just hanging in an endless loop.

I've tried several different solutions I've found from people having the same issue, but nothing seem to work.

Please help, this is a huge showstopper for me.

  • Are you getting any JS errors in browser console?
    – Lez
    Commented Jan 28, 2018 at 13:22
  • Can you re-deploy the site again and check with clear your browser cache Commented Jan 28, 2018 at 15:48

1 Answer 1


I solve this problem by change from localhost to

Please try this: Dashboard->Stores->Configuration->General->Web. At Base URLs tab, change the value in Base URL field from localhost to And do the same with Base URLs (Secure) tab

  • Hi Nam This was already in the database. Issues required way too deep digging, and time, which wasn't planned at all. So the upgrade is revoked, for the time being. Thanks. Regards, Nemanja. Commented Feb 14, 2018 at 12:25

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.