Shopify Liquid Fundamentals
Installation
SKILL.md
Shopify Liquid Fundamentals
Core Principles
Whitespace Control
- Use
{%- -%}to trim whitespace around Liquid tags - Prefer
{% render %}over deprecated{% include %} - Use
{% liquid %}for multi-line logic blocks
Example:
{%- liquid
assign product_available = product.available | default: false
assign product_price = product.price | default: 0