$1 per month for the first 3 months of your Shopify store

Liquid basics


Liquid uses a combination of tags, objects, and filters to load dynamic content. These are used inside Liquid template files that make up the store theme. For more information on the available templates, please see Creating Themes.

In this article

Tags

Tags allow you to create program logic that tells templates what exactly they should do. Learn more

{% if user.name == 'elvis' %}
Hi Elvis
{% endif %}

Objects

Objects contain attributes that are used to display dynamic content on the page. Learn more

{{ product.title }} <!-- The result: Awesome shirt -->

Filters

Filters are used to change (modify, transform, etc.) string, numeric, variable data, and objects. Learn more

{{ 'sales' | append: '.jpg' }} <!-- The result: sales.jpg -- >