Forum Discussion
BenLerner-Paio
11 months 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
- 7 months ago