# Store für Article-Attributes in Plugin-Config

**URL:** <https://forum.shopware.com/t/store-fur-article-attributes-in-plugin-config/51721>\
**Category:** Programmierung\
**Created:** [13. März 2018 um 09:10 UTC](https://forum.shopware.com/t/store-fur-article-attributes-in-plugin-config/51721 "2018-03-13T09:10:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hbee](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@hbee](https://forum.shopware.com/u/hbee)\
**Post date:** [13. März 2018 um 09:10 UTC](https://forum.shopware.com/t/store-fur-article-attributes-in-plugin-config/51721/1 "2018-03-13T09:10:24Z")

</div>

hi, ich brauche die Artikel-Attribute in einer Combo-Box innerhalb der Plugin-Config.

Wie lautet der korrekte Store? ich konnte leider nichts finden. Die Attribute kann ich scheinbar so auslesen:

```
Shopware()->Container()->get('shopware_attribute.crud_service')->getList('s_articles_attributes')

```

Aber wie bekomme ich das in die config.xml?

Vielen Dank

&nbsp;

---

<div class="post-metadata">

**Author:** ![fulltimeSW](https://avatars.discourse-cdn.com/v4/letter/f/7cd45c/32.png) [@fulltimeSW](https://forum.shopware.com/u/fulltimeSW)\
**Post date:** [13. März 2018 um 10:08 UTC](https://forum.shopware.com/t/store-fur-article-attributes-in-plugin-config/51721/2 "2018-03-13T10:08:01Z")

</div>

Hi, also in der config.xml kannst du folgendes nutzen.  
&nbsp;

**Multi selectionfield / multi combobox / multi remote comboboxAnchor**  
To make your selectfield / combobox multiple selectable, you need to create the options node:

```
<element type="combo">
    <store>Shopware.apps.Base.store.CustomerGroup</store>
    <options>
        <multiselect>true</multiselect>
    </options>
</element> &nbsp; &nbsp; 

```

Du müsstest noch für die Artikel Attribute ein Store im Plugin erstellen und diesen dann abrufen.

Hoffe ich konnte dir damit helfen.

&nbsp;

---

<div class="post-metadata">

**Author:** ![hbee](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@hbee](https://forum.shopware.com/u/hbee)\
**Post date:** [13. März 2018 um 10:12 UTC](https://forum.shopware.com/t/store-fur-article-attributes-in-plugin-config/51721/3 "2018-03-13T10:12:38Z")

</div>

> [@fulltimeSW schrieb:](https://forum.shopware.com/profile/21407/fulltimeSW "fulltimeSW")
> 
> Du müsstest noch für die Artikel Attribute ein Store im Plugin erstellen und diesen dann abrufen.

das ist ja genau der Punkt. Wie erstelle ich einen Store? Wie das nachher in der XML aussehen soll weiß ich. Mir fehlt halt der Store&nbsp;

---

<div class="post-metadata">

**Author:** ![TeichDatensysteme](https://avatars.discourse-cdn.com/v4/letter/t/43a26b/32.png) [@TeichDatensysteme](https://forum.shopware.com/u/TeichDatensysteme)\
**Post date:** [9. Januar 2019 um 10:22 UTC](https://forum.shopware.com/t/store-fur-article-attributes-in-plugin-config/51721/4 "2019-01-09T10:22:35Z")

</div>

> [@hbee schrieb:](https://forum.shopware.com/profile/1538/hbee "hbee")
> 
> > [@fulltimeSW schrieb:](https://forum.shopware.com/profile/21407/fulltimeSW "fulltimeSW")
> > 
> > Du müsstest noch für die Artikel Attribute ein Store im Plugin erstellen und diesen dann abrufen.
> 
> das ist ja genau der Punkt. Wie erstelle ich einen Store? Wie das nachher in der XML aussehen soll weiß ich. Mir fehlt halt der Store&nbsp;

Konntest Du das lösen?  
Ich suche für das "neue Plugin System mir immer noch die Finger wund.  
Muss man für die Auslese von Freitextfeldern (Artikel, Hersteller, egal …) wirklich noch eigene Stores anlegen? …

**EDIT** : Habe eine Lösung, die als Basis die on-the-fly Generierung des Stores verwendet (wie unter [https://forum.shopware.com/discussion/56060/wie-eigene-store-model-fuer-plugin-config-xml-laden](https://forum.shopware.com/discussion/56060/wie-eigene-store-model-fuer-plugin-config-xml-laden)&nbsp;angesprochen)

```
	false
	id
	columnName

```

Schöne Grüße,  
Niklas&nbsp;
