Make two previews from the same email

Sign in to save your progress

In a test shop, open the welcome email editor. Keep the buying-guide button in the main text. Use the editor’s [] picker for the coupon fields. Wrap the entire optional offer, including its expiry wording, in the condition below.

[[if !empty($coupon_code)]]
Your welcome code:
[[$coupon_code|escape]]
Valid until:
[[$coupon_expire_date|escape]]
[[/if]]

Practice

  1. Assign a valid coupon template to the test flow. Open the preview. Find the code, the expiry date and the buying-guide button.
  2. Select No coupon and preview again. Read the subject, preview text and body aloud. The welcome and button should still make sense. An isolated “Valid until” or a promised discount means some copy sits outside the condition.
  3. Repeat for the other language and the plain-text version you use. Restore the test settings when done.

On paper, write out both received versions with a sample code and date, then with the code absent. Keep the button in both. Find the template fields

Worked example

A welcome email offers a guide to everyone and a coupon to some buyers. Put the discount sentence, code and expiry inside the same coupon condition. Preview both cases. The guide button should work in both.

Bring past customers back with a ready-made flow
Prepare your shop for MailBeez email
Ask for a product review after delivery
Celebrate the day a customer joined
Send birthday wishes at the right time
Keep checkout test addresses out of mailings
Give a module a sending window
Choose customer groups for a mailing
Tell prospects, customers and buyers apart
Answer a customer with Customer Insight
Build, test and use a product audience
Import contacts into a newsletter topic
Build a custom flow from purchase history
Plan a Black Friday warm-up with follow-ups
Send one newsletter for a seasonal event
Choose your next automation from shop data
Explain a change in newsletter clicks
Help a shopper place their first order
Test newsletter signup as a shopper
What did this customer unsubscribe from?
Write a welcome email with an optional coupon
No results found