E-Mail Template anpassen Zahlungsarten

Hallo Gabe, vielen Dank für die ausführliche Antwort und die ganzen Infos! :slightly_smiling_face:

Mein E-Mail Template hat wahrscheinlich nicht mehr viel mit der Standard-Version von Shopify zu tun, da ich es vor mehreren Jahren von einem YouTube Tutorial übernommen hatte.

Ich habe nun wieder viele Varianten ausgetestet, doch leider ohne das gewünschte Ergebnis.
Vielleicht ist es das einfachste, wenn ich den Code hier teile, evtl. findest Du ja einen groben Fehler :slightly_smiling_face:
(Der Abschnitt bezüglich der Vorkasse wurde bei Zeile 7-23 eingefügt)

Show More

{% if transaction.gateway_display_name == "Vorkasse" %}

Bitte überweise noch den offenen Betrag an:
Empfänger: ....
IBAN: ...
BIC: ...
Bank: ...
Verwendungszweck: Gib hier bitte Deine Bestellnummer an (#XXXX)
Nach Geldeingang versenden wir umgehend Deine Bestellung

{% endif %} **Auftragsabwicklung:**
Aktuell haben wir eine unerwartet hohe Nachfrage. Dennoch versenden wir unsere Bestellungen so schnell wie möglich.
Die aktuelle Auftragsbearbeitungszeit beträgt ... Tage.

**Versandzeit:**
Die Versandzeit beträgt ... Werktage nach der Bearbeitung Deiner Bestellung. Das Warten auf Deine Bestellung lohnt sich. Unsere Kunden sind begeistert und kaufen gerne wieder ein!

**BONUS: Wir schenken Dir ein eBook!**
Das eBook mit vielen praktischen Tipps zu ..., kannst Du Dir unter dem folgenden Link herunterladen:

[eBook ...](https://drive.google.com/file/d/1Y-6bQ...)

{% endif %} {% endcapture %} <table>

</table><table>

</table><table>

</table>

| <br><br>{%- if shop.email_logo_url %} {%- else %}# {{ shop.name }}{%- endif %}<br><br> | <br><br>Bestellung {{ order_name }} <br><br> |
| - | - |

<table>

</table>
## {{ email_title }}

{{ email_body }}

{% if order_status_url %}<table>
</table>

| <br><br> |
| - |

| <br><br>Bestellung ansehen<br><br> |
| - |

{% if shop.url %}

| <br><br>oder zu unserem Shop<br><br> |
| - |

{% endif %}{% else %} {% if shop.url %}<table>

</table>

| <br><br>zu unserem Shop<br><br> |
| - |

{% endif %} {% endif %}<table>

</table>

| <br><br>### Bestellübersicht<br><br> |
| - |

{% for line in subtotal_line_items %} {% endfor %}<table>
</table><table>

</table>
{% if line.original_line_price != line.final_line_price %} <del>{{ line.original_line_price | money }}</del> {% endif %}

{% if line.final_line_price > 0 %} {{ line.final_line_price | money }} {% if line.unit_price_measurement %}

{{ line.unit_price | money }}/ {%- if line.unit_price_measurement.reference_value != 1 -%} {{- line.unit_price_measurement.reference_value -}} {%- endif -%} {{ line.unit_price_measurement.reference_unit }}
{% endif %} {% else %} Kostenlos {% endif %}

| <br><br>{% if line.image %} {% endif %}<br><br> | <br><br>{% if line.product.title %} {% assign line_title = line.product.title %} {% else %} {% assign line_title = line.title %} {% endif %} {% if line.quantity < line.quantity %} {% capture line_display %} {{ line.quantity }} of {{ line.quantity }} {% endcapture %} {% else %} {% assign line_display = line.quantity %} {% endif %} {{ line_title }} × {{ line_display }}<br>{% if line.variant.title != 'Default Title' %} {{ line.variant.title }}<br>{% endif %} {% if line.refunded_quantity > 0 %} Refunded {% endif %} {% if line.discount_allocations %} {% for discount_allocation in line.discount_allocations %} {% if discount_allocation.discount_application.target_selection != 'all' %} {{ discount_allocation.discount_application.title | upcase }} (-{{ discount_allocation.amount | money }}) {% endif %} {% endfor %} {% endif %}<br><br> |
| - | - |

{% for discount_application in discount_applications %} {% if discount_application.target_selection == 'all' %} {% capture discount_title %} {% if discount_application.title %} {{ discount_application.title | upcase }} {% else %} Rabatt {% endif %} {% endcapture %} {% endif %} {% endfor %} {% if total_duties %} {% endif %} {% if total_tip and total_tip > 0 %} {% endif %}

| <br><br> |
| - |

| <br><br>Rabatt {{ discount_title }} <br><br> | <br><br>**-{{ discount_application.total_allocated_amount | money }}**<br><br> |
| - | - |
| <br><br>Zwischensumme<br><br> | <br><br>**{{ subtotal_price | money }}**<br><br> |
| <br><br>Versand<br><br> | <br><br>**{{ shipping_price | money }}**<br><br> |
| <br><br>Aufgaben<br><br> | <br><br>**{{ current_total_duties | money }}**<br><br> |
| <br><br>Steuern<br><br> | <br><br>**{{ tax_price | money }}**<br><br> |
| <br><br>Tip<br><br> | <br><br>**{{ total_tip | money }}**<br><br> |

| <br><br>Gesamt<br><br> | <br><br>**{{ total_price | money_with_currency }}**<br><br> |
| - | - |

{% if total_discounts > 0 %}

Du sparst {{ total_discounts | money }}

{% endif %} {% assign transaction_size = 0 %} {% assign transaction_amount = 0 %} {% for transaction in transactions %} {% if transaction.status == "success" %} {% unless transaction.kind == "authorization" or transaction.kind == "void" %} {% assign transaction_size = transaction_size | plus: 1 %} {% assign transaction_amount = transaction_amount | plus: transaction.amount %} {% endunless %} {% endif %} {% endfor %} {% if transaction_size > 1 or transaction_amount < total_price %} {% for transaction in transactions %} {% if transaction.status == "success" and transaction.kind == "capture" or transaction.kind == "sale" %} {% if transaction.payment_details.credit_card_company %} {% capture transaction_name %}{{ transaction.payment_details.credit_card_company }} (ending in {{ transaction.payment_details.credit_card_last_four_digits }}){% endcapture %} {% else %} {% capture transaction_name %}{{ transaction.gateway_display_name }}{% endcapture %} {% endif %} {% endif %} {% if transaction.kind == 'refund' %} {% if transaction.payment_details.credit_card_company %} {% assign refund_method_title = transaction.payment_details.credit_card_company %} {% else %} {% assign refund_method_title = transaction.gateway %} {% endif %} {% endif %} {% endfor %}

Zurückerstatten
<small>{{ refund_method_title | capitalize }}</small>

**- {{ transaction.amount | money }}**<table>

<tr>

<td colspan="2">

</td>

</tr>

<tr>

<td colspan="2">

</td>

</tr>

<tr>

<td>

{{transaction_name}}

</td>

<td>

**{{ transaction.amount | money }}**

</td>

</tr>
</table>{% endif %}<table>

</table>

| <br><br>### Kundeninformationen<br><br> |
| - |

{% if requires_shipping and shipping_address %} {% endif %} {% if billing_address %} {% endif %}<table>
</table>

| <br><br>#### Lieferadresse{{ shipping_address | format_address }}<br><br> | <br><br>#### Rechnungsadresse{{ billing_address | format_address }}<br><br> |
| - | - |

{% if requires_shipping and shipping_address %} {% endif %} {% assign transaction_count = transactions | size %} {% if transaction_size > 0 %} {% endif %}

| <br><br>#### Versand<br><br>{{ shipping_method.title }}<br><br> | <br><br>#### Zahlung{% for transaction in transactions %} {% if transaction.status == "success" or transaction.status == "pending" %} {% if transaction.kind == "capture" or transaction.kind == "sale" %}<br><br>{% if transaction.payment_details.credit_card_company %} {% capture credit_card_url %}notifications/{{ transaction.payment_details.credit_card_company | downcase | replace: " ", "_" }}.png{% endcapture %} Zahlung {% else %} {{ transaction.gateway_display_name }} — **{{ transaction.amount | money }}** {% endif %}<br><br>{% endif %} {% endif %} {% endfor %}<br><br> |
| - | - |

<table>

</table>

| <br><br>Falls Du Fragen hast, antworte einfach auf diese E-Mail oder kontaktiere uns unter [{{ shop.email }}](mailto:{{ shop.email }}).<br><br> |
| - |

{%- if shop.terms_of_service.body != blank -%} {{ shop.terms_of_service | attach_as_pdf: "AGB" }} {%- endif -%} {%- if shop.refund_policy.body != blank -%} {{ shop.refund_policy | attach_as_pdf: "Widerrufsbelehrung" }} {%- endif -%} ```

Ich wäre Dir sehr dankbar, wenn Du einmal drüber schauen könntest ob Dir etwas auffällt und woran es liegen könnte. :slightly_smiling_face:
Vielen Dank im Voraus

LG Tim