◆
E-commerce

Shopify Liquid Basics

May 20, 2026

Liquid is Shopify's templating language. Understanding the basics lets you customize your theme beyond what the editor allows.

What Is Liquid?

Key What Is Liquid?

  • Reach customers 24/7 with an online store
  • Lower overhead costs compared to physical retail
  • Access global markets and audiences
  • Track sales and customer behavior
  • Automate inventory and order management

Liquid is a template language created by Shopify. It processes data from your store and outputs HTML. It is designed to be safe — it cannot access the database or execute arbitrary code.

Basic Syntax

Key Basic Syntax

Liquid uses three types of delimiters. Output variables with {{ double curly braces }}. Write logic with {% curly brace percent signs %}. Comments go inside {% comment %} tags.

Objects and Properties

Key Objects and Properties

Objects contain data from your store. product.title, collection.products, customer.email. Liquid gives you access to nearly every piece of store data.

Filters

Key Filters

Filters modify output. Common filters: upcase, downcase, date, money, strip_html, truncate. Chain filters for complex transformations.

Tags

Key Tags

Tags control logic flow. Use for loops to iterate over products. Use if/else for conditions. Use assign to create variables. Use include to reuse template snippets.

Where to Learn More

Key Where to Learn More

Shopify's Liquid documentation is excellent. Start with the basics, experiment in a duplicate theme, and build up from there.

You do not need to master Liquid to use Shopify. But knowing the basics unlocks serious customization capability.

Learn more about E-commerce Development Services.

Image credit: Carlos Muza on Unsplash