I have a magento 2 website where I want to share cart between websites (for logged in users and guest users). For ex. guest user added product1 to the cart from website1 and now user switches to website2 then user would be able to see the same product to cart already.
magento is only providing cart sharing between stores not websites. Also I've tried couple of the multiple store cart sharing settings but no luck till now. However, I would love to hear solution for multiple websites.
Best Answer
To share cart among websites you have to do two things.
Make Magento 2 read cart quote id from a single session key.
Make Magento consider all stores when loading quote