Magento – Is it possible to share the cart contents between multi-store websites

cartmultistore

I have a client who needs a multi-store setup. They require the contents of the cart to be shared between websites. Also when the customer switches between websites, the cart item(s) price may be different and in different currencies.

Is this possible to do? As far as I am aware its possible between store views.
Any information would be much appreciated.

Thanks.

Best Answer

Magento does not allow sharing carts between websites. The sessions objects for individual websites are completely detached, products in one website may not belong to the other website, the category structure and visibility of data will be different. As you pointed out, the pricing may be different from one website to another as well, as could the promotions, tax rates, etc.

From a data perspective, it would be rather difficult to share carts between websites given that a product you may have in your cart may or may not be in the next website you go to. This would create major problems with products disappearing and/or errors in the cart due to products not being available.

Something like this would have to be completely custom built, and I'm certain it would not come without it's problems and anomalies.

Without knowing more to contextualize the situation, I'm skeptical that using multiple websites with different prices and currencies plus sharing the cart between them is the best solution. If the pricing and the currencies are different, why do the carts even need to be shared? Doesn't make sense to me, and I'm having a hard time imagining a scenario where this would be appropriate. Perhaps you could enlighten us.