# storesChanged Splitview Artikel Id auslesen

**URL:** <https://forum.shopware.com/t/storeschanged-splitview-artikel-id-auslesen/16306>\
**Category:** Shopware 3.5\
**Tags:** programming\
**Created:** [22. Oktober 2013 um 15:56 UTC](https://forum.shopware.com/t/storeschanged-splitview-artikel-id-auslesen/16306 "2013-10-22T15:56:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Almare](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@Almare](https://forum.shopware.com/u/Almare)\
**Post date:** [22. Oktober 2013 um 15:56 UTC](https://forum.shopware.com/t/storeschanged-splitview-artikel-id-auslesen/16306/1 "2013-10-22T15:56:25Z")

</div>

Hat jemand eine Idee wie ich an die neue Artikel Id herankomme, wenn ich im Splitview Modus einen anderen Artikel auswähle? Im moment muss ich 2 mal klicken um an die echte Artikel Id zu kommen. Dazu nutz ich diese Funktion ` Shopware.app.Application.on('moduleConnector:splitView',me.onArticleChanged, me); ` Diese Funktionen funktionieren gar nicht bei mir ` Shopware.app.Application.on('ProductModule:storesChanged', me.onArticleChanged); me.subApplication.on('ProductModule:storesChanged', me.onArticleChanged, me); ` HIer wird bei mir kein Event gefeuert.

---

<div class="post-metadata">

**Author:** ![Almare](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@Almare](https://forum.shopware.com/u/Almare)\
**Post date:** [24. Oktober 2013 um 17:01 UTC](https://forum.shopware.com/t/storeschanged-splitview-artikel-id-auslesen/16306/2 "2013-10-24T17:01:25Z")

</div>

So die Lösung ist wie immer sehr einfach, wenn man weis wie es geht. Wenn die Funktion onArticleChanged gefeuert wird, werde folgende Werte zur Verfügung gestellt subApp und options. Bsp.: `onArticleChanged: function(subApp, options) { ...}` an die Artikel Id kommt man dann über `options.articleId;`
