# Bestellbestätigung an Shopbetreiber

**URL:** https://forum.shopware.com/t/bestellbestatigung-an-shopbetreiber/65995
**Category:** Allgemein
**Created:** [3. April 2020 um 06:34 UTC](https://forum.shopware.com/t/bestellbestatigung-an-shopbetreiber/65995 "2020-04-03T06:34:42Z")
**Posts on this page:** 1
**Showing post:** 17

<div class="post-metadata">

### Author: ![chrislipps](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@chrislipps](https://forum.shopware.com/u/chrislipps)
#### Post date: [6. April 2020 um 08:25 UTC](https://forum.shopware.com/t/bestellbestatigung-an-shopbetreiber/65995/17 "2020-04-06T08:25:56Z")

</div>

Ja, das ganze sieht jetzt wieder so aus:

Fehlermeldung ist noch wie folgt:

app.ERROR: Could not render Mail-Template with error message: Failed rendering string template using Twig: Variable „customer“ does not exist in „3349430e9071fb0761640ca84b3e17b9“ at line 1. Error Code:0 Template source

{% set currencyIsoCode = order.currency.isoCode %}  
Hallo {{order.orderCustomer.salutation.letterName }} {{order.orderCustomer.firstName}} {{order.orderCustomer.lastName}},

vielen Dank für Ihre Bestellung im {{ salesChannel.name }} (Nummer: {{order.orderNumber}}) am {{ order.orderDateTime|date }}.

**Informationen zu Ihrer Bestellung:**

&nbsp; &nbsp; |  
&nbsp; &nbsp; &nbsp; &nbsp; **Pos.** |  
&nbsp; &nbsp; &nbsp; &nbsp; **Bezeichnung** |  
&nbsp; &nbsp; &nbsp; &nbsp; **Menge** |  
&nbsp; &nbsp; &nbsp; &nbsp; **Preis** |  
&nbsp; &nbsp; &nbsp; &nbsp; **Summe** |  
&nbsp; &nbsp;

&nbsp; &nbsp; {% for lineItem in order.lineItems %}  
&nbsp; &nbsp;

|  
&nbsp; &nbsp; &nbsp; &nbsp; {{ loop.index }} |  
&nbsp; &nbsp; &nbsp; &nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {{ lineItem.label|u.wordwrap(80) }}

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {% if lineItem.payload.productNumber is defined %}Artikel-Nr: {{ lineItem.payload.productNumber|u.wordwrap(80) }}{% endif %}  
&nbsp; &nbsp; &nbsp; &nbsp; |  
&nbsp; &nbsp; &nbsp; &nbsp; {{ lineItem.quantity }} |  
&nbsp; &nbsp; &nbsp; &nbsp; {{ lineItem.unitPrice|currency(currencyIsoCode) }} |  
&nbsp; &nbsp; &nbsp; &nbsp; {{ lineItem.totalPrice|currency(currencyIsoCode) }} |  
&nbsp; &nbsp;

&nbsp; &nbsp; {% endfor %}

{% set delivery = order.deliveries.first %}

&nbsp; &nbsp;

&nbsp; &nbsp;

&nbsp; &nbsp; Versandkosten: {{order.deliveries.first.shippingCosts.totalPrice|currency(currencyIsoCode) }}

&nbsp; &nbsp; Gesamtkosten Netto: {{ order.amountNet|currency(currencyIsoCode) }}

&nbsp; &nbsp; &nbsp; &nbsp; {% for calculatedTax in order.price.calculatedTaxes %}  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {% if order.taxStatus is same as(‚net‘) %}zzgl.{% else %}inkl.{% endif %} {{ calculatedTax.taxRate }}% MwSt. {{ calculatedTax.tax|currency(currencyIsoCode) }}

&nbsp; &nbsp; &nbsp; &nbsp; {% endfor %}  
&nbsp; &nbsp; **Gesamtkosten Brutto: {{ order.amountTotal|currency(currencyIsoCode) }}**

&nbsp; &nbsp;

&nbsp; &nbsp; **Gewählte Zahlungsart:** {{ order.transactions.first.paymentMethod.name }}

&nbsp; &nbsp; {{ order.transactions.first.paymentMethod.description }}

&nbsp; &nbsp;

&nbsp; &nbsp; **Gewählte Versandart:** {{ delivery.shippingMethod.name }}

&nbsp; &nbsp; {{ delivery.shippingMethod.description }}

&nbsp; &nbsp;

&nbsp; &nbsp; {% set billingAddress = order.addresses.get(order.billingAddressId) %}  
&nbsp; &nbsp; **Rechnungsadresse:**

&nbsp; &nbsp; {{ billingAddress.company }}

&nbsp; &nbsp; {{ billingAddress.firstName }} {{ billingAddress.lastName }}

&nbsp; &nbsp; {{ billingAddress.street }}

&nbsp; &nbsp; {{ billingAddress.zipcode }} {{ billingAddress.city }}

&nbsp; &nbsp; {{ billingAddress.country.name }}

&nbsp; &nbsp;

&nbsp; &nbsp; **Lieferadresse:**

&nbsp; &nbsp; {{ delivery.shippingOrderAddress.company }}

&nbsp; &nbsp; {{ delivery.shippingOrderAddress.firstName }} {{ delivery.shippingOrderAddress.lastName }}

&nbsp; &nbsp; {{ delivery.shippingOrderAddress.street }}

&nbsp; &nbsp; {{ delivery.shippingOrderAddress.zipcode}} {{ delivery.shippingOrderAddress.city }}

&nbsp; &nbsp; {{ delivery.shippingOrderAddress.country.name }}

&nbsp; &nbsp;

&nbsp; &nbsp; {% if billingAddress.vatId %}  
&nbsp; &nbsp; &nbsp; &nbsp; Ihre Umsatzsteuer-ID: {{ billingAddress.vatId }}  
&nbsp; &nbsp; &nbsp; &nbsp; Bei erfolgreicher Prüfung und sofern Sie aus dem EU-Ausland  
&nbsp; &nbsp; &nbsp; &nbsp; bestellen, erhalten Sie Ihre Ware umsatzsteuerbefreit.

&nbsp; &nbsp; {% endif %}

&nbsp; &nbsp; Für Rückfragen stehen wir Ihnen jederzeit gerne zur Verfügung.

---

_[View the full topic](https://forum.shopware.com/t/bestellbestatigung-an-shopbetreiber/65995)._
