# Plugin Less für Hauptshop und Subshop

**URL:** <https://forum.shopware.com/t/plugin-less-fur-hauptshop-und-subshop/43109>\
**Category:** Programmierung\
**Created:** [25. Januar 2017 um 14:35 UTC](https://forum.shopware.com/t/plugin-less-fur-hauptshop-und-subshop/43109 "2017-01-25T14:35:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![brettvormkopp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/brettvormkopp/32/7788_2.png) [@brettvormkopp](https://forum.shopware.com/u/brettvormkopp)\
**Post date:** [25. Januar 2017 um 15:09 UTC](https://forum.shopware.com/t/plugin-less-fur-hauptshop-und-subshop/43109/3 "2017-01-25T15:09:05Z")

</div>

Danke für den Hinweis. Folgender Code fehlte

```
$shop = $args->getShop();
$config = $this->collection->getConfig($this->name,$shop);

```

&nbsp;

---

_[View the full topic](https://forum.shopware.com/t/plugin-less-fur-hauptshop-und-subshop/43109)._
