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.

Example syntax

1
{{ order.billing_address.zip | upcase }}
2
​
3
{% assign full_name = customer.first_name | append: " " | append: customer.last_name %}
Copied!
Last modified 1yr ago
Copy link
Edit on GitHub