In my sites having two stores A and B, I created stores using symlinks.

When I have added products to the cart in B store it added but at the same time products added to mini cart in A store as well.

Why it is showing like this?

1 Answer 1


Short answer: Sessions

When you setup multistore in Magento 2, don't symlink 'var/sessions' folder.

For more information, you may interested in how to share cart in Magento 2 multiple store.

  • i didnt created symlink to seesion , i dont want share cart @Toan Nguyen
    – User0434
    Commented Dec 22, 2016 at 12:02
  • @Nadh: That's why I reference to that question. To let you check all steps to make cart sharing in Magento 2 multiple store, then you can compare it to your own to avoid cart sharing. Commented Dec 26, 2016 at 2:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.