Conditional Logics
Learn to apply condition logic in your email templates to adjust their content based on factors like user role, cart items, payment methods, and more.
Introduction
The Conditional Logics addon enhances the functionality of the Spark Email Editor by providing additional features that improve user experience and email design capabilities through conditional content rendering. This document outlines the installation, features, and usage of the addon.
Make sure you have already installed and activated the Spark Email Editor plugin. Please note that the Addon explained in this doc can be accessible only in the PRO version. Do More with the PRO Version
Conditional logic features
User Role - Customize email template using conditional logic and dynamically adjust its content that match the user’s role.
Order Total - Adjust email templates according to the customer’s order total and send personalized email content that enhances conversions.
Coupons - Use conditional logic to tailor content in your email templates for specific coupon users. Send targeted emails based on the customer's coupon activity.
Country - Use conditional logic and adjust your email templates based on the customer’s location, offering country-specific content for each user.
Products - Use conditional logic to personalize email template content for specific products that your customers have purchased or shown interest in.
Payment Method - Apply conditional logic to tailor email templates based on payment methods. Ensure each customer receives relevant email content based on their chosen payment method.
Categories - Dynamically adjust the content of your email templates based on the category your customer has bought a product.
Requirements :-
Woocommerce
The Spark Email Editor PRO plugin
The "Conditional logics" Addon pack.
Let's get started,
The Conditional logic can be configured for any part, column or even the entire body of the email template. Multiple conditions can be assigned for a single part or column of the templates.
Scenario
How to set a Conditions for the entire New order template ?
Select the New order template
Navigate to Styles and Select the Section or part you want to be covered under a condition. (In this case the entire Body) and Click the Tab "Add Conditional Logic"
Select and configure the Condition for the selected template, so that the template will be displayed only when the condition is matched.
Save the condition by clicking "Add Condition"
After adding multiple condition, select how the condition relationship should be "AND" or "OR"
Save the template after the configuration.
Screenshot of the Mail
NOTE :- The conditions can be used dynamically on different parts and columns of a template using the "AND" & "OR" logic as multiple Conditions can be added to a single part, column, body or the entire template.
The Conditional Logic addon can be can be purchased from Here.
Still unclear ? Please submit a support request. We are always happy to assist you :)
Last updated