Bestellbestätigung an Shopbetreiber

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:

    |
        Pos. |
        Bezeichnung |
        Menge |
        Preis |
        Summe |
   

    {% for lineItem in order.lineItems %}
   

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

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

    {% endfor %}

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

   

   

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

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

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

        {% endfor %}
    Gesamtkosten Brutto: {{ order.amountTotal|currency(currencyIsoCode) }}

   

    Gewählte Zahlungsart: {{ order.transactions.first.paymentMethod.name }}

    {{ order.transactions.first.paymentMethod.description }}

   

    Gewählte Versandart: {{ delivery.shippingMethod.name }}

    {{ delivery.shippingMethod.description }}

   

    {% set billingAddress = order.addresses.get(order.billingAddressId) %}
    Rechnungsadresse:

    {{ billingAddress.company }}

    {{ billingAddress.firstName }} {{ billingAddress.lastName }}

    {{ billingAddress.street }}

    {{ billingAddress.zipcode }} {{ billingAddress.city }}

    {{ billingAddress.country.name }}

   

    Lieferadresse:

    {{ delivery.shippingOrderAddress.company }}

    {{ delivery.shippingOrderAddress.firstName }} {{ delivery.shippingOrderAddress.lastName }}

    {{ delivery.shippingOrderAddress.street }}

    {{ delivery.shippingOrderAddress.zipcode}} {{ delivery.shippingOrderAddress.city }}

    {{ delivery.shippingOrderAddress.country.name }}

   

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

    {% endif %}

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