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.Mechanic inherits all filters from Liquid itself, and adds several of its own. It does not have all of Shopify's filters.
Liquid filters should not be confused with event filters, which are used to conditionally ignore incoming events.
{{ order.billing_address.zip | upcase }}
{% assign full_name = customer.first_name | append: " " | append: customer.last_name %}
Last modified 5mo ago