Tutorial Programmierung Shopware API

Zum Tutorial

[quote=“Stefan Hamann”]Zum Tutorial[/quote] Wirklich verblüffend einfach, ich staune nur noch… // Zugriff auf Plugin-Konfiguration $config = Shopware()-\>Plugins()-\>Backend()-\>TestApi()-\>Config(); Das verstehe ich allerdings nicht so recht, ist TestApi nicht ein Frontend()-Plugin?

Naja, das ist Definitionssache :wink: Das Plugin wird zwar im Frontend ausgeführt, ist aber ja eher im Background aktiv - also keine direkte Beeinflussung des Frontends. Man könnte das natürlich auch einfach in den Frontend Namespace packen - Sprich Shopware_Plugins_Frontend_TestApi_Bootstrap statt Shopware_Plugins_Backend_TestApi_Bootstrap - funktionell spielt das aber keine Rolle - da geht es wirklich nur um die Einteilung des Plugins.