How to use them
- Create a block — Give it a name and key.
- Define conditions — Pick a product field, choose an operator, and enter a comparison value. Combine multiple conditions with AND or OR.
- Write the content — Enter what should appear when conditions are met (then). Add else if branches for additional scenarios, and an optional else for the fallback.
- Reference in content — Use the key to insert the conditional block wherever variables are supported.
Condition operators
| Operator | Description | Needs value? |
|---|---|---|
equals | Exact match | Yes |
not_equals | Does not equal | Yes |
contains | Contains 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 |
Use case examples
1. Free shipping banner based on price
Show different shipping messages depending on the product price. Key:free_shipping
| Branch | Condition | Content |
|---|---|---|
| IF | product.price greater than 50 | Free shipping included. |
| ELSE | — | Shipping calculated at checkout. Add €{{global.free_shipping_threshold}} to your order for free shipping. |
2. Stock urgency messaging
Create urgency for low-stock items and set expectations for out-of-stock products. 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 | — | In stock and ready to ship. {{global.lead_time_text}} |
3. Seasonal promotions
Show different promotional content depending 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 | — | (empty — no promo) |
4. B2B lead time by product type
Different product categories have different lead times — show the right expectation 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 | — | Available on backorder. {{global.backorder_lead_time}} |
5. Hazardous material warnings
Automatically add safety warnings to dangerous goods. 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 | — | (empty) |
6. Product 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 | — | {{brand.warranty_text}} |
7. Compliance text by country of origin
Show different compliance statements depending on where the product is manufactured. 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 | — | {{global.compliance_general}} |
8. 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 | — | (empty — data looks complete) |
9. MOQ messaging for B2B
Show minimum order quantity information 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 | — | Minimum order: {{category.moq}} units. {{global.lead_time_text}} |
10. 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 | — | (empty — not on sale) |
Tips
- Conditions are evaluated top to bottom — the first matching branch wins. Put more specific conditions above general ones.
- Use AND logic when all conditions must be true (e.g., low stock AND in stock). Use OR when any condition should trigger the content.
- Content fields in conditional blocks support all variables —
{{product.*}},{{global.*}},{{brand.*}},{{category.*}}. - Leave the else content empty when you don’t want any output for non-matching products.

