Build a conditional block

Define conditions
Pick a product field, choose an operator, and enter a value to compare against. Combine multiple conditions with AND or OR.
Write the content
Enter the content for when conditions are met (then). Add else if branches for other cases, and an optional else for the fallback.
Condition operators
| Operator | What it checks | Needs a value? |
|---|---|---|
equals | Exact match | Yes |
not_equals | Does not equal | Yes |
contains | Contains a substring | Yes |
not_contains | Does not contain | Yes |
starts_with | Starts with | Yes |
ends_with | Ends with | Yes |
greater_than | Greater than (numeric) | Yes |
less_than | Less than (numeric) | Yes |
greater_than_or_equal | Greater than or equal | Yes |
less_than_or_equal | Less than or equal | Yes |
in_list | Is one of (comma-separated) | Yes |
is_empty | Has no value | No |
is_not_empty | Has a value | No |
is_true | Boolean true | No |
is_false | Boolean false | No |
Common patterns
Here are ready-to-use blocks for everyday scenarios. Each row is one branch, evaluated top to bottom.Free shipping banner by price
Free shipping banner by price
Stock urgency messaging
Stock urgency messaging
Create urgency for low stock and set expectations for out-of-stock items. Key:
stock_message| Branch | Condition | Content |
|---|---|---|
| IF | product.stock_quantity less than 5 AND product.stock_status equals in_stock | Only {{product.stock_quantity}} left in stock, order soon. |
| ELSE IF | product.stock_status equals out_of_stock | Currently out of stock. {{global.restock_text}} |
| ELSE IF | product.stock_status equals on_backorder | Available on backorder. {{global.backorder_lead_time}} |
| ELSE | None | In stock and ready to ship. {{global.lead_time_text}} |
Seasonal promotions
Seasonal promotions
Show different promo content based on the time of year. Key:
seasonal_promo| Branch | Condition | Content |
|---|---|---|
| IF | current.season equals Winter | Winter Sale: save up to 30% on selected items. |
| ELSE IF | current.season equals Summer | Summer clearance: extra discounts on last season’s stock. |
| ELSE IF | current.month equals November | Black Friday deals: check {{global.website_url}}/blackfriday for offers. |
| ELSE | None | (empty, no promo) |
B2B lead time by product type
B2B lead time by product type
Show the right lead time per product. Key:
lead_time| Branch | Condition | Content |
|---|---|---|
| IF | product.category in_list Custom Orders, Made to Order | Lead time: 4-6 weeks. Contact {{global.support_email}} for expedited options. |
| ELSE IF | product.stock_quantity greater than 100 | In stock. Ships within 1-2 business days. |
| ELSE IF | product.stock_quantity greater than 0 | In stock. {{global.lead_time_text}} |
| ELSE | None | Available on backorder. {{global.backorder_lead_time}} |
Hazardous material warnings
Hazardous material warnings
Add safety warnings to dangerous goods automatically. Key:
hazmat_notice| Branch | Condition | Content |
|---|---|---|
| IF | product.is_dangerous_good is_true | Warning: Hazardous material. Special shipping restrictions apply. {{brand.hazmat_handling}} Refer to the Safety Data Sheet before handling. |
| ELSE | None | (empty) |
Description suffix by price tier
Description suffix by price tier
Add different messaging based on the product’s price tier. Key:
price_tier_text| Branch | Condition | Content |
|---|---|---|
| IF | product.price greater than 500 | Premium product. Includes {{brand.warranty_text}} Contact our specialist team for bulk pricing: {{global.support_email}} |
| ELSE IF | product.price greater than 100 | Professional grade. {{brand.warranty_text}} Volume discounts available. |
| ELSE | None | {{brand.warranty_text}} |
Compliance text by country of origin
Compliance text by country of origin
Show different compliance statements based on where the product is made. Key:
origin_compliance| Branch | Condition | Content |
|---|---|---|
| IF | product.country_of_origin in_list CN, TW, VN, TH | Imported product. Complies with EU import regulations. {{global.reach_statement}} |
| ELSE IF | product.country_of_origin in_list DE, NL, FR, IT, ES | Manufactured in the EU. {{global.compliance_general}} |
| ELSE | None | {{global.compliance_general}} |
Content completeness nudge (internal)
Content completeness nudge (internal)
Flag products with missing data in internal exports or reports. Key:
data_quality_note| Branch | Condition | Content |
|---|---|---|
| IF | product.description is_empty | MISSING: Product description not set. |
| ELSE IF | product.meta_description is_empty | INCOMPLETE: SEO meta description missing. |
| ELSE IF | product.main_image is_empty | INCOMPLETE: Main product image missing. |
| ELSE | None | (empty, data looks complete) |
MOQ messaging for B2B
MOQ messaging for B2B
Show minimum order info that varies by product type and stock level. Key:
moq_message| Branch | Condition | Content |
|---|---|---|
| IF | product.category in_list Heavy Machinery, Industrial Equipment | Minimum order: 1 unit. Freight shipping required. Contact {{global.support_email}} for a quote. |
| ELSE IF | product.stock_quantity greater than 500 | In stock. Order from {{category.moq}} units. Volume discounts available for 500+ units. |
| ELSE | None | Minimum order: {{category.moq}} units. {{global.lead_time_text}} |
Sale badge content
Sale badge content
Generate dynamic sale badge text based on the discount depth. Key:
sale_badge| Branch | Condition | Content |
|---|---|---|
| IF | product.savings_percent greater_than_or_equal 50 | MEGA DEAL: {{product.savings_percent}}% OFF |
| ELSE IF | product.savings_percent greater_than_or_equal 25 | SALE: {{product.savings_percent}}% OFF |
| ELSE IF | product.special_price is_not_empty | {{product.savings_percent}}% OFF |
| ELSE | None | (empty, not on sale) |
Tips
- Branches are evaluated top to bottom, and the first match wins. Put specific conditions above general ones.
- Use AND when all conditions must be true (low stock AND in stock). Use OR when any one should trigger the content.
- Content fields support all variables:
{{product.*}},{{global.*}},{{brand.*}}, and{{category.*}}. - Leave the else content empty when you want no output for non-matching products.
Related
Default Variables
The built-in
{{product.*}} and {{current.*}} fields you test against.Global Variables
Reusable values to drop into your branch content.
Brand Variables
Brand-specific content to show inside conditions.
Category Variables
Category-specific content to show inside conditions.


