Welcome to Discussion Forum, where you can ask questions and receive answers from other members of the community.

Do not want to share the cart in Magento 1.9.3?

0 like 0 dislike
Hi,
 
I'm creating my website with Magento 1.9.3 which is divided in two stores.
 
- STORE 1
- STORE 2
 
I have created 1 site, 2 stores and 1 view per store.
Each store has is own root category.
 
My cart is shared between the 2 stores, it means that in the same cart I can put products from STORE 1 and products from STORE 2.
 
The problem is that I would like NOT to share the cart because I don't deliver the products in the same way and in the same place if it comes from STORE 1 or STORE 2.
 
I don't know what to do to have 1 cart per store, instead having 1 cart for all the stores.
 
If someone knows how to setup Magento not to share the cart, it would be really helpfull for me.
 
Thanks for your help!!!
 
Kostia
asked May 3, 2017 in Magento by harsh (8,710 points)

1 Answer

1 like 0 dislike

Hi,

By Default Magento uses separate cart sessions for each store, the reason is that different multi-store websites have different set of products and different product settings for each store (like price, quantity, etc). 

 It may be possible that something went wrong with the code.

Please check the app/code/core/Mage/Checkout/Model/Session.php  or app/code/local/Mage/Checkout/Model/Session.php and compare it with the default code.

answered May 15, 2017 by Gaurav (1,970 points)

Related questions

0 like 0 dislike
0 answers 266 views
0 like 0 dislike
1 answer 95 views
0 like 0 dislike
0 answers 74 views
0 like 0 dislike
1 answer 1,496 views
0 like 0 dislike
0 answers 128 views
...