Conditional Logic
With YayMail Conditional Logic Addon, you can choose to display any elements or WooCommerce blocks when one or more conditions are satisfied.
For instance, you can add a Featured Products section to your email body. And then, create a condition to allow displaying it in emails if the ordered product belongs to a specific category.

List of conditional logic in YayMail
By choosing Product category is "Tshirts", you will be able to display these related products (hoodies, caps, etc.) when a customer has bought a t-shirt.

With this setup, when a customer buys a t-shirt, they will receive an order confirmation email. This email includes links to other product categories in your shop that you have set. So that you boost the chance of customers visiting your store and further browsing Hoodies/Caps categories.
Other WooCommerce conditional logic options include but are not limited to:
- Billing country is
- Product category is
- Total order minimum is
- Total order maximum is
- Payment method is
- Shipping method is
- Coupon codes is
Last modified 2mo ago