Iteration tags run blocks of code repeatedly. Click here to learn more about liquid iteration tags. Please keep in mind that some Liquid tags may not work in Neon Fundraise's Liquid implementation.
for
Repeatedly executes a block of code.
{% for ticket in Tickets %}
{{ ticket.Name }}
{% endfor %}
Adult Child VIP
else
Specifies a fallback case for a for
loop which will run if the loop has zero length.
{% for ticket in Tickets %}
{{ ticket.Name }}
{% else %}
There are no tickets.{% endfor %}
There are no tickets.
break
Causes the loop to stop iterating when it encounters the break
tag.
{% for i in (1..5) %}
{% if i == 4 %}
{% break %}
{% else %}
{{ i }}
{% endif %}
{% endfor %}
1 2 3
continue
Causes the loop to skip the current iteration when it encounters the continue
tag.
{% for i in (1..5) %}
{% if i == 4 %}
{% continue %}
{% else %}
{{ i }}
{% endif %}
{% endfor %}
1 2 3 5