Forum Discussion
BenLerner-Paio
2 years agoExpert
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
- 3 months ago
- 2 years ago