Other Liquid Tags

Use li-tag to wrap a string within a Liquid tag {% ... %}, ideal for assigning, incrementing, decrementing or capturing a variable.

Webflow
li-tag = assign product_title = product.title | upcase
Shopify
{% assign product_title = product.title | upcase %}

Important:

The div element that the li-tag is attached to gets replaced by the Liquid tag, so it can’t have any child elements. This is especially useful when you want to create more complex Liquid logic or use other Liquid tags from Shopify’s documentation.

Last updated

Was this helpful?