Quantcast
Channel: Neueste Diskussionen - Shopware Community Forum
Viewing all articles
Browse latest Browse all 14594

Formular - Store in Plugin - Konfiguration?

$
0
0

Hallo liebe shopware - Gemeinde,

ich würde gern in der Plugin-Konfiguration eine Combobox anbieten, wo man eins der Formulare auswählen kann.

Leider liefert mir:

$form->setElement('combo', 'myfield',
     array(
          'label' => '',
          'description' => '',
          'store' => 'base.Form',
          'scope' => Shopware\Models\Config\Element::SCOPE_SHOP,
          'value' => '',
          'valueField' => 'id',
          'displayField' => 'name'
     )
);

nicht wirklich die Liste der Formulare, sondern scheinbar den Namen des Plugins?

Hat einer eine Idee, woran es liegen kann oder was ich falsch gemacht habe?

Beste Grüße

Sebastian

 


Viewing all articles
Browse latest Browse all 14594


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>