Skip to content
跨境独立站开店
Guides

Shopify Liquid Language Basics, Usage, and Cheat Sheet

This guide introduces the fundamentals of Liquid, a tool used for advanced customization of Shopify stores, along with helpful tips and information.

Check Shopify registration offers in your regionSee current offer

What is Shopify Liquid?

Shopify's "Liquid" is a programming language that helps you customize the appearance of your online store. Like HTML and CSS, which are used to create regular web pages, Liquid is a type of structure and style for websites.

Object handles

An object handle is like a name tag used to identify products, collections, blogs, and other objects. Object handles are automatically created from the product's name and are used to construct web page URLs and retrieve specific product information.

Comparison operators and logical operators

The comparison and logical operators available in Shopify's Liquid language are as shown above. Comparison operators are used to compare two values.

Types

The six data types listed above are available in Shopify's Liquid language. Each type plays a role in controlling the behavior and display of your website.

Related reading

View all
Cross-border commerce

What is Merchant of Record (MoR)? Cross-border e-commerce

This article introduces the meaning and role of Merchant of Record (MoR). Understanding its mechanisms and benefits in cross-border e-commerce will help you better grasp the operations of international sales.

Cross-border commerce

Shopify Expert Marketplace: Get support from experts

Small and medium-sized business owners have a mountain of things to manage. Even if they are experts in their own business, it is difficult to acquire all the specialized knowledge in every field necessary for starting and growing a business.

View offer
Shopify

Start free and explore current offers

Visit Shopify for trial duration, eligible plans and promotions available in your region.

Register free with ShopifyAffiliate disclosure