How to share cart for guest users between multi stores with different domain
-
06-10-2020 - |
Question
I am able to share my cart for logged in customers while switching between two stores with different domain URLs. However, I could not implement the same for guest users. I know the cart details
are saving into the quote
table. But this is not shared with the second store while switching.
Please guide me to a solution.
Solution
Finally, I am able to solve this issue by sharing the session cookie between the stores. I have followed this answer. I manually creates the same cookie in my two domains so that data will be shared between the two.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange