Filters
Filters transform a value into something else. Filters are separated by the pipe symbol: |
. Filters can be chained, performing several transformations in a sequence.
Liquid filters should not be confused with event filters, which are used to conditionally ignore incoming events.
Example syntax
{{ order.billing_address.zip | upcase }}
{% assign full_name = customer.first_name | append: " " | append: customer.last_name %}
Last updated
Was this helpful?