Gewählten Artikel im Frontend ausgeben

Grüßt euch erstmal,
ich bin neu in der Plugin Entwicklung und habe Schwierigkeiten den im Backend ausgewählten Artikel im Frontend auszugeben.

config.xml:
<card> <title>Product of the Month</title <title lang="de-DE">Produkt des Monats</title < component name="sw-entity-single-select" <name>productOfTheMonth</name> <entity>product</entity> <label>Choose the product of the month for the plugin configuration</label> <label lang="de-DE">Wähle dein Produkt des Monats</label> </component> </card>

Was muss ich anlegen um den später im Backend gewählten Artikel hier auszugeben? {% sw_extends ‚@Storefront/storefront/page/product-detail/index.html.twig‘ %}

Vielen Dank für die Hilfe!

Die Plugin-Konfiguration speichert lediglich die ID des Artikels.

Du musst den Artikel dann selbst laden…

im Backend: https://developer.shopware.com/docs/guides/plugins/plugins/plugin-fundamentals/use-plugin-configuration

im Frontend: https://developer.shopware.com/docs/resources/references/storefront-reference/twig-function-reference

Wie gesagt, du bekommst die ID, nicht den Artikel selbst.