# Konfiguration für Plugins \> 5.2

**URL:** <https://forum.shopware.com/t/konfiguration-fur-plugins-5-2/38248>\
**Category:** Programmierung\
**Created:** [14. Juli 2016 um 15:15 UTC](https://forum.shopware.com/t/konfiguration-fur-plugins-5-2/38248 "2016-07-14T15:15:14Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![KevinS86](https://avatars.discourse-cdn.com/v4/letter/k/67e7ee/32.png) [@KevinS86](https://forum.shopware.com/u/KevinS86)\
**Post date:** [2. August 2016 um 10:03 UTC](https://forum.shopware.com/t/konfiguration-fur-plugins-5-2/38248/12 "2016-08-02T10:03:37Z")

</div>

> &nbsp;
> 
> [@Shyim schrieb:](https://forum.shopware.com/profile/20792/Shyim "Shyim")
> 
> Musst du über die Install lösen like that. Ist noch nicht möglich via xml
> 
> $element = Shopware()-\>Models()-\>getRepository(Element::class)-\>findOneBy([‚name‘ =\> ‚elementSelect‘]);  
> $element-\>setOptions([‚store‘ =\> [  
> [1, „LOL“],  
> [2, „LOL2“]  
> ]]);  
> Shopware()-\>Models()-\>persist($element);  
> Shopware()-\>Models()-\>flush();
> 
> &nbsp;

Dankeschön für den Hinweis. Diesen werde ich doch direkt einmal ausprobieren und Bescheid geben ob es geklappt hat.&nbsp;

&nbsp;

---

_[View the full topic](https://forum.shopware.com/t/konfiguration-fur-plugins-5-2/38248)._
