Magento Expert Forum - Improve your Magento experience

Results 1 to 3 of 3

How NOT to share the cart in Magento 1.9.3?

  1. #1
    New member
    Join Date
    Apr 2017
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How NOT to share the cart in Magento 1.9.3?

    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

    View more threads in the same category:


  2. #2
    Junior Member knowband.plugins's Avatar
    Join Date
    Jul 2016
    Location
    Noida, India
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  3. #3
    Junior Member
    Join Date
    May 2017
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Maybe try set different cookie domain for each store

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •