Hey Leute, sorry falls es das Thema schon gibt, ich konnte in meiner Suche leider nix finden.
Es geht darum dass ich versuche, einen automatischen Rabatt einzurichten, welcher in der E-Mail, die nach einem abgebrochenen Checkout automatisch versendet wird, hinterlegt wird.
Laut der folgenden Shopify-Anleitung:
https://help.shopify.com/de/manual/discounts/discounts-for-abandoned-checkout-recovery-emails
muss ich folgende Zeile in meiner E-Mail ersetzen:
Items in your cart
Das Problem ist allerdings, dass sich diese Zeile nirgends im Code meiner E-Mail finden lässt? Ich bin mir daher nicht sicher, ob ich einfach nur Blind bin, oder die Shopify Anleitung hier tatsächlich nicht mehr auf dem neuesten Stand ist…
Das ist der Code meiner E-Mail (sorry fĂĽr den langen code, ich hab versucht ihn in einen spoiler-tag zu setzen aber irgendwie hat es nicht funktioniert :/)
Show More
</table><table>
</table><table>
</table>
| <br><br>{%- if shop.email_logo_url %} {%- else %}# Vielen Dank fĂĽr deinen Besuch bei {{ shop.name }}{%- endif %}<br><br> |
| - |
<table>
</table>
## {{ email_title }}<table>
</table><table>
</table>
| <br><br>SchlieĂźe deinen Einkauf ab<br><br> |
| - |
{% if custom_message != blank %}
{{ custom_message }}
{% 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.selling_plan_allocation %} {{ line.selling_plan_allocation.selling_plan.name }}<br>{% endif %} {% if line.refunded_quantity > 0 %} ZurĂĽckerstattet {% 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 delivery_method == 'pick-up' %} {% else %} {% endif %} {% if current_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>Abholungen<br><br> | <br><br>**{{ shipping_price | money }}**<br><br> |
| <br><br>Versand<br><br> | <br><br>**{{ shipping_price | money }}**<br><br> |
| <br><br>ZollgebĂĽhren<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 hast {{ total_discounts | money }} gespart
{% 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 }} (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
<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 %}{% if shipping_address or billing_address or shipping_method %}<table>
</table>
| <br><br>### Kundeninformationen<br><br> |
| - |
{% if 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 shipping_method %}
| <br><br>#### Versand<br><br>{{ shipping_method.title }}<br>{{ shipping_method.price | money }}<br><br> |
| - |
{% endif %}{% endif %} {% if shop.url %}<table>
</table>
| <br><br>Komme zurĂĽck oder besuche unseren Onlineshop.<br><br> |
| - |
{% endif %}<table>
</table>
| <br><br>Falls du Fragen hast, antworte auf diese E-Mail oder kontaktiere uns unter [{{ shop.email }}](mailto:{{ shop.email }}).<br><br> |
| - |
Ich habe in dem Code nie etwas verändert (zumindest nicht wissentlich) aber vielleicht kann mir ja hier jemand einen Tipp geben, wie ich den automatischen Rabatt einrichten kann.
Vielen Dank im vorraus!