# Plugin Config: Aktuelle Sales Channel ID in component

**URL:** <https://forum.shopware.com/t/plugin-config-aktuelle-sales-channel-id-in-component/92144>\
**Category:** Shopware 6 (German)\
**Created:** [30. Dezember 2021 um 10:54 UTC](https://forum.shopware.com/t/plugin-config-aktuelle-sales-channel-id-in-component/92144 "2021-12-30T10:54:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_MikeB](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/_mikeb/32/7856_2.png) [@\_MikeB](https://forum.shopware.com/u/_MikeB)\
**Post date:** [30. Dezember 2021 um 10:54 UTC](https://forum.shopware.com/t/plugin-config-aktuelle-sales-channel-id-in-component/92144/1 "2021-12-30T10:54:49Z")

</div>

Hallo.

Ich verwende in meiner Plugin Konfiguration eine Button Komponenten die einen Controller ansteuert. In diesem Controller benötige ich die aktuell ausgewählte Sales Channel ID der aktuellen Konfiguration. Gibt es eine Möglichkeit diese in der Component JS zu ermitteln um sie dann an den Controller weiterzugeben?

Gruß Mike
