# Plugin und Shopware Konfigurationen in Dokumenten-Templates

**URL:** <https://forum.shopware.com/t/plugin-und-shopware-konfigurationen-in-dokumenten-templates/70470>\
**Category:** Programmierung\
**Created:** [27. Oktober 2020 um 12:13 UTC](https://forum.shopware.com/t/plugin-und-shopware-konfigurationen-in-dokumenten-templates/70470 "2020-10-27T12:13:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LuciossJaen](https://avatars.discourse-cdn.com/v4/letter/l/ee59a6/32.png) [@LuciossJaen](https://forum.shopware.com/u/LuciossJaen)\
**Post date:** [27. Oktober 2020 um 12:13 UTC](https://forum.shopware.com/t/plugin-und-shopware-konfigurationen-in-dokumenten-templates/70470/1 "2020-10-27T12:13:09Z")

</div>

Grüße an alle,

in der Storefront kann man via&nbsp;**shopware.config.[plugin].config.[field]** ([https://forum.shopware.com/discussion/comment/258566/#Comment\_258566](https://forum.shopware.com/discussion/comment/258566/#Comment_258566)) auf die Konfiguration von Plugins zugreifen.

Allerdings scheint shopware als Variable nicht für Dokumenten-Templates zu existieren (soweit ich weiß nur order, config (für Dokumente) und context).

Wir würde man am Besten für das Template an die Konfiguration von Plugins kommen? Dokumente sollen nur bestimmte Inhalte generieren, wenn die Konfiguration gesetzt ist.&nbsp;

Es wäre natürlich möglich einfach weitere Dokumente zu erstellen, die diesen Unterschied dann beinhalten, allerdings wär das für jedes neue Dokument doppelte Arbeit.

LG  
Lucioss
