# Common cart for all subshops?

**URL:** <https://forum.shopware.com/t/common-cart-for-all-subshops/53342>\
**Category:** International (English Only)\
**Tags:** programming\
**Created:** [7. Juni 2018 um 14:07 UTC](https://forum.shopware.com/t/common-cart-for-all-subshops/53342 "2018-06-07T14:07:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel\_bohusz](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/daniel_bohusz/32/25383_2.png) [@daniel\_bohusz](https://forum.shopware.com/u/daniel_bohusz)\
**Post date:** [7. Juni 2018 um 14:07 UTC](https://forum.shopware.com/t/common-cart-for-all-subshops/53342/1 "2018-06-07T14:07:46Z")

</div>

Hi, any ideas if it is possible to change Shopware behaviour to use one cart session for all subshops?&nbsp;&nbsp;

Is there any plugin for this or do you have any ideas how to force Shopware to use the same session for all subshops ?&nbsp;

The reason is that subshops should have different look depends on brand… but you should have possibility to make one shopping&nbsp; together&nbsp;&nbsp;in all subshops.&nbsp;  
Becasue of some reasons … we can’t use categories.&nbsp;

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![odessite](https://avatars.discourse-cdn.com/v4/letter/o/f05b48/32.png) [@odessite](https://forum.shopware.com/u/odessite)\
**Post date:** [8. Juni 2018 um 08:20 UTC](https://forum.shopware.com/t/common-cart-for-all-subshops/53342/2 "2018-06-08T08:20:03Z")

</div>

Emm, not sure is it right.

You create different categories for different shop because one shop should support some articles, which shouldn’t support another one.

In general I think it’s possible, you need redeclarate sessionId to existed one.

Check tables `s_core_sessions` and `s_order_basket`.

So it can work like:

Customer put login/pass. You check last is auth valid, if yes - set last sessionId from `s_core_sessions` as `Shopware()-\>Session()-\>sessionId` and extend session lifetime in `s_core_sessions`.

Session id you can see in cookies:

[http://joxi.ru/KAxolvBtMWq0q2](http://joxi.ru/KAxolvBtMWq0q2)

Where 7 - subshopId.

&nbsp;

I don’t know if plugin exist, but I don’t think so, because there can be issues like customer binded to shop, article doesn’t exist for subshop e.t.c.
