Filters transform a value into something else. Filters are separated by the pipe symbol: |. Filters can be chained, performing several transformations in a sequence.

See Mechanic filters for a complete list of filters supported by Mechanic Liquid.

Liquid filters should not be confused with event filters, which are used to conditionally ignore incoming events.

Example syntax

{{ | upcase }}

{% assign full_name = customer.first_name | append: " " | append: customer.last_name %}

Last updated