Convert more holiday shoppers with express checkout and buy now, pay later. Learn more
Trending
Product Icon

AutomateWoo

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

11 comments

Log in to comment on this feature request.

  1. natalyaixozi90 says:

    Great article! This was a really helpful guide, especially for players preparing for Path of Exile 2. I’ve also been looking into different PoE 2 Currency options. It’s always worth checking what’s available and comparing the choices before making a decision later.
    https://www.mmoexp.com/ro/Poe-2/Currency.html

  2. natalyaixozi90 says:

    Great article! This was a really helpful breakdown, especially for players getting ready for the next Path of Exile League. I’ve also been looking into options related to buy Path of Exile Currency. It’s worth comparing what’s available before the new season starts rather than rushing into anything later.

    https://www.mmoexp.com/ro/Path-of-exile/Currency.html

  3. natalyaixozi90 says:

    Great article! This was a really helpful breakdown, especially for players getting ready for Diablo 2. I’ve also been checking out Diablo II: Resurrected Gold options and seeing what’s available for players. It’s always better to do some research before launch rather than rush into a decision later.
    https://www.mmoexp.com/D2r/Gold.html

  4. natalyaixozi90 says:

    Diablo II: Resurrected Runes Account options. It’s worth comparing what’s available before launch rather than rushing into anything later.
    https://www.mmoexp.com/D2r/Runes.html

  5. natalyaixozi90 says:

    Great article! This was a really helpful breakdown, especially for players getting ready for Diablo 2. I’ve also been looking into options related to buy Diablo II: Resurrected Items. It’s worth comparing what’s available before launch rather than rushing into anything later.
    https://www.mmoexp.com/D2r/Items.html

  6. hrbrenda378 says:

    When playing WoW Forever, managing your gold efficiently can make a big difference, especially when it comes to upgrading equipment, buying consumables, and preparing for challenging content. For players looking to explore additional options, a resource like [WoW Forever Gold](https://www.mmoexp.com/Wow-forever/Gold.html) can be useful for comparing gold purchase options and planning their in-game spending. Just make sure to check the server rules and delivery details before making a decision.

  7. jamesjohnss787 says:

    Having great and amazing blog post

  8. jamesjohnss787 says:

    YES! I’d use this to customize order emails that are for digital vs. physical goods.

    So weird that this isn’t part of the functionality out of the box!

  9. lilydays84 says:

    This would be a really useful enhancement for AutomateWoo. Native if/else logic with support for custom variables would make email templates much more flexible, especially for bookings, travel, and personalized customer messaging. It could eliminate the need for multiple workflows while keeping emails clean and relevant. Interestingly, the idea of smarter conditional content reminds me of how platforms like cinehd tailor what users see based on context, making the overall experience feel more personalized.

  10. profoundly89cb90d15a says:

    hello woocommerce members, I had a good experience with Uno Online – a wonderful card game

  11. jmillspaysbills says:

    YES! I’d use this to customize order emails that are for digital vs. physical goods.

    So weird that this isn’t part of the functionality out of the box!

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.