Guten Tag,
ich versuche gerade, die Bankverbindung bei E-Mail Bestätigungen einzubinden, die Vorkasse ausgewählt haben.
In der Theorie ist das ganz leicht, in der Praxis wird mein Code ignoriert. Darüber hinaus ist mir aufgefallen, dass in dem Template Variablen für einen nicht abgeschlossenen Kauf sind
{% if has_pending_payment %}
{% if buyer_action_required %}
Du erhältst eine Bestätigungs-E-Mail, nachdem du deine Zahlung abgeschlossen hast.
die aber bei Auswahl von Vorkasse gar nicht benutzt werden. Es wird in der E-Mail direkt ausgegeben:
Wir bereiten deine Bestellung gerade für den Versand vor. Wir benachrichtigen dich, sobald die Bestellung verschickt wurde.
obwohl die Zahlung ausstehend ist.
Ich habe das mit Testkäufen geprüft!
Zurück zum eigentlichen Anliegen:
Ich habe, entsprechend dieser Anleitung, den Code entsprechend modifiziert. Zum finden einfach nach “Bitte überweisen Sie den Betrag auf folgendes Konto” suchen.
Kann mir jemand sagen, warum es nicht funktioniert?
Liebe Grüße
Show More
{% capture email_title %} {% if has_pending_payment %} Vielen Dank für deine Bestellung! {% else %} Vielen Dank für deinen Einkauf! {% endif %} {% endcapture %} {% capture email_body %} {% if has_pending_payment %} {% if buyer_action_required %} Du erhältst eine Bestätigungs-E-Mail, nachdem du deine Zahlung abgeschlossen hast. {% else %} Deine Zahlung wird verarbeitet. Du erhältst eine E-Mail, wenn deine Bestellung bestätigt ist. {% endif %} {% else %} {% if requires_shipping %} {% case delivery_method %} {% when ‘pick-up’ %} Du erhältst eine E-Mail, sobald deine Bestellung zur Abholung bereit ist. {% when ‘local’ %} Hallo {{ customer.first_name }}! Wir bereiten deine Bestellung gerade für die Zustellung vor. {% else %} Wir bereiten deine Bestellung gerade für den Versand vor. Wir benachrichtigen dich, sobald die Bestellung verschickt wurde. {% endcase %} {% if delivery_instructions != blank %}
Informationen zur Zustellung: {{ delivery_instructions }}
{% endif %} {% if consolidated_estimated_delivery_time %}
Voraussichtliche Zustellung {{ consolidated_estimated_delivery_time }}
{% endif %} {% endif %} {% endif %} {% assign gift_card_line_items = line_items | where: “gift_card” %} {% assign found_gift_card_with_recipient_email = false %} {% for line_item in gift_card_line_items %} {% if line_item.properties[“__shopify_send_gift_card_to_recipient”] and line_item.properties[“Recipient email”] %} {% assign found_gift_card_with_recipient_email = true %} {% break %} {% endif %} {% endfor %} {% if found_gift_card_with_recipient_email %}
Der Empfänger deines Geschenkgutschein erhält eine E-Mail mit dem Code des Geschenkgutscheins.
{% elsif gift_card_line_items.first %}
Du erhältst separate Benachrichtigungen für Geschenkgutscheine.
{% endif %} {% endcapture %}
|
{%- if shop.email_logo_url %} {%- else %} # {{ shop.name }} {%- endif %} |
|
|
Bestellung {{ order_name }} |
|
|
Bestellnummer {{ po_number }} |
{{ email_body }}
{% assign transaction_count = transactions | size %} {% if transaction_count > 0 %} {% for transaction in transactions %} {% if transaction.show_buyer_pending_payment_instructions? %}
{{transaction.buyer_pending_payment_notice}}
{% for instruction in transaction.buyer_pending_payment_instructions %} {% endfor %} {% for instruction in transaction.buyer_pending_payment_instructions %} {% endfor %}
|
{{ instruction.header }} |
Betrag |
|
{{ instruction.value }} |
{{transaction.amount | money}} |
{% endif %} {% endfor%} {% endif %} {% if order_status_url %}
|
Bestellung ansehen |
|
oder Zu unserem Shop |
|
Zu unserem Shop |
Bestellübersicht |
{% 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 %}
|
{% if line.image %} {% endif %} |
|
Rabatt {{ discount_title }} |
-{{ discount_application.total_allocated_amount | money }} |
|
Zwischensumme |
{{ subtotal_price | money }} |
|
Abholungen |
{{ shipping_price | money }} |
|
Versand |
{{ shipping_price | money }} |
|
Zollgebühren |
{{ total_duties | money }} |
|
Steuern |
{{ tax_price | money }} |
|
Tip |
{{ total_tip | money }} |
|
Gesamtbetrag heute bezahlt |
{{ transaction_amount | money_with_currency }} |
|
Gesamtbetrag am {{ due_at_date }} fällig |
{{ payment_terms.next_payment.amount_due | money_with_currency }} |
|
Gesamt |
{{ total_price | money_with_currency }} |
Du hast {{ total_discounts | money }} gespart
{% endif %} {% unless payment_terms %} {% 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 }} (mit den letzten Ziffern {{ 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
{{ refund_method_title | capitalize }}
- {{ transaction.amount | money }}
|
{{transaction_name}} |
{{ transaction.amount | money }} |
Kundeninformationen |
Lieferadresse {{ shipping_address | format_address }} |
Rechnungsadresse {{ billing_address | format_address }} |
|
Falls du Fragen hast, antworte auf diese E-Mail oder kontaktiere uns unter [{{ shop.email }}](mailto:{{ shop.email }}). |
