2

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

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

1 Answer 1

0

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

1
  • Which site switcher?
    – Kul
    Oct 25, 2020 at 8:17

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.