# eMail Template - bestimmte Variablen verhindern Mail Versand

**URL:** <https://forum.shopware.com/t/email-template-bestimmte-variablen-verhindern-mail-versand/104299>\
**Category:** Shopware 6 (German)\
**Created:** [16. Juni 2024 um 17:02 UTC](https://forum.shopware.com/t/email-template-bestimmte-variablen-verhindern-mail-versand/104299 "2024-06-16T17:02:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [17. Juni 2024 um 07:46 UTC](https://forum.shopware.com/t/email-template-bestimmte-variablen-verhindern-mail-versand/104299/2 "2024-06-17T07:46:45Z")

</div>

Ja zumindest in SW 6.5.x ist das mit den Variablen eine Katastrophe:

> [@Mail-Template, Mail-Vorschau - reinste Shopware Katastrophe](https://forum.shopware.com/t/mail-template-mail-vorschau-reinste-shopware-katastrophe/103599):
>
> Sorry, aber ich muss mir hier doch mal etwas Luft machen, denn so geht das nicht. Das Bearbeiten von Mail-Template mit der Mail-Vorschau ist eine Katastrophe und hat nichts mit den Shopware Zitaten wie „maximaler Flexibilität” zu tun. Seit Tagen sitze ich daran die Mail-Templates anzupassen, also keine 0-8-15 Vorlagen, sondern nach Kundenwusch angepasste Mails. Mich wundert, dass diese Thema hier im Forum kaum behandelt wird. Scheinen wohl wenig Wert darauf zu legen. Wie dem auch sei, da geht …

Bei uns ist das aber durchaus so im Einsatz:

```auto
{% set currencyIsoCode = order.currency.isoCode %}
{{ order.price.totalPrice|currency(currencyIsoCode) }}

```

---

_[View the full topic](https://forum.shopware.com/t/email-template-bestimmte-variablen-verhindern-mail-versand/104299)._
