# Custom Template - Abfrage Kundengruppe

**URL:** <https://forum.shopware.com/t/custom-template-abfrage-kundengruppe/99513>\
**Category:** Shopware 6 (German)\
**Created:** [2. Mai 2023 um 11:40 UTC](https://forum.shopware.com/t/custom-template-abfrage-kundengruppe/99513 "2023-05-02T11:40:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SW6\_SK](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sw6_sk/32/20473_2.png) [@SW6\_SK](https://forum.shopware.com/u/SW6_SK)\
**Post date:** [2. Mai 2023 um 11:40 UTC](https://forum.shopware.com/t/custom-template-abfrage-kundengruppe/99513/1 "2023-05-02T11:40:07Z")

</div>

Hallo,

ich brauche Hilfe. Möchte im Custom Template Manager von Friends of Shopware eine if-Abfrage erstellen.  
Diese If-Abfrage soll nach folgendem Prinzip funktioneren. Wenn Kundengruppe = Standard-Kundengruppe, dann Ausgabe Block A, ansonsten Ausgabe Block B. Ich weiß aber nicht, wie ich die Kundengruppe abfragen kann. Die restliche Formel würde ich alleine zusammen bekommen. Kann mir hier bitte jemand helfen?

Danke und viele Grüße

---

<div class="post-metadata">

**Author:** ![acr\_kno](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/acr_kno/32/8564_2.png) [@acr\_kno](https://forum.shopware.com/u/acr_kno)\
**Post date:** [2. Oktober 2024 um 08:14 UTC](https://forum.shopware.com/t/custom-template-abfrage-kundengruppe/99513/2 "2024-10-02T08:14:30Z")

</div>

@SW6_SK konntest du es lösen? Bin auch gerade auf der Suche 👀

---

<div class="post-metadata">

**Author:** ![SW6\_SK](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sw6_sk/32/20473_2.png) [@SW6\_SK](https://forum.shopware.com/u/SW6_SK)\
**Post date:** [2. Oktober 2024 um 11:53 UTC](https://forum.shopware.com/t/custom-template-abfrage-kundengruppe/99513/3 "2024-10-02T11:53:42Z")

</div>

Leider nicht. Ich weiß auch gar nicht mehr was ich damals vorhatte 😃  
Heutzutage würde ich schauen ob ChatGPT oder Copilot die Formel nicht hinbekommen. Ich denke das schafft die KI.
