2

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.

Keyur Shah
18.1k6 gold badges68 silver badges80 bronze badges
asked Jan 28, 2018 at 12:29
2
  • Are you getting any JS errors in browser console? 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

2

I solve this problem by change from localhost to 127.0.0.1

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

answered Jan 29, 2018 at 4:16
1
  • 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

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.