Product Icon

AutomateWoo

by  Woo
Powerful marketing automation for WooCommerce. AutomateWoo has the tools you need to grow your store and make more money.

Conditional logic for email content

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 %}

Author

dave673774664

Current Status

Open

Last updated: January 16, 2024

0 comments

Log in to comment on this feature request.