2

I've just changed cookie path settings in magento admin. After this, on storefront, I'm unable to login as customer or on checkout page (on checkout page it redirects to empty cart). However if I open another browser everything works fine as it creates new cookie. if I change the cookie path to previous, it works fine. I want that, on cookie path change, it immediately reflect on storefront as we have to change the cookie path on live environment and those issues are not good for customer/visitor to face. Is there any solution?

2
  • Did you clean all cookies, caches from your browser? – Sukumar Gorai May 17 '18 at 9:08
  • its impractical to ask visitors to go into browser settings and manually delete website related cookies. most of em don't know it and won't understand hence not that user friendly. – R T May 17 '18 at 9:13
3

I think you need to reduce cookies lifetime. then you have little impact on each customer. And after some days make changes in cookies path So customer old cookies will expire asap after changes. Just make sure frontend cookies are not duplicating by doing this.

3
  • It was a very annoying thing but this solution worked like a charm. – Umar Yousaf May 18 '18 at 6:29
  • applying this solution works perfectly. existing cookie expire time was updated and was able to change cookie settings without any customer facing logout or unable to place order. – R T May 18 '18 at 7:23
  • Update: This solution worked for some but for some it didn't. I think its browser dependency or magento bug. – R T May 21 '18 at 6:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.