We are trying to extend the abandoned cart email (Abandoned Checkout Notification) with an if statement on the cart total price. So I’ve added the following code into the table HTML:
{% if cart.total_price >= 7500 %}
## {{ email_title }}
{{ email_body }}
{% else %}
Hallo, je hebt één of meerdere artikelen aan je winkelwagen toegevoegd en je aankoop niet voltooid. Je kunt deze nu voltooien terwijl het nog beschikbaar is. Gebruik nu de eenmalige code **1VCH2JRJ71XX** voor gratis verzending.
{% endif %}
How I want it to work:
If the total cart price is 75 euros or more than the email_title and email_body must show.
If the total cart price is less than 75 euro, the else must be shown.
How it works (but is not correct):
Always the else is shown.