> For the complete documentation index, see [llms.txt](https://wiki.packstack.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.packstack.de/packstack-connect/einstellungen/e-mail-templates.md).

# E-Mail Templates

So kommst du dahin:

Home ➡️ Einstellungen ➡️ E-Mail Templates

***

### **1. Der Vergleich mit Shopify** <a href="#k14zumlvq5yc" id="k14zumlvq5yc"></a>

| Shopify                                                                                                                                                                   | Packstack Connect                                                                                                                                         |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>✅ Shopify benachrichtigt, sobald das Paket versendet worden ist</p><p>❌ Danach erhält man keine weiteren Informationen</p><p>❌ Keine große Anpassungsmöglichkeiten</p> | <p>✅ Packstack bietet detaillierte Benachrichtigung</p><p>✅ Mehr Transparenz im Versandprozess</p><p>✅ Du kannst die E-Mail Templates selbst anpassen</p> |

***

So kommt man zu den E-Mail Templates:

Einstellungen ➡️ E-Mail Templates

***

### **2. Länderübergreifende Templates** <a href="#qz08q6gmyuvo" id="qz08q6gmyuvo"></a>

<figure><img src="/files/sQyHI6YxvVgEbj92g1Ui" alt=""><figcaption></figcaption></figure>

Diese Templates geben übergreifend das Layout und das grundlegende Design der länderspezifischen E-Mails vor. Das vermeintlich wichtigste Template ist hierbei das “Basis-Template für Trackingnachrichten”, das das Design der Trackingnachrichten regelt.

In der linken Spalte steht der Name des Templates. In der Spalte rechts daneben findest du eine kurze Beschreibung des Templates.

👁️ Klickst du auf das Auge, dann kannst du dir die Vorschau anzeigen lassen.

✉️ Klickst du auf den Brief, dann kannst du dir eine Test-Mail an deine eigene E-Mail-Adresse senden lassen.

✏️ Klickst du auf den Stift, dann kannst du das Template bearbeiten.

### **3. Länderspezifische Templates** <a href="#a1pqd6g7e9za" id="a1pqd6g7e9za"></a>

<figure><img src="/files/SJPCV2kSp6o4rEprf8aN" alt=""><figcaption></figcaption></figure>

Diese Templates sind für jedes Versandland individuell anpassbar. Hier bearbeitest du insbesondere den Text und individuelle Designanpassungen der einzelnen Trackingnachrichten, wie bspw.

* Übersetzungen
* individuelle länderspezifische Versandkonditionen
* Einfügen eines Header-Bildes
* Einfügen von individuellen Grafiken

In der linken Spalte der Template-Übersicht steht der Name des Templates. In der Spalte rechts daneben findest du eine kurze Beschreibung des Templates.

👁️ Klickst du auf das Auge, dann kannst du dir die Vorschau anzeigen lassen.

✉️ Klickst du auf den Brief, dann kannst du dir eine Test-Mail an deine eigene E-Mail-Adresse senden lassen.

✏️ Klickst du auf den Stift, dann kannst du das Template bearbeiten.

{% hint style="info" %}
In der ersten Zeile des Codes siehst du, dass dieses Template eine Erweiterung des Basis-Templates für Trackingnachrichten ist.
{% endhint %}

<figure><img src="/files/W8dn0sU2ryfoa4QHaVD1" alt=""><figcaption></figcaption></figure>

### **4. Übersetzungen** <a href="#bl53odiwhzwe" id="bl53odiwhzwe"></a>

<figure><img src="/files/LuRGzvDC7etEQijr0edL" alt=""><figcaption></figcaption></figure>

Wenn du in der E-Mail Templates Übersicht etwas nach unten scrollst, dann siehst du das Feld “Übersetzungen”. Hier sind diese Dateien relevant:

* emails.en.yml
* emails.fr.yml
* emails.de.yml

In diesen Dateien kannst du die Übersetzungen der Betreffzeilen der Trackingnachrichten mit Klick auf den Stift anpassen.

![](/files/RHRSZeG5I1kBu1PxJlbY)

{% hint style="danger" %}
Bitte ausschließlich die Sätze und Wörter in Anführungszeichen bearbeiten und nicht den restlichen Code, da sich sonst die Formatierung ändern könnte.
{% endhint %}

### **5. Tracking Mail** <a href="#bl53odiwhzwe" id="bl53odiwhzwe"></a>

<figure><img src="/files/8Yks2hSnhnX62MIYFfv8" alt=""><figcaption></figcaption></figure>

Hier kannst du einstellen, welche Tracking Benachrichtigungen eingestellt werden sollen. Über die Tracking Mail können deine Kunde darüber benachrichtigt werden, ob die Bearbeitung ihrer Bestellung bereits begonnen hat. Außerdem werden nun die einzelenen Produkte in den Trackingmails angezeigt. Diese Funktion muss vorher von einem Packstack Ansprechpartner freigeschaltet werden.

{% hint style="info" %}
Packstack Trackingnachrichten gehen mehr auf den Endkunden ein und ermöglichen so sowohl mehr Gewissheit beim Endkunden bezüglich seiner Bestellung als auch mehr Individualität durch ein eigenes Design.
{% endhint %}

#### **Verfügbare Variablen in Template-Dateien** <a href="#ls8bem49pw0n" id="ls8bem49pw0n"></a>

Folgende Variablen kannst du in Template-Dateien verwenden. Bitte beachte, dass Variablen innerhalb doppelt geschweifter Klammern geschrieben werden müssen {{ variable }}. Nicht alle Variablen sind in allen Templates verfügbar.

{% hint style="warning" %}
Diese Variablen sind für Leute mit Programmierwissen und sollte nur von diesen genutzt und eingebaut werden. Wenn du dieses Wissen nicht hast, suche dir bitte jemanden der diese Variablen für dich anwenden kann.
{% endhint %}

#### Erinnerung gehaltene Bestellung

* name *<mark style="color:purple;">string</mark>*
  * the name of the receiver from the shipping address
* order\_id *<mark style="color:purple;">int</mark>*
  * An internal unique identifier for the invoice
* order\_number *<mark style="color:purple;">string</mark>*
  * the Shopify order number that the return belongs to.
* order *<mark style="color:purple;">array</mark>*
  * *<mark style="color:purple;">see Array: order</mark>*
* hash *<mark style="color:purple;">string</mark>*
  * A secret hash value to login to the connected Self-Service-Portal

#### Alle Tracking-Nachrichten

* order *<mark style="color:purple;">array</mark>*
  * *<mark style="color:purple;">see Array: order</mark>*
* reference *<mark style="color:purple;">string</mark>*
  * the shipment reference number i.e. the Shopify order number&#x20;
* trackingNr *<mark style="color:purple;">string</mark>*
  * the corresponding tracking number of the shipment &#x20;
* carrier *<mark style="color:purple;">array</mark>*
  * id *<mark style="color:purple;">int</mark>*
    * An internal unique id for the used carrier
  * name *<mark style="color:purple;">string</mark>*
    * The name of the used carrier

#### Rücksendedokumente

* order *<mark style="color:purple;">array</mark>*
  * *<mark style="color:purple;">--> see Array: order</mark>*

#### Rechnungsversand

* order *<mark style="color:purple;">array</mark>*
  * *<mark style="color:purple;">--> see Array: order</mark>*
* invoice *<mark style="color:purple;">array</mark>*&#x20;
  * *<mark style="color:purple;">--> see Array: invoice</mark>*

#### Gehaltene Bestellung

* name *<mark style="color:purple;">string</mark>*
  * the name of the receiver from the shipping address
* order\_number *<mark style="color:purple;">string</mark>*
  * the Shopify order number that the return belongs to.&#x20;
* order\_id *<mark style="color:purple;">int</mark>*
  * An internal unique identifier for the invoice
* order *<mark style="color:purple;">array</mark>*
  * *<mark style="color:purple;">-> see Array: order</mark>*
* hash *<mark style="color:purple;">string</mark>*
  * A secret hash value to login to the connected Self-Service-Portal

#### Rücksendung erhalten

* name *<mark style="color:purple;">string</mark>*
  * the name of the receiver from the shipping address
* order\_number *<mark style="color:purple;">string</mark>*
  * the Shopify order number that the return belongs to.&#x20;

#### Array: invoice

* invoice *<mark style="color:purple;">array</mark>*
  * id *<mark style="color:purple;">integer</mark>*
    * An internal unique identifier for the invoice
  * invoiceNr *<mark style="color:purple;">string</mark>*
    * the invoice assigned number with prefix and suffix
  * invoiceDate *<mark style="color:purple;">datetime</mark>*
    * the date on which the invoice has been created
  * ref *<mark style="color:purple;">string</mark>*
    * the payment reference number for the transaction
  * paymentGateway *<mark style="color:purple;">string</mark>*
    * the used payment method for the transaction
  * headline *<mark style="color:purple;">string</mark>*
    * A headline indicating that the document is an invoice, voucher or an order confirmation, cancellation with the order number
  * remark *<mark style="color:purple;">string</mark>*
    * An additional remark from the Shopify Order Remark Property
  * name *<mark style="color:purple;">string</mark>*
    * Customer billing address name
  * company *<mark style="color:purple;">string</mark>*
    * Customer billing address company name
  * address *<mark style="color:purple;">string</mark>*
    * Customer billing address address
  * address2 *<mark style="color:purple;">string</mark>*
    * Customer billing address addition
  * city *<mark style="color:purple;">string</mark>*
    * Customer billing address city
  * country *<mark style="color:purple;">string</mark>*
    * Customer billing address country
  * zip *<mark style="color:purple;">string</mark>*
    * Customer billing address zip code
  * totalNetto *<mark style="color:purple;">decimal</mark>*
    * The total invoice amount without VAT
  * totalBrutto *<mark style="color:purple;">decimal</mark>*
    * the total invoice amount including VAT
  * shopifyRefundId *<mark style="color:purple;">integer</mark>*
    * if the document is a voucher, the associated shopify refund id is included, otherwise null
  * isConfirmation *<mark style="color:purple;">bool</mark>*
    * Whether the document is tax invoice or an order confirmation

#### Array: order

* order *<mark style="color:purple;">array</mark>*
  * shopifyOrderId *<mark style="color:purple;">integer</mark>*
    * the shopify order identifier for the order
  * checkoutId *<mark style="color:purple;">integer</mark>*
    * a checkout identifier if the order was created with a checkout (e.g. from the online store sales channel)
  * orderName *<mark style="color:purple;">string</mark>*
    * Name of the order in Shopify
  * orderDate *<mark style="color:purple;">datetime</mark>*
    * The date of the order placement
  * name *<mark style="color:purple;">string</mark>*
    * Customer shipping address name
  * companyName *<mark style="color:purple;">string</mark>*
    * Customer shipping address company name
  * address *<mark style="color:purple;">string</mark>*
    * Customer shipping address street
  * address2 *<mark style="color:purple;">string</mark>*
    * Customer shipping address addition
  * housenumber *<mark style="color:purple;">string</mark>*
    * Customer shipping address housenumber
  * city *<mark style="color:purple;">string</mark>*
    * Customer shipping address city
  * plz *<mark style="color:purple;">string</mark>*
    * Customer shipping address zip code
  * country *<mark style="color:purple;">string</mark>*
    * Customer shipping address country
  * email *<mark style="color:purple;">string</mark>*
    * Customer’s email address
  * phone *<mark style="color:purple;">string</mark>*
    * Customer phone number
  * carrier *<mark style="color:purple;">array</mark>*
    * id *<mark style="color:purple;">integer</mark>*
      * An internal unique id for the used carrier
    * name *<mark style="color:purple;">string</mark>*
      * The name of the used carrier
  * prio *<mark style="color:purple;">integer</mark>*
    * Whether the order is a priority order (1) or a normal one (0)

{% hint style="info" %}
Bsp.: {{ invoice.ref }}
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://wiki.packstack.de/packstack-connect/einstellungen/e-mail-templates.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
