The ability to add if/else statements in the email content to define what appears. Should work with custom variables.
Use case example -> a bookable activity which could be multiple days or only one day:
{% if order.start_date == order.end_date %}
Date: {{ order.start_date }}
{% else %}
Start date: {{ order.start_date }}
End date: {{ order.end_date }}
{% endif %}
Use case 2 -> additional resources sent to customers booking an activity in their own/a different country
{% if customer.billing_address.country =! product.country %}
See these useful resources for your trip to {{ product.country }}!
Visa rules and entry requirements (link)
Great places to visit in… (link)
{% elseif customer.billing_address.country == product.country %}
Domestic tourism rules!
{% endif %}
Open
Last updated: January 16, 2024
0 comments
Log in to comment on this feature request.