Forum Discussion
reed
2 years agoActive Member
Data Feeds and Vouchers personalization
For those of you who work with Data Feeds — specifically Voucher type — If I have 1,000 vouchers, and use in an email to send to 5,000 people, after the first 1,000 are used,
Is this possible — w...
BenLerner-Paio
2 years agoSpecialist
Hey! Yes I think you could enclose that all within an IF statement in Liquid. i.e
// Getting the value of the code for the individual send
{% assign currentVouchCode = {% voucher ('MeFeedCode') %} %}
// Checking if there is a value
{% if currentVouchCode != blank %]
{{ currentVouchCode }}
{% else %}
Sorry there is no code listed
{% endif %}
Something like this should work - test it out.
Related Content
- 8 months ago
- 2 years ago