# When editing email templates how to change the variables?

**URL:** <https://forum.shopware.com/t/when-editing-email-templates-how-to-change-the-variables/58914>\
**Category:** Allgemein\
**Created:** [3. April 2019 um 15:38 UTC](https://forum.shopware.com/t/when-editing-email-templates-how-to-change-the-variables/58914 "2019-04-03T15:38:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lac852](https://avatars.discourse-cdn.com/v4/letter/l/9de053/32.png) [@lac852](https://forum.shopware.com/u/lac852)\
**Post date:** [3. April 2019 um 15:38 UTC](https://forum.shopware.com/t/when-editing-email-templates-how-to-change-the-variables/58914/1 "2019-04-03T15:38:03Z")

</div>

Hi Everyone!

When comes to edit the&nbsp;email templates (configuration\email templates) in spite of the given documentaions on the top right corner I see Sample variables and not information on variables.

So whenever I try to test&nbsp;sending emails to a customer it provides me the demo shop header along with its adress etc. besides couple of other german words.

Does anyone know how&nbsp; can I edit those variables ?

MAny thanks in advance

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [3. April 2019 um 15:40 UTC](https://forum.shopware.com/t/when-editing-email-templates-how-to-change-the-variables/58914/2 "2019-04-03T15:40:20Z")

</div>

The MailContext will be updated when the mail is sent via the process it is normally used by. (e.g. registration in the frontend).

---

<div class="post-metadata">

**Author:** ![lac852](https://avatars.discourse-cdn.com/v4/letter/l/9de053/32.png) [@lac852](https://forum.shopware.com/u/lac852)\
**Post date:** [4. April 2019 um 12:36 UTC](https://forum.shopware.com/t/when-editing-email-templates-how-to-change-the-variables/58914/3 "2019-04-04T12:36:25Z")

</div>

On the generated pdf invoice it still gives me „shipping cotst“ in english, however I have translated everything&nbsp; (also bought the hungarian language package).  
Could you help me where the change it?

&nbsp;

---

<div class="post-metadata">

**Author:** ![lac852](https://avatars.discourse-cdn.com/v4/letter/l/9de053/32.png) [@lac852](https://forum.shopware.com/u/lac852)\
**Post date:** [4. April 2019 um 13:32 UTC](https://forum.shopware.com/t/when-editing-email-templates-how-to-change-the-variables/58914/4 "2019-04-04T13:32:55Z")

</div>

On the generated pdf invoice it still gives me “shipping cotst” in english, however I have translated everything&nbsp; (also bought the hungarian language package).  
Could you help me where the change it?

&nbsp;
