Links

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.
For a complete list of filters supported by Mechanic, see Filters.
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 modified 5mo ago