I have a setup a multi website. https://domainname.com and https://demo.domainname.com

I need to share cart items between each website. So if i have added a cart items to A website and if i login to B website than it must be found there as well.

I have set Share Customer Account = Global in Stores->Configuration->Customer Configuration->Account Sharing Options

Please help me to sort out this issue.

I am using Magento 2.2.6

  • did you follow this one? find Reff – Hitesh Oct 23 '18 at 5:28
  • @Hit's, yes i have tried that but its not working. – Sanjay Jethva Oct 23 '18 at 5:34
  • Hi Sanjay Jethva, Did you got solution ??? – balu Jan 22 '19 at 9:39
  • @balu, still not found any solution – Sanjay Jethva Feb 6 '19 at 10:02
  • Did you get any solution? – Jimit Bhavsar Apr 13 '20 at 11:15

Different domains will be a pain. I would make a cudtum session di. Setup a third domain and store and embed on both with an iframe. Then you can have the module sync sessions between the two domains

I found to switch websites i used a custom site switcher. When you switch sites create a new cart for the other website and copy all items to it.

As an added bennie any product price or availability changes carry over with the recalc

  • Which site switcher? – Kul Oct 25 '20 at 8:17

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.