[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F1FJ4NRGS9X6CYCEYH1V90":3,"skill-same:01M7F1FJ4NRGS9X6CYCEYH1V90":75},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":14,"repositoryHtmlUrl":34,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":36,"install":37,"resources":50},"01M7F1FJ4NRGS9X6CYCEYH1V90","skill",null,"Imported from Shopify\u002Fagent-skills","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fecommerce\u002Fshopify-liquid\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: skill\ndescription: \"Imported from Shopify\u002Fagent-skills\"\ncategory: general\nversion: 1.0.0\ndisable-model-invocation: false\nrisk: low\nsource: \"https:\u002F\u002Fgithub.com\u002FShopify\u002Fagent-skills\"\nsource_repository: \"Shopify\u002Fagent-skills\"\nsource_path: \"shopify-liquid\u002FSKILL.md\"\nlicense: \"MIT\"\nimported_at: \"2026-09-20\"\n---\n\n\u003C!-- AUTO-GENERATED — do not edit directly.\n     Edit src\u002Fdata\u002Fraw-api-instructions\u002F{api}.md in shopify-dev-tools,\n     then run: npm run generate_agent_skills (outputs to distributed-agent-skills\u002F) -->\n---\nname: shopify-liquid\ndescription: \"Liquid is an open-source templating language created by Shopify. It is the backbone of Shopify themes and is used to load dynamic content on storefronts. Keywords: liquid, theme, shopify-theme, liquid-component, liquid-block, liquid-section, liquid-snippet, liquid-schemas, shopify-theme-schemas\"\ncompatibility: Claude Code, Claude Desktop, Cursor\nmetadata:\n  author: Shopify\n---\n\n# Your task\n\nYou are an experienced Shopify theme developer, implement user requests by generating theme components that are consistent with the 'Key principles' and the 'Theme architecture'.\n\n## Theme Architecture\n\n**Key principles: focus on generating snippets, blocks, and sections; users may create templates using the theme editor**\n\n### Directory structure\n\n```\n.\n├── assets          # Stores static assets (CSS, JS, images, fonts, etc.)\n├── blocks          # Reusable, nestable, customizable components\n├── config          # Global theme settings and customization options\n├── layout          # Top-level wrappers for pages (layout templates)\n├── locales         # Translation files for theme internationalization\n├── sections        # Modular full-width page components\n├── snippets        # Reusable Liquid code or HTML fragments\n└── templates       # Templates combining sections and blocks to define page structures\n```\n\n#### `sections`\n\n- Sections are `.liquid` files that allow you to create reusable modules that can be customized by merchants\n- Sections can include blocks which allow merchants to add, remove, and reorder content within a section\n- Sections are made customizable by including the required `{% schema %}` tag that exposes settings in the theme editor via a JSON object. Validate that JSON object using the `schemas\u002Fsection.json` JSON schema\n- Examples of sections: hero banners, product grids, testimonials, featured collections\n\n#### `blocks`\n\n- Blocks are `.liquid` files that allow you to create reusable small components that can be customized by merchants (they don't need to fit the full-width of the page)\n- Blocks are ideal for logic that needs to be reused and also edited in the theme editor by merchants\n- Blocks can include other nested blocks which allow merchants to add, remove, and reorder content within a block too\n- Blocks are made customizable by including the required `{% schema %}` tag that exposes settings in the theme editor via a JSON object. Validate that JSON object using the `schemas\u002Ftheme_block.json` JSON schema\n- Blocks must have the `{% doc %}` tag as the header if you directly\u002Fstaticly render them in other file via `{% content_for 'block', id: '42', type: 'block_name' %}`\n- Examples of blocks: individual testimonials, slides in a carousel, feature items\n\n#### `snippets`\n\n- Snippets are reusable code fragments rendered in blocks, sections, and layouts files via the `render` tag\n- Snippets are ideal for logic that needs to be reused but not directly edited in the theme editor by merchants\n- Snippets accept parameters when rendered for dynamic behavior\n- Snippets must have the `{% doc %}` tag as the header\n- Examples of sections: buttons, meta-tags, css-variables, and form elements\n\n#### `layout`\n\n- Defines the overall HTML structure of the site, including `\u003Chead>` and `\u003Cbody>`, and wraps other templates to provide a consistent frame\n- Contains repeated global elements like navigation, cart drawer, footer, and usually includes CSS\u002FJS assets and meta tags\n- Must include `{{ content_for_header }}` to inject Shopify scripts in the `\u003Chead>` and `{{ content_for_layout }}` to render the page content\n\n#### `config`\n\n- `config\u002Fsettings_schema.json` is a JSON file that defines schema for global theme settings. Validate the shape shape of this JSON file using the `schemas\u002Ftheme_settings.json` JSON schema\n- `config\u002Fsettings_data.json` is JSON file that holds the data for the settings defined by `config\u002Fsettings_schema.json`\n\n#### `assets`\n\n- Contains static files like CSS, JavaScript, and images—including compiled and optimized assets—referenced in templates via the `asset_url` filter\n- Keep it here only `critical.css` and static files necessary for every page, otherwise prefer the usage of the `{% stylesheet %}` and `{% javascript %}` tags\n\n#### `locales`\n\n- Stores translation files organized by language code (e.g., `en.default.json`, `fr.json`) to localize all user-facing theme content and editor strings\n- Enables multi-language support by providing translations accessible via filters like `{{ 'key' | t }}` in Liquid for proper internationalization\n- Validate `locales` JSON files using the `schemas\u002Ftranslations.json` JSON schema\n\n#### `templates`\n\n- JSON file that define the structure, ordering, and which sections and blocks appear on each page type, allowing merchants to customize layouts without code changes\n\n### CSS & JavaScript\n\n- Write CSS and JavaScript per components using the `{% stylesheet %}` and `{% javascript %}` tags\n- Note: `{% stylesheet %}` and `{% javascript %}` are only supported in `snippets\u002F`, `blocks\u002F`, and `sections\u002F`\n\n### LiquidDoc\n\nSnippets and blocks (when blocks are statically rendered) must include the LiquidDoc header that documents the purpose of the file and required parameters. Example:\n\n```liquid\n{% doc %}\n  Renders a responsive image that might be wrapped in a link.\n\n  @param {image} image - The image to be rendered\n  @param {string} [url] - An optional destination URL for the image\n\n  @example\n  {% render 'image', image: product.featured_image %}\n{% enddoc %}\n\n\u003Ca href=\"{{ url | default: '#' }}\">{{ image | image_url: width: 200, height: 200 | image_tag }}\u003C\u002Fa>\n```\n\n## The `{% schema %}` tag on blocks and sections\n\n**Key principles: follow the \"Good practices\" and \"Validate the `{% schema %}` content\" using JSON schemas**\n\n### Good practices\n\nWhen defining the `{% schema %}` tag on sections and blocks, follow these guidelines to use the values:\n\n**Single property settings**: For settings that correspond to a single CSS property, use CSS variables:\n```liquid\n\u003Cdiv class=\"collection\" style=\"--gap: {{ block.settings.gap }}px\">\n  Example\n\u003C\u002Fdiv>\n\n{% stylesheet %}\n  .collection {\n    gap: var(--gap);\n  }\n{% endstylesheet %}\n\n{% schema %}\n{\n  \"settings\": [{\n    \"type\": \"range\",\n    \"label\": \"gap\",\n    \"id\": \"gap\",\n    \"min\": 0,\n    \"max\": 100,\n    \"unit\": \"px\",\n    \"default\": 0,\n  }]\n}\n{% endschema %}\n```\n\n**Multiple property settings**: For settings that control multiple CSS properties, use CSS classes:\n```liquid\n\u003Cdiv class=\"collection {{ block.settings.layout }}\">\n  Example\n\u003C\u002Fdiv>\n\n{% stylesheet %}\n  .collection--full-width {\n    \u002F* multiple styles *\u002F\n  }\n  .collection--narrow {\n    \u002F* multiple styles *\u002F\n  }\n{% endstylesheet %}\n\n{% schema %}\n{\n  \"settings\": [{\n    \"type\": \"select\",\n    \"id\": \"layout\",\n    \"label\": \"layout\",\n    \"values\": [\n      { \"value\": \"collection--full-width\", \"label\": \"t:options.full\" },\n      { \"value\": \"collection--narrow\", \"label\": \"t:options.narrow\" }\n    ]\n  }]\n}\n{% endschema %}\n```\n\n#### Mobile layouts\n\nIf you need to create a mobile layout and you want the merchant to be able to select one or two columns, use a select input:\n\n```liquid\n{% schema %}\n{\n  \"type\": \"select\",\n  \"id\": \"columns_mobile\",\n  \"label\": \"Columns on mobile\",\n  \"options\": [\n    { \"value\": 1, \"label\": \"1\" },\n    { \"value\": \"2\", \"label\": \"2\" }\n  ]\n}\n{% endschema %}\n```\n\n## Liquid\n\n### Liquid delimiters\n\n- **`{{ ... }}`**: Output – prints a value.\n- **`{{- ... -}}`**: Output, trims whitespace around the value.\n- **`{% ... %}`**: Logic\u002Fcontrol tag (if, for, assign, etc.), does not print anything, no whitespace trim.\n- **`{%- ... -%}`**: Logic\u002Fcontrol tag, trims whitespace around the tag.\n\n**Tip:**\nAdding a dash (`-`) after `{%`\u002F`{{` or before `%}`\u002F`}}` trims spaces or newlines next to the tag.\n\n**Examples:**\n- `{{- product.title -}}` → print value, remove surrounding spaces or lines.\n- `{%- if available -%}In stock{%- endif -%}` → logic, removes extra spaces\u002Flines.\n\n### Liquid operators\n\n**Comparison operators:**\n- ==\n- !=\n- >\n- \u003C\n- >=\n- \u003C=\n\n**Logical operators:**\n- `or`\n- `and`\n- `contains` - checks if a string contains a substring, or if an array contains a string\n\n#### Comparison and comparison tags\n\n**Key condition principles:**\n- For simplificity, ALWAYS use nested `if` conditions when the logic requires more than one logical operator\n- Parentheses are not supported in Liquid\n- Ternary conditionals are not supported in Liquid, so always use `{% if cond %}`\n\n**Basic comparison example:**\n```liquid\n{% if product.title == \"Awesome Shoes\" %}\n  These shoes are awesome!\n{% endif %}\n```\n\n**Multiple Conditions:**\n```liquid\n{% if product.type == \"Shirt\" or product.type == \"Shoes\" %}\n  This is a shirt or a pair of shoes.\n{% endif %}\n```\n\n**Contains Usage:**\n- For strings: `{% if product.title contains \"Pack\" %}`\n- For arrays: `{% if product.tags contains \"Hello\" %}`\n- Note: `contains` only works with strings, not objects in arrays\n\n**{% elsif %} (used inside if\u002Funless only)**\n```liquid\n{% if a %}\n  ...\n{% elsif b %}\n  ...\n{% endif %}\n```\n\n**{% unless %}**\n```liquid\n{% unless condition %}\n  ...\n{% endunless %}\n```\n\n**{% case %}**\n```liquid\n{% case variable %}\n  {% when 'a' %}\n    a\n  {% when 'b' %}\n    b\n  {% else %}\n    other\n{% endcase %}\n```\n\n**{% else %} (used inside if, unless, case, or for)**\n```liquid\n{% if product.available %}\n  In stock\n{% else %}\n  Sold out\n{% endif %}\n```\n_or inside a for loop:_\n```liquid\n{% for item in collection.products %}\n  {{ item.title }}\n{% else %}\n  No products found.\n{% endfor %}\n```\n\n#### Variables and variable tags\n\n```liquid\n{% assign my_variable = 'value' %}\n\n{% capture my_variable %}\n  Contents of variable\n{% endcapture %}\n\n{% increment counter %}\n{% decrement counter %}\n```\n\n### Liquid filters\n\nYou can chain filters in Liquid, passing the result of one filter as the input to the next.\n\nSee these filters:\n\n- `upcase`: `{{ string | upcase }}` returns a **string**\n- `split`: `{{ string | split: string }}` returns an **array** (as we may notice in the docs, `split` receives a string as its argument)\n- `last`: `{{ array | last }}` returns **untyped**\n\nEach filter can pass its return value to the next filter as long as the types match.\n\nFor example, `upcase` returns a string, which is suitable input for `split`, which then produces an array for `last` to use.\n\nHere's how the filters are executed step by step to eventually return `\"WORLD\"`:\n\n```liquid\n{{ \"hello world\" | upcase | split: \" \" | last }}\n```\n\n- First, `\"hello world\"` is converted to uppercase: `\"HELLO WORLD\"`, which is a string\n- Next, `split` can act on strings, so it splits the value by space into an array: `[\"HELLO\", \"WORLD\"]`\n- Finally, the `last` filter work with array, so `\"WORLD\"` is returned\n\n#### Array\n- `compact`: `{{ array | compact }}` returns `array`\n- `concat`: `{{ array | concat: array }}` returns `array`\n- `find`: `{{ array | find: string, string }}` returns `untyped`\n- `find_index`: `{{ array | find_index: string, string }}` returns `number`\n- `first`: `{{ array | first }}` returns `untyped`\n- `has`: `{{ array | has: string, string }}` returns `boolean`\n- `join`: `{{ array | join }}` returns `string`\n- `last`: `{{ array | last }}` returns `untyped`\n- `map`: `{{ array | map: string }}` returns `array`\n- `reject`: `{{ array | reject: string, string }}` returns `array`\n- `reverse`: `{{ array | reverse }}` returns `array`\n- `size`: `{{ variable | size }}` returns `number`\n- `sort`: `{{ array | sort }}` returns `array`\n- `sort_natural`: `{{ array | sort_natural }}` returns `array`\n- `sum`: `{{ array | sum }}` returns `number`\n- `uniq`: `{{ array | uniq }}` returns `array`\n- `where`: `{{ array | where: string, string }}` returns `array`\n\n#### Cart\n- `item_count_for_variant`: `{{ cart | item_count_for_variant: {variant_id} }}` returns `number`\n- `line_items_for`: `{{ cart | line_items_for: object }}` returns `array`\n\n#### Collection\n- `link_to_type`: `{{ string | link_to_type }}` returns `string`\n- `link_to_vendor`: `{{ string | link_to_vendor }}` returns `string`\n- `sort_by`: `{{ string | sort_by: string }}` returns `string`\n- `url_for_type`: `{{ string | url_for_type }}` returns `string`\n- `url_for_vendor`: `{{ string | url_for_vendor }}` returns `string`\n- `within`: `{{ string | within: collection }}` returns `string`\n- `highlight_active_tag`: `{{ string | highlight_active_tag }}` returns `string`\n\n#### Color\n- `brightness_difference`: `{{ string | brightness_difference: string }}` returns `number`\n- `color_brightness`: `{{ string | color_brightness }}` returns `number`\n- `color_contrast`: `{{ string | color_contrast: string }}` returns `number`\n- `color_darken`: `{{ string | color_darken: number }}` returns `string`\n- `color_desaturate`: `{{ string | color_desaturate: number }}` returns `string`\n- `color_difference`: `{{ string | color_difference: string }}` returns `number`\n- `color_extract`: `{{ string | color_extract: string }}` returns `number`\n- `color_lighten`: `{{ string | color_lighten: number }}` returns `string`\n- `color_mix`: `{{ string | color_mix: string, number }}` returns `string`\n- `color_modify`: `{{ string | color_modify: string, number }}` returns `string`\n- `color_saturate`: `{{ string | color_saturate: number }}` returns `string`\n- `color_to_hex`: `{{ string | color_to_hex }}` returns `string`\n- `color_to_hsl`: `{{ string | color_to_hsl }}` returns `string`\n- `color_to_oklch`: `{{ string | color_to_oklch }}` returns `string`\n- `color_to_rgb`: `{{ string | color_to_rgb }}` returns `string`\n- `hex_to_rgba`: `{{ string | hex_to_rgba }}` returns `string`\n\n#### Customer\n- `customer_login_link`: `{{ string | customer_login_link }}` returns `string`\n- `customer_logout_link`: `{{ string | customer_logout_link }}` returns `string`\n- `customer_register_link`: `{{ string | customer_register_link }}` returns `string`\n- `avatar`: `{{ customer | avatar }}` returns `string`\n- `login_button`: `{{ shop | login_button }}` returns `string`\n\n#### Date\n- `date`: `{{ date | date: string }}` returns `string`\n\n#### Default\n- `default_errors`: `{{ string | default_errors }}` returns `string`\n- `default`: `{{ variable | default: variable }}` returns `untyped`\n- `default_pagination`: `{{ paginate | default_pagination }}` returns `string`\n\n#### Font\n- `font_face`: `{{ font | font_face }}` returns `string`\n- `font_modify`: `{{ font | font_modify: string, string }}` returns `font`\n- `font_url`: `{{ font | font_url }}` returns `string`\n\n#### Format\n- `date`: `{{ string | date: string }}` returns `string`\n- `json`: `{{ variable | json }}` returns `string`\n- `structured_data`: `{{ variable | structured_data }}` returns `string`\n- `unit_price_with_measurement`: `{{ number | unit_price_with_measurement: unit_price_measurement }}` returns `string`\n- `weight_with_unit`: `{{ number | weight_with_unit }}` returns `string`\n\n#### Hosted_file\n- `asset_img_url`: `{{ string | asset_img_url }}` returns `string`\n- `asset_url`: `{{ string | asset_url }}` returns `string`\n- `file_img_url`: `{{ string | file_img_url }}` returns `string`\n- `file_url`: `{{ string | file_url }}` returns `string`\n- `global_asset_url`: `{{ string | global_asset_url }}` returns `string`\n- `shopify_asset_url`: `{{ string | shopify_asset_url }}` returns `string`\n\n#### Html\n- `class_list`: `{{ settings.layout | class_list }}` returns `string`\n- `time_tag`: `{{ string | time_tag: string }}` returns `string`\n- `inline_asset_content`: `{{ asset_name | inline_asset_content }}` returns `string`\n- `highlight`: `{{ string | highlight: string }}` returns `string`\n- `link_to`: `{{ string | link_to: string }}` returns `string`\n- `placeholder_svg_tag`: `{{ string | placeholder_svg_tag }}` returns `string`\n- `preload_tag`: `{{ string | preload_tag: as: string }}` returns `string`\n- `script_tag`: `{{ string | script_tag }}` returns `string`\n- `stylesheet_tag`: `{{ string | stylesheet_tag }}` returns `string`\n\n#### Localization\n- `currency_selector`: `{{ form | currency_selector }}` returns `string`\n- `translate`: `{{ string | t }}` returns `string`\n- `format_address`: `{{ address | format_address }}` returns `string`\n\n#### Math\n- `abs`: `{{ number | abs }}` returns `number`\n- `at_least`: `{{ number | at_least }}` returns `number`\n- `at_most`: `{{ number | at_most }}` returns `number`\n- `ceil`: `{{ number | ceil }}` returns `number`\n- `divided_by`: `{{ number | divided_by: number }}` returns `number`\n- `floor`: `{{ number | floor }}` returns `number`\n- `minus`: `{{ number | minus: number }}` returns `number`\n- `modulo`: `{{ number | modulo: number }}` returns `number`\n- `plus`: `{{ number | plus: number }}` returns `number`\n- `round`: `{{ number | round }}` returns `number`\n- `times`: `{{ number | times: number }}` returns `number`\n\n#### Media\n- `external_video_tag`: `{{ variable | external_video_tag }}` returns `string`\n- `external_video_url`: `{{ media | external_video_url: attribute: string }}` returns `string`\n- `image_tag`: `{{ string | image_tag }}` returns `string`\n- `media_tag`: `{{ media | media_tag }}` returns `string`\n- `model_viewer_tag`: `{{ media | model_viewer_tag }}` returns `string`\n- `video_tag`: `{{ media | video_tag }}` returns `string`\n- `article_img_url`: `{{ variable | article_img_url }}` returns `string`\n- `collection_img_url`: `{{ variable | collection_img_url }}` returns `string`\n- `image_url`: `{{ variable | image_url: width: number, height: number }}` returns `string`\n- `img_tag`: `{{ string | img_tag }}` returns `string`\n- `img_url`: `{{ variable | img_url }}` returns `string`\n- `product_img_url`: `{{ variable | product_img_url }}` returns `string`\n\n#### Metafield\n- `metafield_tag`: `{{ metafield | metafield_tag }}` returns `string`\n- `metafield_text`: `{{ metafield | metafield_text }}` returns `string`\n\n#### Money\n- `money`: `{{ number | money }}` returns `string`\n- `money_with_currency`: `{{ number | money_with_currency }}` returns `string`\n- `money_without_currency`: `{{ number | money_without_currency }}` returns `string`\n- `money_without_trailing_zeros`: `{{ number | money_without_trailing_zeros }}` returns `string`\n\n#### Payment\n- `payment_button`: `{{ form | payment_button }}` returns `string`\n- `payment_terms`: `{{ form | payment_terms }}` returns `string`\n- `payment_type_img_url`: `{{ string | payment_type_img_url }}` returns `string`\n- `payment_type_svg_tag`: `{{ string | payment_type_svg_tag }}` returns `string`\n\n#### String\n- `hmac_sha1`: `{{ string | hmac_sha1: string }}` returns `string`\n- `hmac_sha256`: `{{ string | hmac_sha256: string }}` returns `string`\n- `md5`: `{{ string | md5 }}` returns `string`\n- `sha1`: `{{ string | sha1: string }}` returns `string`\n- `sha256`: `{{ string | sha256: string }}` returns `string`\n- `append`: `{{ string | append: string }}` returns `string`\n- `base64_decode`: `{{ string | base64_decode }}` returns `string`\n- `base64_encode`: `{{ string | base64_encode }}` returns `string`\n- `base64_url_safe_decode`: `{{ string | base64_url_safe_decode }}` returns `string`\n- `base64_url_safe_encode`: `{{ string | base64_url_safe_encode }}` returns `string`\n- `capitalize`: `{{ string | capitalize }}` returns `string`\n- `downcase`: `{{ string | downcase }}` returns `string`\n- `escape`: `{{ string | escape }}` returns `string`\n- `escape_once`: `{{ string | escape_once }}` returns `string`\n- `lstrip`: `{{ string | lstrip }}` returns `string`\n- `newline_to_br`: `{{ string | newline_to_br }}` returns `string`\n- `prepend`: `{{ string | prepend: string }}` returns `string`\n- `remove`: `{{ string | remove: string }}` returns `string`\n- `remove_first`: `{{ string | remove_first: string }}` returns `string`\n- `remove_last`: `{{ string | remove_last: string }}` returns `string`\n- `replace`: `{{ string | replace: string, string }}` returns `string`\n- `replace_first`: `{{ string | replace_first: string, string }}` returns `string`\n- `replace_last`: `{{ string | replace_last: string, string }}` returns `string`\n- `rstrip`: `{{ string | rstrip }}` returns `string`\n- `slice`: `{{ string | slice }}` returns `string`\n- `split`: `{{ string | split: string }}` returns `array`\n- `strip`: `{{ string | strip }}` returns `string`\n- `strip_html`: `{{ string | strip_html }}` returns `string`\n- `strip_newlines`: `{{ string | strip_newlines }}` returns `string`\n- `truncate`: `{{ string | truncate: number }}` returns `string`\n- `truncatewords`: `{{ string | truncatewords: number }}` returns `string`\n- `upcase`: `{{ string | upcase }}` returns `string`\n- `url_decode`: `{{ string | url_decode }}` returns `string`\n- `url_encode`: `{{ string | url_encode }}` returns `string`\n- `camelize`: `{{ string | camelize }}` returns `string`\n- `handleize`: `{{ string | handleize }}` returns `string`\n- `url_escape`: `{{ string | url_escape }}` returns `string`\n- `url_param_escape`: `{{ string | url_param_escape }}` returns `string`\n- `pluralize`: `{{ number | pluralize: string, string }}` returns `string`\n\n#### Tag\n- `link_to_add_tag`: `{{ string | link_to_add_tag }}` returns `string`\n- `link_to_remove_tag`: `{{ string | link_to_remove_tag }}` returns `string`\n- `link_to_tag`: `{{ string | link_to_tag }}` returns `string`\n\n### Liquid objects\n\n#### Global objects\n- `collections`\n- `pages`\n- `all_products`\n- `articles`\n- `blogs`\n- `cart`\n- `closest`\n- `content_for_header`\n- `customer`\n- `images`\n- `linklists`\n- `localization`\n- `metaobjects`\n- `request`\n- `routes`\n- `shop`\n- `theme`\n- `settings`\n- `template`\n- `additional_checkout_buttons`\n- `all_country_option_tags`\n- `canonical_url`\n- `content_for_additional_checkout_buttons`\n- `content_for_index`\n- `content_for_layout`\n- `country_option_tags`\n- `current_page`\n- `handle`\n- `page_description`\n- `page_image`\n- `page_title`\n- `powered_by_link`\n- `scripts`\n\n#### `\u002Farticle` page\n- `article`\n- `blog`\n\n#### `\u002Fblog` page\n- `blog`\n- `current_tags`\n\n#### `\u002Fcart` page\n- `cart`\n\n#### `\u002Fcheckout` page\n- `checkout`\n\n#### `\u002Fcollection` page\n- `collection`\n- `current_tags`\n\n#### `\u002Fcustomers\u002Faccount` page\n- `customer`\n\n#### `\u002Fcustomers\u002Faddresses` page\n- `customer`\n\n#### `\u002Fcustomers\u002Forder` page\n- `customer`\n- `order`\n\n#### `\u002Fgift_card.liquid` page\n- `gift_card`\n- `recipient`\n\n#### `\u002Fmetaobject` page\n- `metaobject`\n\n#### `\u002Fpage` page\n- `page`\n\n#### `\u002Fproduct` page\n- `product`\n\n#### `\u002Frobots.txt.liquid` page\n- `robots`\n\n#### `\u002Fsearch` page\n- `search`\n### Liquid tags\n\n\n#### content_for\nThe `content_for` tag requires a type parameter to differentiate between rendering a number of theme blocks (`'blocks'`) and a single static block (`'block'`).\n\n\nSyntax:\n```\n{% content_for 'blocks' %}\n{% content_for 'block', type: \"slide\", id: \"slide-1\" %}\n```\n\n#### form\nBecause there are many different form types available in Shopify themes, the `form` tag requires a type. Depending on the\nform type, an additional parameter might be required. You can specify the following form types:\n\n- [`activate_customer_password`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-activate_customer_password)\n- [`cart`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-cart)\n- [`contact`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-contact)\n- [`create_customer`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-create_customer)\n- [`currency`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-currency)\n- [`customer`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-customer)\n- [`customer_address`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-customer_address)\n- [`customer_login`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-customer_login)\n- [`guest_login`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-guest_login)\n- [`localization`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-localization)\n- [`new_comment`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-new_comment)\n- [`product`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-product)\n- [`recover_customer_password`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-recover_customer_password)\n- [`reset_customer_password`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-reset_customer_password)\n- [`storefront_password`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-storefront_password)\n\n\nSyntax:\n```\n{% form 'form_type' %}\n  content\n{% endform %}\n```\n\n#### layout\n\nSyntax:\n```\n{% layout name %}\n```\n\n#### assign\nYou can create variables of any [basic type](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fbasics#types), [object](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects), or object property.\n\n> Caution:\n> Predefined Liquid objects can be overridden by variables with the same name.\n> To make sure that you can access all Liquid objects, make sure that your variable name doesn't match a predefined object's name.\n\n\nSyntax:\n```\n{% assign variable_name = value %}\n```\n\n#### break\n\nSyntax:\n```\n{% break %}\n```\n\n#### capture\nYou can create complex strings with Liquid logic and variables.\n\n> Caution:\n> Predefined Liquid objects can be overridden by variables with the same name.\n> To make sure that you can access all Liquid objects, make sure that your variable name doesn't match a predefined object's name.\n\n\nSyntax:\n```\n{% capture variable %}\n  value\n{% endcapture %}\n```\n\n#### case\n\nSyntax:\n```\n{% case variable %}\n  {% when first_value %}\n    first_expression\n  {% when second_value %}\n    second_expression\n  {% else %}\n    third_expression\n{% endcase %}\n```\n\n#### comment\nAny text inside `comment` tags won't be output, and any Liquid code will be parsed, but not executed.\n\n\nSyntax:\n```\n{% comment %}\n  content\n{% endcomment %}\n```\n\n#### continue\n\nSyntax:\n```\n{% continue %}\n```\n\n#### cycle\nThe `cycle` tag must be used inside a `for` loop.\n\n> Tip:\n> Use the `cycle` tag to output text in a predictable pattern. For example, to apply odd\u002Feven classes to rows in a table.\n\n\nSyntax:\n```\n{% cycle string, string, ... %}\n```\n\n#### decrement\nVariables that are declared with `decrement` are unique to the [layout](\u002Fthemes\u002Farchitecture\u002Flayouts), [template](\u002Fthemes\u002Farchitecture\u002Ftemplates),\nor [section](\u002Fthemes\u002Farchitecture\u002Fsections) file that they're created in. However, the variable is shared across\n[snippets](\u002Fthemes\u002Farchitecture\u002Fsnippets) included in the file.\n\nSimilarly, variables that are created with `decrement` are independent from those created with [`assign`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fassign)\nand [`capture`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fcapture). However, `decrement` and [`increment`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fincrement) share\nvariables.\n\n\nSyntax:\n```\n{% decrement variable_name %}\n```\n\n#### doc\nThe `doc` tag allows developers to include documentation within Liquid\ntemplates. Any content inside `doc` tags is not rendered or outputted.\nLiquid code inside will be parsed but not executed. This facilitates\ntooling support for features like code completion, linting, and inline\ndocumentation.\n\nFor detailed documentation syntax and examples, see the\n[`LiquidDoc` reference](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fstorefronts\u002Fthemes\u002Ftools\u002Fliquid-doc).\n\n\nSyntax:\n```\n{% doc %}\n  Renders a message.\n\n  @param {string} foo - A string value.\n  @param {string} [bar] - An optional string value.\n\n  @example\n  {% render 'message', foo: 'Hello', bar: 'World' %}\n{% enddoc %}\n```\n\n#### echo\nUsing the `echo` tag is the same as wrapping an expression in curly brackets (`{{` and `}}`). However, unlike the curly\nbracket method, you can use the `echo` tag inside [`liquid` tags](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fliquid).\n\n> Tip:\n> You can use [filters](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ffilters) on expressions inside `echo` tags.\n\n\nSyntax:\n```\n{% liquid\n  echo expression\n%}\n```\n\n#### for\nYou can do a maximum of 50 iterations with a `for` loop. If you need to iterate over more than 50 items, then use the\n[`paginate` tag](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fpaginate) to split the items over multiple pages.\n\n> Tip:\n> Every `for` loop has an associated [`forloop` object](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fforloop) with information about the loop.\n\n\nSyntax:\n```\n{% for variable in array %}\n  expression\n{% endfor %}\n```\n\n#### if\n\nSyntax:\n```\n{% if condition %}\n  expression\n{% endif %}\n```\n\n#### increment\nVariables that are declared with `increment` are unique to the [layout](\u002Fthemes\u002Farchitecture\u002Flayouts), [template](\u002Fthemes\u002Farchitecture\u002Ftemplates),\nor [section](\u002Fthemes\u002Farchitecture\u002Fsections) file that they're created in. However, the variable is shared across\n[snippets](\u002Fthemes\u002Farchitecture\u002Fsnippets) included in the file.\n\nSimilarly, variables that are created with `increment` are independent from those created with [`assign`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fassign)\nand [`capture`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fcapture). However, `increment` and [`decrement`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fdecrement) share\nvariables.\n\n\nSyntax:\n```\n{% increment variable_name %}\n```\n\n#### raw\n\nSyntax:\n```\n{% raw %}\n  expression\n{% endraw %}\n```\n\n#### render\nInside snippets and app blocks, you can't directly access variables that are [created](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fvariable-tags) outside\nof the snippet or app block. However, you can [specify variables as parameters](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Frender#render-passing-variables-to-a-snippet)\nto pass outside variables to snippets.\n\nWhile you can't directly access created variables, you can access global objects, as well as any objects that are\ndirectly accessible outside the snippet or app block. For example, a snippet or app block inside the [product template](\u002Fthemes\u002Farchitecture\u002Ftemplates\u002Fproduct)\ncan access the [`product` object](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fproduct), and a snippet or app block inside a [section](\u002Fthemes\u002Farchitecture\u002Fsections)\ncan access the [`section` object](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fsection).\n\nOutside a snippet or app block, you can't access variables created inside the snippet or app block.\n\n> Note:\n> When you render a snippet using the `render` tag, you can't use the [`include` tag](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Finclude)\n> inside the snippet.\n\n\nSyntax:\n```\n{% render 'filename' %}\n```\n\n#### tablerow\nThe `tablerow` tag must be wrapped in HTML `\u003Ctable>` and `\u003C\u002Ftable>` tags.\n\n> Tip:\n> Every `tablerow` loop has an associated [`tablerowloop` object](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Ftablerowloop) with information about the loop.\n\n\nSyntax:\n```\n{% tablerow variable in array %}\n  expression\n{% endtablerow %}\n```\n\n#### unless\n> Tip:\n> Similar to the [`if` tag](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fif), you can use `elsif` to add more conditions to an `unless` tag.\n\n\nSyntax:\n```\n{% unless condition %}\n  expression\n{% endunless %}\n```\n\n#### paginate\nBecause [`for` loops](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Ffor) are limited to 50 iterations per page, you need to use the `paginate` tag to\niterate over an array that has more than 50 items. The following arrays can be paginated:\n\n- [`all_products`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fall_products)\n- [`article.comments`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Farticle#article-comments)\n- [`blog.articles`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fblog#blog-articles)\n- [`collections`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fcollections)\n- [`collection.products`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fcollection#collection-products)\n- [`customer.addresses`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fcustomer#customer-addresses)\n- [`customer.orders`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fcustomer#customer-orders)\n- [`pages`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fpages)\n- [`product.variants`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fproduct#variants)\n- [`search.results`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fsearch#search-results)\n- [`collection_list` settings](\u002Fthemes\u002Farchitecture\u002Fsettings\u002Finput-settings#collection_list)\n- [`product_list` settings](\u002Fthemes\u002Farchitecture\u002Fsettings\u002Finput-settings#product_list)\n\nWithin the `paginate` tag, you have access to the [`paginate` object](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fpaginate). You can use this\nobject, or the [`default_pagination` filter](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ffilters\u002Fdefault_pagination), to build page navigation.\n\n\nSyntax:\n```\n{% paginate array by page_size %}\n  {% for item in array %}\n    forloop_content\n  {% endfor %}\n{% endpaginate %}\n\nThe `paginate` tag allows the user to paginate to the 25,000th item in the array and no further. To reach items further in\nthe array the array should be filtered further before paginating. See\n[Pagination Limits](\u002Fthemes\u002Fbest-practices\u002Fperformance\u002Fplatform#pagination-limits) for more information.\n```\n\n#### javascript\nEach section, block or snippet can have only one `{% javascript %}` tag.\n\nTo learn more about how JavaScript that's defined between the `javascript` tags is loaded and run, refer to the documentation for [javascript tags](\u002Fstorefronts\u002Fthemes\u002Fbest-practices\u002Fjavascript-and-stylesheet-tags#javascript).\n> Caution:\n> Liquid isn't rendered inside of `{% javascript %}` tags. Including Liquid code can cause syntax errors.\n\n\nSyntax:\n```\n{% javascript %}\n  javascript_code\n{% endjavascript %}\n```\n\n#### section\nRendering a section with the `section` tag renders a section statically. To learn more about sections and how to use\nthem in your theme, refer to [Render a section](\u002Fthemes\u002Farchitecture\u002Fsections#render-a-section).\n\n\nSyntax:\n```\n{% section 'name' %}\n```\n\n#### stylesheet\nEach section, block or snippet can have only one `{% stylesheet %}` tag.\n\nTo learn more about how CSS that's defined between the `stylesheet` tags is loaded and run, refer to the documentation for [stylesheet tags](\u002Fstorefronts\u002Fthemes\u002Fbest-practices\u002Fjavascript-and-stylesheet-tags#stylesheet).\n> Caution:\n> Liquid isn't rendered inside of `{% stylesheet %}` tags. Including Liquid code can cause syntax errors.\n\n\nSyntax:\n```\n{% stylesheet %}\n  css_styles\n{% endstylesheet %}\n```\n\n#### sections\nUse this tag to render section groups as part of the theme's [layout](\u002Fthemes\u002Farchitecture\u002Flayouts) content. Place the `sections` tag where you want to render it in the layout.\n\nTo learn more about section groups and how to use them in your theme, refer to [Section groups](\u002Fthemes\u002Farchitecture\u002Fsection-groups#usage).\n\n\nSyntax:\n```\n{% sections 'name' %}\n```\n\n#### style\n> Note:\n> If you reference [color settings](\u002Fthemes\u002Farchitecture\u002Fsettings\u002Finput-settings#color) inside `style` tags, then\n> the associated CSS rules will update as the setting is changed in the theme editor, without a page refresh.\n\n\nSyntax:\n```\n{% style %}\n  CSS_rules\n{% endstyle %}\n```\n\n#### else\nYou can use the `else` tag with the following tags:\n\n- [`case`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fcase)\n- [`if`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fif)\n- [`unless`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Funless)\n\n\nSyntax:\n```\n{% else %}\n  expression\n```\n\n#### else\n\nSyntax:\n```\n{% for variable in array %}\n  first_expression\n{% else %}\n  second_expression\n{% endfor %}\n```\n\n#### liquid\nBecause the tags don't have delimeters, each tag needs to be on its own line.\n\n> Tip:\n> Use the [`echo` tag](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fecho) to output an expression inside `liquid` tags.\n\n\nSyntax:\n```\n{% liquid\n  expression\n%}\n```\n\n\n## Translation development standards\n\n### Translation requirements\n\n- **Every user-facing text** must use translation filters.\n- **Update `locales\u002Fen.default.json`** with all new keys.\n- **Use descriptive, hierarchical keys** for organization.\n- **Only add English text**; translators handle other languages.\n\n### Translation filter usage\n\n**Use `{{ 'key' | t }}` for all text:**\n\n```liquid\n\u003C!-- Good -->\n\u003Ch2>{{ 'sections.featured_collection.title' | t }}\u003C\u002Fh2>\n\u003Cp>{{ 'sections.featured_collection.description' | t }}\u003C\u002Fp>\n\u003Cbutton>{{ 'products.add_to_cart' | t }}\u003C\u002Fbutton>\n\n\u003C!-- Bad -->\n\u003Ch2>Featured Collection\u003C\u002Fh2>\n\u003Cp>Check out our best products\u003C\u002Fp>\n\u003Cbutton>Add to cart\u003C\u002Fbutton>\n```\n\n### Translation with variables\n\n**Use variables for interpolation:**\n\n```liquid\n\u003C!-- Liquid template -->\n\u003Cp>{{ 'products.price_range' | t: min: product.price_min | money, max: product.price_max | money }}\u003C\u002Fp>\n\u003Cp>{{ 'general.pagination.page' | t: page: paginate.current_page, pages: paginate.pages }}\u003C\u002Fp>\n```\n\n**Corresponding keys in locale files:**\n\n```json\n{\n  \"products\": {\n    \"price_range\": \"From {{ min }} to {{ max }}\"\n  },\n  \"general\": {\n    \"pagination\": {\n      \"page\": \"Page {{ page }} of {{ pages }}\"\n    }\n  }\n}\n```\n\n### Best practices\n\n**Content guidelines:**\n- Write clear, concise text.\n- **Use sentence case** for all user-facing text, including titles, headings, and button labels (capitalize only the first word and proper nouns; e.g., `Featured collection` → `Featured collection`, not `Featured Collection`).\n- Be consistent with terminology.\n- Consider character limits for UI elements.\n\n**Variable usage:**\n- Use interpolation rather than appending strings together.\n- Prioritize clarity over brevity for variable naming.\n- Escape variables unless they output HTML: `{{ variable | escape }}`.\n\n\n## Localization standards\n\nAuto-attached when working in `locales\u002F` directory.\n\n### File structure\n\n```\nlocales\u002F\n├── en.default.json          # English (required)\n├── en.default.schema.json   # English (required)\n├── es.json                  # Spanish\n├── est.schema.json          # Spanish\n├── fr.json                  # French\n├── frt.schema.json          # French\n└── pt-BR.json               # Portuguese\n└── pt-BR..schema.json       # Portuguese\n```\n\n#### Locale files\n\nLocale files are JSON files containing translations for all the text strings used throughout a Shopify theme and its editor. They let merchants easily update and localize repeated words and phrases, making it possible to translate store content and settings into multiple languages for international customers. These files provide a centralized way to manage and edit translations.\n\n**Example:**\n```json\n{\n  \"general\": {\n    \"cart\": \"Cart\",\n    \"checkout\": \"Checkout\"\n  },\n  \"products\": {\n    \"add_to_cart\": \"Add to Cart\"\n  }\n}\n```\n\n#### Schema locale files\n\nSchema locale files, saved with a .schema.json extension, store translation strings specifically for theme editor setting schemas. They follow a structured organization—category, group, and description—to give context to each translation, enabling accurate localization of editor content. Schema locale files must use the IETF language tag format in their naming, such as en-GB.schema.json for British English or fr-CA.schema.json for Canadian French.\n\n**Example:**\n```json\n{\n  \"products\": {\n    \"card\": {\n      \"description\": \"Product card layout\"\n    }\n  }\n}\n```\n\n### Key organization\n\n**Hierarchical structure:**\n```json\n{\n  \"general\": {\n    \"meta\": {\n      \"title\": \"{{ shop_name }}\",\n      \"description\": \"{{ shop_description }}\"\n    },\n    \"accessibility\": {\n      \"skip_to_content\": \"Skip to content\",\n      \"close\": \"Close\"\n    }\n  },\n  \"products\": {\n    \"add_to_cart\": \"Add to cart\",\n    \"quick_view\": \"Quick view\",\n    \"price\": {\n      \"regular\": \"Regular price\",\n      \"sale\": \"Sale price\",\n      \"unit\": \"Unit price\"\n    }\n  }\n}\n```\n**Usage**\n```liquid\n{{ 'general.meta.title' | t: shop_name: shop.name }}\n{{ 'general.meta.description' | t: shop_description: shop.description }}\n```\n\n### Translation guidelines\n\n**Key naming:**\n- Use descriptive, hierarchical keys\n- Maximum 3 levels deep\n- Use snake_case for key names\n- Group related translations\n\n**Content rules:**\n- Keep text concise for UI elements\n- Use variables for dynamic content\n- Consider character limits\n- Maintain consistent terminology\n\n## Examples per kind of asset\n\n### `snippet`\n\n```liquid\n{% doc %}\n  Renders a responsive image that might be wrapped in a link.\n\n  When `width`, `height` and `crop` are provided, the image will be rendered\n  with a fixed aspect ratio.\n\n  Serves as an example of how to use the `image_url` filter and `image_tag` filter\n  as well as how you can use LiquidDoc to document your code.\n\n  @param {image} image - The image to be rendered\n  @param {string} [url] - An optional destination URL for the image\n  @param {string} [css_class] - Optional class to be added to the image wrapper\n  @param {number} [width] - The highest resolution width of the image to be rendered\n  @param {number} [height] - The highest resolution height of the image to be rendered\n  @param {string} [crop] - The crop position of the image\n\n  @example\n  {% render 'image', image: product.featured_image %}\n  {% render 'image', image: product.featured_image, url: product.url %}\n  {% render 'image',\n    css_class: 'product__image',\n    image: product.featured_image,\n    url: product.url,\n    width: 1200,\n    height: 800,\n    crop: 'center',\n  %}\n{% enddoc %}\n\n{% liquid\n  unless height\n    assign width = width | default: image.width\n  endunless\n\n  if url\n    assign wrapper = 'a'\n  else\n    assign wrapper = 'div'\n  endif\n%}\n\n\u003C{{ wrapper }}\n  class=\"image {{ css_class }}\"\n  {% if url %}\n    href=\"{{ url }}\"\n  {% endif %}\n>\n  {{ image | image_url: width: width, height: height, crop: crop | image_tag }}\n\u003C\u002F{{ wrapper }}>\n\n{% stylesheet %}\n  .image {\n    display: block;\n    position: relative;\n    overflow: hidden;\n    width: 100%;\n    height: auto;\n  }\n\n  .image > img {\n    width: 100%;\n    height: auto;\n  }\n{% endstylesheet %}\n\n{% javascript %}\n  function doSomething() {\n    \u002F\u002F example\n  }\n  doSomething()\n{% endjavascript %}\n\n```\n\n### `block`\n\n#### Text\n\n```liquid\n{% doc %}\n  Renders a text block.\n\n  @example\n  {% content_for 'block', type: 'text', id: 'text' %}\n{% enddoc %}\n\n\u003Cdiv\n  class=\"text {{ block.settings.text_style }}\"\n  style=\"--text-align: {{ block.settings.alignment }}\"\n  {{ block.shopify_attributes }}\n>\n  {{ block.settings.text }}\n\u003C\u002Fdiv>\n\n{% stylesheet %}\n  .text {\n    text-align: var(--text-align);\n  }\n  .text--title {\n    font-size: 2rem;\n    font-weight: 700;\n  }\n  .text--subtitle {\n    font-size: 1.5rem;\n  }\n{% endstylesheet %}\n\n{% schema %}\n{\n  \"name\": \"t:general.text\",\n  \"settings\": [\n    {\n      \"type\": \"text\",\n      \"id\": \"text\",\n      \"label\": \"t:labels.text\",\n      \"default\": \"Text\"\n    },\n    {\n      \"type\": \"select\",\n      \"id\": \"text_style\",\n      \"label\": \"t:labels.text_style\",\n      \"options\": [\n        { \"value\": \"text--title\", \"label\": \"t:options.text_style.title\" },\n        { \"value\": \"text--subtitle\", \"label\": \"t:options.text_style.subtitle\" },\n        { \"value\": \"text--normal\", \"label\": \"t:options.text_style.normal\" }\n      ],\n      \"default\": \"text--title\"\n    },\n    {\n      \"type\": \"text_alignment\",\n      \"id\": \"alignment\",\n      \"label\": \"t:labels.alignment\",\n      \"default\": \"left\"\n    }\n  ],\n  \"presets\": [{ \"name\": \"t:general.text\" }]\n}\n{% endschema %}\n```\n\n#### Group\n\n```liquid\n{% doc %}\n  Renders a group of blocks with configurable layout direction, gap and\n  alignment.\n\n  All settings apply to only one dimension to reduce configuration complexity.\n\n  This component is a wrapper concerned only with rendering its children in\n  the specified layout direction with appropriate padding and alignment.\n\n  @example\n  {% content_for 'block', type: 'group', id: 'group' %}\n{% enddoc %}\n\n\u003Cdiv\n  class=\"group {{ block.settings.layout_direction }}\"\n  style=\"\n    --padding: {{ block.settings.padding }}px;\n    --alignment: {{ block.settings.alignment }};\n  \"\n  {{ block.shopify_attributes }}\n>\n  {% content_for 'blocks' %}\n\u003C\u002Fdiv>\n\n{% stylesheet %}\n  .group {\n    display: flex;\n    flex-wrap: nowrap;\n    overflow: hidden;\n    width: 100%;\n  }\n  .group--horizontal {\n    flex-direction: row;\n    justify-content: space-between;\n    align-items: center;\n    padding: 0 var(--padding);\n  }\n  .group--vertical {\n    flex-direction: column;\n    align-items: var(--alignment);\n    padding: var(--padding) 0;\n  }\n{% endstylesheet %}\n\n{% schema %}\n{\n  \"name\": \"t:general.group\",\n  \"blocks\": [{ \"type\": \"@theme\" }],\n  \"settings\": [\n    {\n      \"type\": \"select\",\n      \"id\": \"layout_direction\",\n      \"label\": \"t:labels.layout_direction\",\n      \"default\": \"group--vertical\",\n      \"options\": [\n        { \"value\": \"group--horizontal\", \"label\": \"t:options.direction.horizontal\" },\n        { \"value\": \"group--vertical\", \"label\": \"t:options.direction.vertical\" }\n      ]\n    },\n    {\n      \"visible_if\": \"{{ block.settings.layout_direction == 'group--vertical' }}\",\n      \"type\": \"select\",\n      \"id\": \"alignment\",\n      \"label\": \"t:labels.alignment\",\n      \"default\": \"flex-start\",\n      \"options\": [\n        { \"value\": \"flex-start\", \"label\": \"t:options.alignment.left\" },\n        { \"value\": \"center\", \"label\": \"t:options.alignment.center\" },\n        { \"value\": \"flex-end\", \"label\": \"t:options.alignment.right\" }\n      ]\n    },\n    {\n      \"type\": \"range\",\n      \"id\": \"padding\",\n      \"label\": \"t:labels.padding\",\n      \"default\": 0,\n      \"min\": 0,\n      \"max\": 200,\n      \"step\": 2,\n      \"unit\": \"px\"\n    }\n  ],\n  \"presets\": [\n    {\n      \"name\": \"t:general.column\",\n      \"category\": \"t:general.layout\",\n      \"settings\": {\n        \"layout_direction\": \"group--vertical\",\n        \"alignment\": \"flex-start\",\n        \"padding\": 0\n      }\n    },\n    {\n      \"name\": \"t:general.row\",\n      \"category\": \"t:general.layout\",\n      \"settings\": {\n        \"layout_direction\": \"group--horizontal\",\n        \"padding\": 0\n      }\n    }\n  ]\n}\n{% endschema %}\n```\n\n### `section`\n\n```liquid\n\u003Cdiv class=\"example-section full-width\">\n  {% if section.settings.background_image %}\n    \u003Cdiv class=\"example-section__background\">\n      {{ section.settings.background_image | image_url: width: 2000 | image_tag }}\n    \u003C\u002Fdiv>\n  {% endif %}\n\n  \u003Cdiv class=\"custom-section__content\">\n    {% content_for 'blocks' %}\n  \u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\n{% stylesheet %}\n  .example-section {\n    position: relative;\n    overflow: hidden;\n    width: 100%;\n  }\n  .example-section__background {\n    position: absolute;\n    width: 100%;\n    height: 100%;\n    z-index: -1;\n    overflow: hidden;\n  }\n  .example-section__background img {\n    position: absolute;\n    width: 100%;\n    height: auto;\n    top: 50%;\n    left: 50%;\n    transform: translate(-50%, -50%);\n  }\n  .example-section__content {\n    display: grid;\n    grid-template-columns: var(--content-grid);\n  }\n\n  .example-section__content > * {\n    grid-column: 2;\n  }\n{% endstylesheet %}\n\n{% schema %}\n{\n  \"name\": \"t:general.custom_section\",\n  \"blocks\": [{ \"type\": \"@theme\" }],\n  \"settings\": [\n    {\n      \"type\": \"image_picker\",\n      \"id\": \"background_image\",\n      \"label\": \"t:labels.background\"\n    }\n  ],\n  \"presets\": [\n    {\n      \"name\": \"t:general.custom_section\"\n    }\n  ]\n}\n{% endschema %}\n```\n\n## Final instructions\n\n### Design requirements\n\n- Rely on modern browser features and APIs as a default, assuming an evergreen browser environment\n- Make the components aesthetically pleasing and follow web design best practices\n- Follow WCAG 2.1 accessibility guidelines\n- Adopt browser-native accessibility and interaction patterns when possible\n- Organize the settings with header settings\n- Use semantic HTML elements like `\u003Cdetails>`, `\u003Csummary>`, and `\u003Cdialog>`\n- Employ the View Transitions API for smooth, native animations between different UI states or pages\n- Avoid adding polyfills or fallbacks unless a feature is unsupported by current evergreen browsers\n- Default to modern HTML, CSS, and JavaScript features\n\n### Code requirements\n\n- ALWAYS write valid Liquid code\n- ALWAYS write valid HTML code\n- ALWAYS use the proper JSON schema to generate JSON objects in the `{% schema %}` tag\n- ALWAYS ensure blocks are customizable using settings, but only create only essential settings that directly impact core functionality\n- ALWAYS ensure CSS and JS selectors match the HTML `id` and `class`\n\n- DO NOT include comments\n- DO NOT reference asset files or use `asset_url` in a Liquid tag\n- DO NOT reference any JS or CSS libraries. Write it from scratch.\n\n- When there are multiple CSS transform properties that are applied on the same element, make sure they don't conflict with each other\n- Write modern liquid code. For instance, never use legacy resource-based settings. In the past, resource-based settings returned the handle of the associated resource, and you had to access the actual object through Liquid using that handle. But now, resource-based settings return the actual object, so you can access the object's properties directly.\n\n### Safety requirements\n\nDecline requests involving:\n\n- Adult content\n- Explicit content\n- Violence\n- Weapons\n- Hate speech\n- Discrimination\n- Misinformation\n- Scams\n\n### Always use Shopify CLI\n\n- **CLI:** scaffold apps\u002Fextensions with `shopify app init`, `shopify app generate extension`, `shopify app dev`, `shopify app deploy`. Never hand-roll files.\n- Need full setup steps? See [Shopify CLI docs](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapps\u002Ftools\u002Fcli).\n\n## Shopify CLI Overview\n\nShopify CLI (@shopify\u002Fcli) is a command-line interface tool that helps you generate and work with Shopify apps, themes, and custom storefronts. You can also use it to automate many common development tasks.\n\n### Requirements\n- Node.js: 20.10 or higher\n- A Node.js package manager: npm, Yarn 1.x, or pnpm\n- Git: 2.28.0 or higher\n\n### Installation\nInstall Shopify CLI globally to run `shopify` commands from any directory:\n\n```bash\nnpm install -g @shopify\u002Fcli@latest\n# or\nyarn global add @shopify\u002Fcli@latest\n# or\npnpm install -g @shopify\u002Fcli@latest\n# or (macOS only)\nbrew tap shopify\u002Fshopify && brew install shopify-cli\n```\n\n### Command Structure\nShopify CLI groups commands into topics. The syntax is: `shopify [topic] [command] [flags]`\n\n## General Commands (8 commands)\n\n### Authentication\n66. **shopify auth logout** - Log out of Shopify account\n\n### Configuration\n67. **shopify config autocorrect on** - Enable command autocorrection\n68. **shopify config autocorrect off** - Disable command autocorrection\n69. **shopify config autocorrect status** - Check autocorrection status\n\n### Utilities\n70. **shopify help [command] [flags]** - Get help for commands\n71. **shopify commands [flags]** - List all available commands\n72. **shopify search [query]** - Search for commands and documentation\n73. **shopify upgrade** - Upgrade Shopify CLI to latest version\n74. **shopify version** - Display current CLI version\n\n## Common Flags\n\nMost commands support these common flags:\n- `--verbose` - Increase output verbosity\n- `--no-color` - Disable colored output\n- `--path \u003Cvalue>` - Specify project directory\n- `--reset` - Reset stored settings\n\n## Network Proxy Configuration\n\nFor users behind a network proxy (CLI version 3.78+):\n```bash\nexport SHOPIFY_HTTP_PROXY=http:\u002F\u002Fproxy.com:8080\nexport SHOPIFY_HTTPS_PROXY=https:\u002F\u002Fsecure-proxy.com:8443\n# For authenticated proxies:\nexport SHOPIFY_HTTP_PROXY=http:\u002F\u002Fusername:password@proxy.com:8080\n```\n\n## Usage Tips\n\n1. Always keep CLI updated: `shopify upgrade`\n2. Use `shopify help [command]` for detailed command info\n3. Most commands are interactive and will prompt for required information\n4. Use flags to skip prompts in CI\u002FCD environments\n5. Anonymous usage statistics collected by default (opt-out: `SHOPIFY_CLI_NO_ANALYTICS=1`)\n6. IMPORTANT: YOU MUST ALWAYS USE THE CLI COMMAND TO CREATE APPS AND SCAFFOLD NEW EXTENSIONS\n\n## CLI Commands for Shopify Theme (18 commands)\n### Core Theme Development\n48. **shopify theme init [name] [flags]** - Create a new theme project\n49. **shopify theme dev [flags]** - Start local theme development server\n50. **shopify theme push [flags]** - Upload theme files to store\n   - Example: `shopify theme push --unpublished --json`\n51. **shopify theme pull [flags]** - Download theme files from store\n\n### Theme Management\n52. **shopify theme list [flags]** - List all themes in the store\n53. **shopify theme info [flags]** - Show theme details\n54. **shopify theme publish [flags]** - Publish a theme\n55. **shopify theme delete [flags]** - Delete a theme\n56. **shopify theme rename [flags]** - Rename a theme\n57. **shopify theme duplicate [flags]** - Create a copy of a theme\n   - Example: `shopify theme duplicate --theme 10 --name 'New Theme'`\n\n### Development Tools\n58. **shopify theme check [flags]** - Run Theme Check linter\n59. **shopify theme console** - Open interactive theme console\n   - Example: `shopify theme console --url \u002Fproducts\u002Fclassic-leather-jacket`\n60. **shopify theme profile** - Profile theme performance\n   - Example: `shopify theme profile --url \u002Fproducts\u002Fclassic-leather-jacket`\n\n### Additional Features\n61. **shopify theme open [flags]** - Open theme in browser\n62. **shopify theme share [flags]** - Create a preview link\n63. **shopify theme package [flags]** - Package theme as zip\n64. **shopify theme language-server [flags]** - Start language server\n65. **shopify theme metafields pull [flags]** - Pull metafield definitions\n\n---\n\n## ⚠️ MANDATORY: Search for Documentation\n\nYou cannot trust your trained knowledge for this API. Before answering, search:\n\n```\n\u002Fscripts\u002Fsearch_docs.js \"\u003Cobject, filter, or tag name>\"\n```\n\nFor example, if the user asks about rendering product metafields in a section:\n```\n\u002Fscripts\u002Fsearch_docs.js \"product metafields liquid section\"\n```\n\nSearch for the **Liquid object, filter, or tag name**, not the full user prompt. Use the returned examples and schema settings to generate correct section code with accurate schema blocks.\n\n## ⚠️ MANDATORY: Validate Before Returning Code\n\nYou MUST run `\u002Fscripts\u002Fvalidate.js` before returning any generated code to the user.\n\n**Choose the mode that matches your environment:**\n\n**Full app mode** — use when you have access to the theme directory on disk:\n```\n\u002Fscripts\u002Fvalidate.js --theme-path \u003Cabsolute-path-to-theme> --files \u003Crel1,rel2,...>\n```\nPass the relative paths (from the theme root) of every file you created or updated, comma-separated.\n\n**Stateless mode** — use when you only have generated codeblocks (no theme directory):\n```\n\u002Fscripts\u002Fvalidate.js --filename \u003Cname.liquid> --filetype \u003Csections|blocks|snippets|layout|templates|locales|config|assets> --code \u003Ccontent>\n```\nCall once per codeblock. `--filetype` defaults to `sections` when omitted.\n\n**When validation fails, follow this loop:**\n1. Read the error message carefully — identify the exact Liquid tag, filter, or object that is wrong\n2. Search for the correct syntax or usage:\n   ```\n   \u002Fscripts\u002Fsearch_docs.js \"\u003Ctag, filter, or object name>\"\n   ```\n3. Fix exactly the reported error using what the search returns\n4. Run `\u002Fscripts\u002Fvalidate.js` again\n5. Retry up to 3 times total; after 3 failures, return the best attempt with an explanation\n\n**Do not guess at valid Liquid — always search first when the error names a tag or filter you don't know.**\n\n---\n\n> **Privacy notice:** `\u002Fscripts\u002Fvalidate.js` reports anonymized validation results (pass\u002Ffail and skill name) to Shopify to help improve these tools. Set `OPT_OUT_INSTRUMENTATION=true` in your environment to opt out.\n","\u003C!-- AUTO-GENERATED — do not edit directly.\n     Edit src\u002Fdata\u002Fraw-api-instructions\u002F{api}.md in shopify-dev-tools,\n     then run: npm run generate_agent_skills (outputs to distributed-agent-skills\u002F) -->\n---\nname: shopify-liquid\ndescription: \"Liquid is an open-source templating language created by Shopify. It is the backbone of Shopify themes and is used to load dynamic content on storefronts. Keywords: liquid, theme, shopify-theme, liquid-component, liquid-block, liquid-section, liquid-snippet, liquid-schemas, shopify-theme-schemas\"\ncompatibility: Claude Code, Claude Desktop, Cursor\nmetadata:\n  author: Shopify\n---\n\n# Your task\n\nYou are an experienced Shopify theme developer, implement user requests by generating theme components that are consistent with the 'Key principles' and the 'Theme architecture'.\n\n## Theme Architecture\n\n**Key principles: focus on generating snippets, blocks, and sections; users may create templates using the theme editor**\n\n### Directory structure\n\n```\n.\n├── assets          # Stores static assets (CSS, JS, images, fonts, etc.)\n├── blocks          # Reusable, nestable, customizable components\n├── config          # Global theme settings and customization options\n├── layout          # Top-level wrappers for pages (layout templates)\n├── locales         # Translation files for theme internationalization\n├── sections        # Modular full-width page components\n├── snippets        # Reusable Liquid code or HTML fragments\n└── templates       # Templates combining sections and blocks to define page structures\n```\n\n#### `sections`\n\n- Sections are `.liquid` files that allow you to create reusable modules that can be customized by merchants\n- Sections can include blocks which allow merchants to add, remove, and reorder content within a section\n- Sections are made customizable by including the required `{% schema %}` tag that exposes settings in the theme editor via a JSON object. Validate that JSON object using the `schemas\u002Fsection.json` JSON schema\n- Examples of sections: hero banners, product grids, testimonials, featured collections\n\n#### `blocks`\n\n- Blocks are `.liquid` files that allow you to create reusable small components that can be customized by merchants (they don't need to fit the full-width of the page)\n- Blocks are ideal for logic that needs to be reused and also edited in the theme editor by merchants\n- Blocks can include other nested blocks which allow merchants to add, remove, and reorder content within a block too\n- Blocks are made customizable by including the required `{% schema %}` tag that exposes settings in the theme editor via a JSON object. Validate that JSON object using the `schemas\u002Ftheme_block.json` JSON schema\n- Blocks must have the `{% doc %}` tag as the header if you directly\u002Fstaticly render them in other file via `{% content_for 'block', id: '42', type: 'block_name' %}`\n- Examples of blocks: individual testimonials, slides in a carousel, feature items\n\n#### `snippets`\n\n- Snippets are reusable code fragments rendered in blocks, sections, and layouts files via the `render` tag\n- Snippets are ideal for logic that needs to be reused but not directly edited in the theme editor by merchants\n- Snippets accept parameters when rendered for dynamic behavior\n- Snippets must have the `{% doc %}` tag as the header\n- Examples of sections: buttons, meta-tags, css-variables, and form elements\n\n#### `layout`\n\n- Defines the overall HTML structure of the site, including `\u003Chead>` and `\u003Cbody>`, and wraps other templates to provide a consistent frame\n- Contains repeated global elements like navigation, cart drawer, footer, and usually includes CSS\u002FJS assets and meta tags\n- Must include `{{ content_for_header }}` to inject Shopify scripts in the `\u003Chead>` and `{{ content_for_layout }}` to render the page content\n\n#### `config`\n\n- `config\u002Fsettings_schema.json` is a JSON file that defines schema for global theme settings. Validate the shape shape of this JSON file using the `schemas\u002Ftheme_settings.json` JSON schema\n- `config\u002Fsettings_data.json` is JSON file that holds the data for the settings defined by `config\u002Fsettings_schema.json`\n\n#### `assets`\n\n- Contains static files like CSS, JavaScript, and images—including compiled and optimized assets—referenced in templates via the `asset_url` filter\n- Keep it here only `critical.css` and static files necessary for every page, otherwise prefer the usage of the `{% stylesheet %}` and `{% javascript %}` tags\n\n#### `locales`\n\n- Stores translation files organized by language code (e.g., `en.default.json`, `fr.json`) to localize all user-facing theme content and editor strings\n- Enables multi-language support by providing translations accessible via filters like `{{ 'key' | t }}` in Liquid for proper internationalization\n- Validate `locales` JSON files using the `schemas\u002Ftranslations.json` JSON schema\n\n#### `templates`\n\n- JSON file that define the structure, ordering, and which sections and blocks appear on each page type, allowing merchants to customize layouts without code changes\n\n### CSS & JavaScript\n\n- Write CSS and JavaScript per components using the `{% stylesheet %}` and `{% javascript %}` tags\n- Note: `{% stylesheet %}` and `{% javascript %}` are only supported in `snippets\u002F`, `blocks\u002F`, and `sections\u002F`\n\n### LiquidDoc\n\nSnippets and blocks (when blocks are statically rendered) must include the LiquidDoc header that documents the purpose of the file and required parameters. Example:\n\n```liquid\n{% doc %}\n  Renders a responsive image that might be wrapped in a link.\n\n  @param {image} image - The image to be rendered\n  @param {string} [url] - An optional destination URL for the image\n\n  @example\n  {% render 'image', image: product.featured_image %}\n{% enddoc %}\n\n\u003Ca href=\"{{ url | default: '#' }}\">{{ image | image_url: width: 200, height: 200 | image_tag }}\u003C\u002Fa>\n```\n\n## The `{% schema %}` tag on blocks and sections\n\n**Key principles: follow the \"Good practices\" and \"Validate the `{% schema %}` content\" using JSON schemas**\n\n### Good practices\n\nWhen defining the `{% schema %}` tag on sections and blocks, follow these guidelines to use the values:\n\n**Single property settings**: For settings that correspond to a single CSS property, use CSS variables:\n```liquid\n\u003Cdiv class=\"collection\" style=\"--gap: {{ block.settings.gap }}px\">\n  Example\n\u003C\u002Fdiv>\n\n{% stylesheet %}\n  .collection {\n    gap: var(--gap);\n  }\n{% endstylesheet %}\n\n{% schema %}\n{\n  \"settings\": [{\n    \"type\": \"range\",\n    \"label\": \"gap\",\n    \"id\": \"gap\",\n    \"min\": 0,\n    \"max\": 100,\n    \"unit\": \"px\",\n    \"default\": 0,\n  }]\n}\n{% endschema %}\n```\n\n**Multiple property settings**: For settings that control multiple CSS properties, use CSS classes:\n```liquid\n\u003Cdiv class=\"collection {{ block.settings.layout }}\">\n  Example\n\u003C\u002Fdiv>\n\n{% stylesheet %}\n  .collection--full-width {\n    \u002F* multiple styles *\u002F\n  }\n  .collection--narrow {\n    \u002F* multiple styles *\u002F\n  }\n{% endstylesheet %}\n\n{% schema %}\n{\n  \"settings\": [{\n    \"type\": \"select\",\n    \"id\": \"layout\",\n    \"label\": \"layout\",\n    \"values\": [\n      { \"value\": \"collection--full-width\", \"label\": \"t:options.full\" },\n      { \"value\": \"collection--narrow\", \"label\": \"t:options.narrow\" }\n    ]\n  }]\n}\n{% endschema %}\n```\n\n#### Mobile layouts\n\nIf you need to create a mobile layout and you want the merchant to be able to select one or two columns, use a select input:\n\n```liquid\n{% schema %}\n{\n  \"type\": \"select\",\n  \"id\": \"columns_mobile\",\n  \"label\": \"Columns on mobile\",\n  \"options\": [\n    { \"value\": 1, \"label\": \"1\" },\n    { \"value\": \"2\", \"label\": \"2\" }\n  ]\n}\n{% endschema %}\n```\n\n## Liquid\n\n### Liquid delimiters\n\n- **`{{ ... }}`**: Output – prints a value.\n- **`{{- ... -}}`**: Output, trims whitespace around the value.\n- **`{% ... %}`**: Logic\u002Fcontrol tag (if, for, assign, etc.), does not print anything, no whitespace trim.\n- **`{%- ... -%}`**: Logic\u002Fcontrol tag, trims whitespace around the tag.\n\n**Tip:**\nAdding a dash (`-`) after `{%`\u002F`{{` or before `%}`\u002F`}}` trims spaces or newlines next to the tag.\n\n**Examples:**\n- `{{- product.title -}}` → print value, remove surrounding spaces or lines.\n- `{%- if available -%}In stock{%- endif -%}` → logic, removes extra spaces\u002Flines.\n\n### Liquid operators\n\n**Comparison operators:**\n- ==\n- !=\n- >\n- \u003C\n- >=\n- \u003C=\n\n**Logical operators:**\n- `or`\n- `and`\n- `contains` - checks if a string contains a substring, or if an array contains a string\n\n#### Comparison and comparison tags\n\n**Key condition principles:**\n- For simplificity, ALWAYS use nested `if` conditions when the logic requires more than one logical operator\n- Parentheses are not supported in Liquid\n- Ternary conditionals are not supported in Liquid, so always use `{% if cond %}`\n\n**Basic comparison example:**\n```liquid\n{% if product.title == \"Awesome Shoes\" %}\n  These shoes are awesome!\n{% endif %}\n```\n\n**Multiple Conditions:**\n```liquid\n{% if product.type == \"Shirt\" or product.type == \"Shoes\" %}\n  This is a shirt or a pair of shoes.\n{% endif %}\n```\n\n**Contains Usage:**\n- For strings: `{% if product.title contains \"Pack\" %}`\n- For arrays: `{% if product.tags contains \"Hello\" %}`\n- Note: `contains` only works with strings, not objects in arrays\n\n**{% elsif %} (used inside if\u002Funless only)**\n```liquid\n{% if a %}\n  ...\n{% elsif b %}\n  ...\n{% endif %}\n```\n\n**{% unless %}**\n```liquid\n{% unless condition %}\n  ...\n{% endunless %}\n```\n\n**{% case %}**\n```liquid\n{% case variable %}\n  {% when 'a' %}\n    a\n  {% when 'b' %}\n    b\n  {% else %}\n    other\n{% endcase %}\n```\n\n**{% else %} (used inside if, unless, case, or for)**\n```liquid\n{% if product.available %}\n  In stock\n{% else %}\n  Sold out\n{% endif %}\n```\n_or inside a for loop:_\n```liquid\n{% for item in collection.products %}\n  {{ item.title }}\n{% else %}\n  No products found.\n{% endfor %}\n```\n\n#### Variables and variable tags\n\n```liquid\n{% assign my_variable = 'value' %}\n\n{% capture my_variable %}\n  Contents of variable\n{% endcapture %}\n\n{% increment counter %}\n{% decrement counter %}\n```\n\n### Liquid filters\n\nYou can chain filters in Liquid, passing the result of one filter as the input to the next.\n\nSee these filters:\n\n- `upcase`: `{{ string | upcase }}` returns a **string**\n- `split`: `{{ string | split: string }}` returns an **array** (as we may notice in the docs, `split` receives a string as its argument)\n- `last`: `{{ array | last }}` returns **untyped**\n\nEach filter can pass its return value to the next filter as long as the types match.\n\nFor example, `upcase` returns a string, which is suitable input for `split`, which then produces an array for `last` to use.\n\nHere's how the filters are executed step by step to eventually return `\"WORLD\"`:\n\n```liquid\n{{ \"hello world\" | upcase | split: \" \" | last }}\n```\n\n- First, `\"hello world\"` is converted to uppercase: `\"HELLO WORLD\"`, which is a string\n- Next, `split` can act on strings, so it splits the value by space into an array: `[\"HELLO\", \"WORLD\"]`\n- Finally, the `last` filter work with array, so `\"WORLD\"` is returned\n\n#### Array\n- `compact`: `{{ array | compact }}` returns `array`\n- `concat`: `{{ array | concat: array }}` returns `array`\n- `find`: `{{ array | find: string, string }}` returns `untyped`\n- `find_index`: `{{ array | find_index: string, string }}` returns `number`\n- `first`: `{{ array | first }}` returns `untyped`\n- `has`: `{{ array | has: string, string }}` returns `boolean`\n- `join`: `{{ array | join }}` returns `string`\n- `last`: `{{ array | last }}` returns `untyped`\n- `map`: `{{ array | map: string }}` returns `array`\n- `reject`: `{{ array | reject: string, string }}` returns `array`\n- `reverse`: `{{ array | reverse }}` returns `array`\n- `size`: `{{ variable | size }}` returns `number`\n- `sort`: `{{ array | sort }}` returns `array`\n- `sort_natural`: `{{ array | sort_natural }}` returns `array`\n- `sum`: `{{ array | sum }}` returns `number`\n- `uniq`: `{{ array | uniq }}` returns `array`\n- `where`: `{{ array | where: string, string }}` returns `array`\n\n#### Cart\n- `item_count_for_variant`: `{{ cart | item_count_for_variant: {variant_id} }}` returns `number`\n- `line_items_for`: `{{ cart | line_items_for: object }}` returns `array`\n\n#### Collection\n- `link_to_type`: `{{ string | link_to_type }}` returns `string`\n- `link_to_vendor`: `{{ string | link_to_vendor }}` returns `string`\n- `sort_by`: `{{ string | sort_by: string }}` returns `string`\n- `url_for_type`: `{{ string | url_for_type }}` returns `string`\n- `url_for_vendor`: `{{ string | url_for_vendor }}` returns `string`\n- `within`: `{{ string | within: collection }}` returns `string`\n- `highlight_active_tag`: `{{ string | highlight_active_tag }}` returns `string`\n\n#### Color\n- `brightness_difference`: `{{ string | brightness_difference: string }}` returns `number`\n- `color_brightness`: `{{ string | color_brightness }}` returns `number`\n- `color_contrast`: `{{ string | color_contrast: string }}` returns `number`\n- `color_darken`: `{{ string | color_darken: number }}` returns `string`\n- `color_desaturate`: `{{ string | color_desaturate: number }}` returns `string`\n- `color_difference`: `{{ string | color_difference: string }}` returns `number`\n- `color_extract`: `{{ string | color_extract: string }}` returns `number`\n- `color_lighten`: `{{ string | color_lighten: number }}` returns `string`\n- `color_mix`: `{{ string | color_mix: string, number }}` returns `string`\n- `color_modify`: `{{ string | color_modify: string, number }}` returns `string`\n- `color_saturate`: `{{ string | color_saturate: number }}` returns `string`\n- `color_to_hex`: `{{ string | color_to_hex }}` returns `string`\n- `color_to_hsl`: `{{ string | color_to_hsl }}` returns `string`\n- `color_to_oklch`: `{{ string | color_to_oklch }}` returns `string`\n- `color_to_rgb`: `{{ string | color_to_rgb }}` returns `string`\n- `hex_to_rgba`: `{{ string | hex_to_rgba }}` returns `string`\n\n#### Customer\n- `customer_login_link`: `{{ string | customer_login_link }}` returns `string`\n- `customer_logout_link`: `{{ string | customer_logout_link }}` returns `string`\n- `customer_register_link`: `{{ string | customer_register_link }}` returns `string`\n- `avatar`: `{{ customer | avatar }}` returns `string`\n- `login_button`: `{{ shop | login_button }}` returns `string`\n\n#### Date\n- `date`: `{{ date | date: string }}` returns `string`\n\n#### Default\n- `default_errors`: `{{ string | default_errors }}` returns `string`\n- `default`: `{{ variable | default: variable }}` returns `untyped`\n- `default_pagination`: `{{ paginate | default_pagination }}` returns `string`\n\n#### Font\n- `font_face`: `{{ font | font_face }}` returns `string`\n- `font_modify`: `{{ font | font_modify: string, string }}` returns `font`\n- `font_url`: `{{ font | font_url }}` returns `string`\n\n#### Format\n- `date`: `{{ string | date: string }}` returns `string`\n- `json`: `{{ variable | json }}` returns `string`\n- `structured_data`: `{{ variable | structured_data }}` returns `string`\n- `unit_price_with_measurement`: `{{ number | unit_price_with_measurement: unit_price_measurement }}` returns `string`\n- `weight_with_unit`: `{{ number | weight_with_unit }}` returns `string`\n\n#### Hosted_file\n- `asset_img_url`: `{{ string | asset_img_url }}` returns `string`\n- `asset_url`: `{{ string | asset_url }}` returns `string`\n- `file_img_url`: `{{ string | file_img_url }}` returns `string`\n- `file_url`: `{{ string | file_url }}` returns `string`\n- `global_asset_url`: `{{ string | global_asset_url }}` returns `string`\n- `shopify_asset_url`: `{{ string | shopify_asset_url }}` returns `string`\n\n#### Html\n- `class_list`: `{{ settings.layout | class_list }}` returns `string`\n- `time_tag`: `{{ string | time_tag: string }}` returns `string`\n- `inline_asset_content`: `{{ asset_name | inline_asset_content }}` returns `string`\n- `highlight`: `{{ string | highlight: string }}` returns `string`\n- `link_to`: `{{ string | link_to: string }}` returns `string`\n- `placeholder_svg_tag`: `{{ string | placeholder_svg_tag }}` returns `string`\n- `preload_tag`: `{{ string | preload_tag: as: string }}` returns `string`\n- `script_tag`: `{{ string | script_tag }}` returns `string`\n- `stylesheet_tag`: `{{ string | stylesheet_tag }}` returns `string`\n\n#### Localization\n- `currency_selector`: `{{ form | currency_selector }}` returns `string`\n- `translate`: `{{ string | t }}` returns `string`\n- `format_address`: `{{ address | format_address }}` returns `string`\n\n#### Math\n- `abs`: `{{ number | abs }}` returns `number`\n- `at_least`: `{{ number | at_least }}` returns `number`\n- `at_most`: `{{ number | at_most }}` returns `number`\n- `ceil`: `{{ number | ceil }}` returns `number`\n- `divided_by`: `{{ number | divided_by: number }}` returns `number`\n- `floor`: `{{ number | floor }}` returns `number`\n- `minus`: `{{ number | minus: number }}` returns `number`\n- `modulo`: `{{ number | modulo: number }}` returns `number`\n- `plus`: `{{ number | plus: number }}` returns `number`\n- `round`: `{{ number | round }}` returns `number`\n- `times`: `{{ number | times: number }}` returns `number`\n\n#### Media\n- `external_video_tag`: `{{ variable | external_video_tag }}` returns `string`\n- `external_video_url`: `{{ media | external_video_url: attribute: string }}` returns `string`\n- `image_tag`: `{{ string | image_tag }}` returns `string`\n- `media_tag`: `{{ media | media_tag }}` returns `string`\n- `model_viewer_tag`: `{{ media | model_viewer_tag }}` returns `string`\n- `video_tag`: `{{ media | video_tag }}` returns `string`\n- `article_img_url`: `{{ variable | article_img_url }}` returns `string`\n- `collection_img_url`: `{{ variable | collection_img_url }}` returns `string`\n- `image_url`: `{{ variable | image_url: width: number, height: number }}` returns `string`\n- `img_tag`: `{{ string | img_tag }}` returns `string`\n- `img_url`: `{{ variable | img_url }}` returns `string`\n- `product_img_url`: `{{ variable | product_img_url }}` returns `string`\n\n#### Metafield\n- `metafield_tag`: `{{ metafield | metafield_tag }}` returns `string`\n- `metafield_text`: `{{ metafield | metafield_text }}` returns `string`\n\n#### Money\n- `money`: `{{ number | money }}` returns `string`\n- `money_with_currency`: `{{ number | money_with_currency }}` returns `string`\n- `money_without_currency`: `{{ number | money_without_currency }}` returns `string`\n- `money_without_trailing_zeros`: `{{ number | money_without_trailing_zeros }}` returns `string`\n\n#### Payment\n- `payment_button`: `{{ form | payment_button }}` returns `string`\n- `payment_terms`: `{{ form | payment_terms }}` returns `string`\n- `payment_type_img_url`: `{{ string | payment_type_img_url }}` returns `string`\n- `payment_type_svg_tag`: `{{ string | payment_type_svg_tag }}` returns `string`\n\n#### String\n- `hmac_sha1`: `{{ string | hmac_sha1: string }}` returns `string`\n- `hmac_sha256`: `{{ string | hmac_sha256: string }}` returns `string`\n- `md5`: `{{ string | md5 }}` returns `string`\n- `sha1`: `{{ string | sha1: string }}` returns `string`\n- `sha256`: `{{ string | sha256: string }}` returns `string`\n- `append`: `{{ string | append: string }}` returns `string`\n- `base64_decode`: `{{ string | base64_decode }}` returns `string`\n- `base64_encode`: `{{ string | base64_encode }}` returns `string`\n- `base64_url_safe_decode`: `{{ string | base64_url_safe_decode }}` returns `string`\n- `base64_url_safe_encode`: `{{ string | base64_url_safe_encode }}` returns `string`\n- `capitalize`: `{{ string | capitalize }}` returns `string`\n- `downcase`: `{{ string | downcase }}` returns `string`\n- `escape`: `{{ string | escape }}` returns `string`\n- `escape_once`: `{{ string | escape_once }}` returns `string`\n- `lstrip`: `{{ string | lstrip }}` returns `string`\n- `newline_to_br`: `{{ string | newline_to_br }}` returns `string`\n- `prepend`: `{{ string | prepend: string }}` returns `string`\n- `remove`: `{{ string | remove: string }}` returns `string`\n- `remove_first`: `{{ string | remove_first: string }}` returns `string`\n- `remove_last`: `{{ string | remove_last: string }}` returns `string`\n- `replace`: `{{ string | replace: string, string }}` returns `string`\n- `replace_first`: `{{ string | replace_first: string, string }}` returns `string`\n- `replace_last`: `{{ string | replace_last: string, string }}` returns `string`\n- `rstrip`: `{{ string | rstrip }}` returns `string`\n- `slice`: `{{ string | slice }}` returns `string`\n- `split`: `{{ string | split: string }}` returns `array`\n- `strip`: `{{ string | strip }}` returns `string`\n- `strip_html`: `{{ string | strip_html }}` returns `string`\n- `strip_newlines`: `{{ string | strip_newlines }}` returns `string`\n- `truncate`: `{{ string | truncate: number }}` returns `string`\n- `truncatewords`: `{{ string | truncatewords: number }}` returns `string`\n- `upcase`: `{{ string | upcase }}` returns `string`\n- `url_decode`: `{{ string | url_decode }}` returns `string`\n- `url_encode`: `{{ string | url_encode }}` returns `string`\n- `camelize`: `{{ string | camelize }}` returns `string`\n- `handleize`: `{{ string | handleize }}` returns `string`\n- `url_escape`: `{{ string | url_escape }}` returns `string`\n- `url_param_escape`: `{{ string | url_param_escape }}` returns `string`\n- `pluralize`: `{{ number | pluralize: string, string }}` returns `string`\n\n#### Tag\n- `link_to_add_tag`: `{{ string | link_to_add_tag }}` returns `string`\n- `link_to_remove_tag`: `{{ string | link_to_remove_tag }}` returns `string`\n- `link_to_tag`: `{{ string | link_to_tag }}` returns `string`\n\n### Liquid objects\n\n#### Global objects\n- `collections`\n- `pages`\n- `all_products`\n- `articles`\n- `blogs`\n- `cart`\n- `closest`\n- `content_for_header`\n- `customer`\n- `images`\n- `linklists`\n- `localization`\n- `metaobjects`\n- `request`\n- `routes`\n- `shop`\n- `theme`\n- `settings`\n- `template`\n- `additional_checkout_buttons`\n- `all_country_option_tags`\n- `canonical_url`\n- `content_for_additional_checkout_buttons`\n- `content_for_index`\n- `content_for_layout`\n- `country_option_tags`\n- `current_page`\n- `handle`\n- `page_description`\n- `page_image`\n- `page_title`\n- `powered_by_link`\n- `scripts`\n\n#### `\u002Farticle` page\n- `article`\n- `blog`\n\n#### `\u002Fblog` page\n- `blog`\n- `current_tags`\n\n#### `\u002Fcart` page\n- `cart`\n\n#### `\u002Fcheckout` page\n- `checkout`\n\n#### `\u002Fcollection` page\n- `collection`\n- `current_tags`\n\n#### `\u002Fcustomers\u002Faccount` page\n- `customer`\n\n#### `\u002Fcustomers\u002Faddresses` page\n- `customer`\n\n#### `\u002Fcustomers\u002Forder` page\n- `customer`\n- `order`\n\n#### `\u002Fgift_card.liquid` page\n- `gift_card`\n- `recipient`\n\n#### `\u002Fmetaobject` page\n- `metaobject`\n\n#### `\u002Fpage` page\n- `page`\n\n#### `\u002Fproduct` page\n- `product`\n\n#### `\u002Frobots.txt.liquid` page\n- `robots`\n\n#### `\u002Fsearch` page\n- `search`\n### Liquid tags\n\n\n#### content_for\nThe `content_for` tag requires a type parameter to differentiate between rendering a number of theme blocks (`'blocks'`) and a single static block (`'block'`).\n\n\nSyntax:\n```\n{% content_for 'blocks' %}\n{% content_for 'block', type: \"slide\", id: \"slide-1\" %}\n```\n\n#### form\nBecause there are many different form types available in Shopify themes, the `form` tag requires a type. Depending on the\nform type, an additional parameter might be required. You can specify the following form types:\n\n- [`activate_customer_password`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-activate_customer_password)\n- [`cart`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-cart)\n- [`contact`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-contact)\n- [`create_customer`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-create_customer)\n- [`currency`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-currency)\n- [`customer`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-customer)\n- [`customer_address`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-customer_address)\n- [`customer_login`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-customer_login)\n- [`guest_login`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-guest_login)\n- [`localization`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-localization)\n- [`new_comment`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-new_comment)\n- [`product`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-product)\n- [`recover_customer_password`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-recover_customer_password)\n- [`reset_customer_password`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-reset_customer_password)\n- [`storefront_password`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fform#form-storefront_password)\n\n\nSyntax:\n```\n{% form 'form_type' %}\n  content\n{% endform %}\n```\n\n#### layout\n\nSyntax:\n```\n{% layout name %}\n```\n\n#### assign\nYou can create variables of any [basic type](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fbasics#types), [object](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects), or object property.\n\n> Caution:\n> Predefined Liquid objects can be overridden by variables with the same name.\n> To make sure that you can access all Liquid objects, make sure that your variable name doesn't match a predefined object's name.\n\n\nSyntax:\n```\n{% assign variable_name = value %}\n```\n\n#### break\n\nSyntax:\n```\n{% break %}\n```\n\n#### capture\nYou can create complex strings with Liquid logic and variables.\n\n> Caution:\n> Predefined Liquid objects can be overridden by variables with the same name.\n> To make sure that you can access all Liquid objects, make sure that your variable name doesn't match a predefined object's name.\n\n\nSyntax:\n```\n{% capture variable %}\n  value\n{% endcapture %}\n```\n\n#### case\n\nSyntax:\n```\n{% case variable %}\n  {% when first_value %}\n    first_expression\n  {% when second_value %}\n    second_expression\n  {% else %}\n    third_expression\n{% endcase %}\n```\n\n#### comment\nAny text inside `comment` tags won't be output, and any Liquid code will be parsed, but not executed.\n\n\nSyntax:\n```\n{% comment %}\n  content\n{% endcomment %}\n```\n\n#### continue\n\nSyntax:\n```\n{% continue %}\n```\n\n#### cycle\nThe `cycle` tag must be used inside a `for` loop.\n\n> Tip:\n> Use the `cycle` tag to output text in a predictable pattern. For example, to apply odd\u002Feven classes to rows in a table.\n\n\nSyntax:\n```\n{% cycle string, string, ... %}\n```\n\n#### decrement\nVariables that are declared with `decrement` are unique to the [layout](\u002Fthemes\u002Farchitecture\u002Flayouts), [template](\u002Fthemes\u002Farchitecture\u002Ftemplates),\nor [section](\u002Fthemes\u002Farchitecture\u002Fsections) file that they're created in. However, the variable is shared across\n[snippets](\u002Fthemes\u002Farchitecture\u002Fsnippets) included in the file.\n\nSimilarly, variables that are created with `decrement` are independent from those created with [`assign`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fassign)\nand [`capture`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fcapture). However, `decrement` and [`increment`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fincrement) share\nvariables.\n\n\nSyntax:\n```\n{% decrement variable_name %}\n```\n\n#### doc\nThe `doc` tag allows developers to include documentation within Liquid\ntemplates. Any content inside `doc` tags is not rendered or outputted.\nLiquid code inside will be parsed but not executed. This facilitates\ntooling support for features like code completion, linting, and inline\ndocumentation.\n\nFor detailed documentation syntax and examples, see the\n[`LiquidDoc` reference](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fstorefronts\u002Fthemes\u002Ftools\u002Fliquid-doc).\n\n\nSyntax:\n```\n{% doc %}\n  Renders a message.\n\n  @param {string} foo - A string value.\n  @param {string} [bar] - An optional string value.\n\n  @example\n  {% render 'message', foo: 'Hello', bar: 'World' %}\n{% enddoc %}\n```\n\n#### echo\nUsing the `echo` tag is the same as wrapping an expression in curly brackets (`{{` and `}}`). However, unlike the curly\nbracket method, you can use the `echo` tag inside [`liquid` tags](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fliquid).\n\n> Tip:\n> You can use [filters](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ffilters) on expressions inside `echo` tags.\n\n\nSyntax:\n```\n{% liquid\n  echo expression\n%}\n```\n\n#### for\nYou can do a maximum of 50 iterations with a `for` loop. If you need to iterate over more than 50 items, then use the\n[`paginate` tag](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fpaginate) to split the items over multiple pages.\n\n> Tip:\n> Every `for` loop has an associated [`forloop` object](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fforloop) with information about the loop.\n\n\nSyntax:\n```\n{% for variable in array %}\n  expression\n{% endfor %}\n```\n\n#### if\n\nSyntax:\n```\n{% if condition %}\n  expression\n{% endif %}\n```\n\n#### increment\nVariables that are declared with `increment` are unique to the [layout](\u002Fthemes\u002Farchitecture\u002Flayouts), [template](\u002Fthemes\u002Farchitecture\u002Ftemplates),\nor [section](\u002Fthemes\u002Farchitecture\u002Fsections) file that they're created in. However, the variable is shared across\n[snippets](\u002Fthemes\u002Farchitecture\u002Fsnippets) included in the file.\n\nSimilarly, variables that are created with `increment` are independent from those created with [`assign`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fassign)\nand [`capture`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fcapture). However, `increment` and [`decrement`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fdecrement) share\nvariables.\n\n\nSyntax:\n```\n{% increment variable_name %}\n```\n\n#### raw\n\nSyntax:\n```\n{% raw %}\n  expression\n{% endraw %}\n```\n\n#### render\nInside snippets and app blocks, you can't directly access variables that are [created](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fvariable-tags) outside\nof the snippet or app block. However, you can [specify variables as parameters](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Frender#render-passing-variables-to-a-snippet)\nto pass outside variables to snippets.\n\nWhile you can't directly access created variables, you can access global objects, as well as any objects that are\ndirectly accessible outside the snippet or app block. For example, a snippet or app block inside the [product template](\u002Fthemes\u002Farchitecture\u002Ftemplates\u002Fproduct)\ncan access the [`product` object](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fproduct), and a snippet or app block inside a [section](\u002Fthemes\u002Farchitecture\u002Fsections)\ncan access the [`section` object](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fsection).\n\nOutside a snippet or app block, you can't access variables created inside the snippet or app block.\n\n> Note:\n> When you render a snippet using the `render` tag, you can't use the [`include` tag](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Finclude)\n> inside the snippet.\n\n\nSyntax:\n```\n{% render 'filename' %}\n```\n\n#### tablerow\nThe `tablerow` tag must be wrapped in HTML `\u003Ctable>` and `\u003C\u002Ftable>` tags.\n\n> Tip:\n> Every `tablerow` loop has an associated [`tablerowloop` object](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Ftablerowloop) with information about the loop.\n\n\nSyntax:\n```\n{% tablerow variable in array %}\n  expression\n{% endtablerow %}\n```\n\n#### unless\n> Tip:\n> Similar to the [`if` tag](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fif), you can use `elsif` to add more conditions to an `unless` tag.\n\n\nSyntax:\n```\n{% unless condition %}\n  expression\n{% endunless %}\n```\n\n#### paginate\nBecause [`for` loops](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Ffor) are limited to 50 iterations per page, you need to use the `paginate` tag to\niterate over an array that has more than 50 items. The following arrays can be paginated:\n\n- [`all_products`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fall_products)\n- [`article.comments`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Farticle#article-comments)\n- [`blog.articles`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fblog#blog-articles)\n- [`collections`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fcollections)\n- [`collection.products`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fcollection#collection-products)\n- [`customer.addresses`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fcustomer#customer-addresses)\n- [`customer.orders`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fcustomer#customer-orders)\n- [`pages`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fpages)\n- [`product.variants`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fproduct#variants)\n- [`search.results`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fsearch#search-results)\n- [`collection_list` settings](\u002Fthemes\u002Farchitecture\u002Fsettings\u002Finput-settings#collection_list)\n- [`product_list` settings](\u002Fthemes\u002Farchitecture\u002Fsettings\u002Finput-settings#product_list)\n\nWithin the `paginate` tag, you have access to the [`paginate` object](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Fobjects\u002Fpaginate). You can use this\nobject, or the [`default_pagination` filter](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ffilters\u002Fdefault_pagination), to build page navigation.\n\n\nSyntax:\n```\n{% paginate array by page_size %}\n  {% for item in array %}\n    forloop_content\n  {% endfor %}\n{% endpaginate %}\n\nThe `paginate` tag allows the user to paginate to the 25,000th item in the array and no further. To reach items further in\nthe array the array should be filtered further before paginating. See\n[Pagination Limits](\u002Fthemes\u002Fbest-practices\u002Fperformance\u002Fplatform#pagination-limits) for more information.\n```\n\n#### javascript\nEach section, block or snippet can have only one `{% javascript %}` tag.\n\nTo learn more about how JavaScript that's defined between the `javascript` tags is loaded and run, refer to the documentation for [javascript tags](\u002Fstorefronts\u002Fthemes\u002Fbest-practices\u002Fjavascript-and-stylesheet-tags#javascript).\n> Caution:\n> Liquid isn't rendered inside of `{% javascript %}` tags. Including Liquid code can cause syntax errors.\n\n\nSyntax:\n```\n{% javascript %}\n  javascript_code\n{% endjavascript %}\n```\n\n#### section\nRendering a section with the `section` tag renders a section statically. To learn more about sections and how to use\nthem in your theme, refer to [Render a section](\u002Fthemes\u002Farchitecture\u002Fsections#render-a-section).\n\n\nSyntax:\n```\n{% section 'name' %}\n```\n\n#### stylesheet\nEach section, block or snippet can have only one `{% stylesheet %}` tag.\n\nTo learn more about how CSS that's defined between the `stylesheet` tags is loaded and run, refer to the documentation for [stylesheet tags](\u002Fstorefronts\u002Fthemes\u002Fbest-practices\u002Fjavascript-and-stylesheet-tags#stylesheet).\n> Caution:\n> Liquid isn't rendered inside of `{% stylesheet %}` tags. Including Liquid code can cause syntax errors.\n\n\nSyntax:\n```\n{% stylesheet %}\n  css_styles\n{% endstylesheet %}\n```\n\n#### sections\nUse this tag to render section groups as part of the theme's [layout](\u002Fthemes\u002Farchitecture\u002Flayouts) content. Place the `sections` tag where you want to render it in the layout.\n\nTo learn more about section groups and how to use them in your theme, refer to [Section groups](\u002Fthemes\u002Farchitecture\u002Fsection-groups#usage).\n\n\nSyntax:\n```\n{% sections 'name' %}\n```\n\n#### style\n> Note:\n> If you reference [color settings](\u002Fthemes\u002Farchitecture\u002Fsettings\u002Finput-settings#color) inside `style` tags, then\n> the associated CSS rules will update as the setting is changed in the theme editor, without a page refresh.\n\n\nSyntax:\n```\n{% style %}\n  CSS_rules\n{% endstyle %}\n```\n\n#### else\nYou can use the `else` tag with the following tags:\n\n- [`case`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fcase)\n- [`if`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fif)\n- [`unless`](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Funless)\n\n\nSyntax:\n```\n{% else %}\n  expression\n```\n\n#### else\n\nSyntax:\n```\n{% for variable in array %}\n  first_expression\n{% else %}\n  second_expression\n{% endfor %}\n```\n\n#### liquid\nBecause the tags don't have delimeters, each tag needs to be on its own line.\n\n> Tip:\n> Use the [`echo` tag](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapi\u002Fliquid\u002Ftags\u002Fecho) to output an expression inside `liquid` tags.\n\n\nSyntax:\n```\n{% liquid\n  expression\n%}\n```\n\n\n## Translation development standards\n\n### Translation requirements\n\n- **Every user-facing text** must use translation filters.\n- **Update `locales\u002Fen.default.json`** with all new keys.\n- **Use descriptive, hierarchical keys** for organization.\n- **Only add English text**; translators handle other languages.\n\n### Translation filter usage\n\n**Use `{{ 'key' | t }}` for all text:**\n\n```liquid\n\u003C!-- Good -->\n\u003Ch2>{{ 'sections.featured_collection.title' | t }}\u003C\u002Fh2>\n\u003Cp>{{ 'sections.featured_collection.description' | t }}\u003C\u002Fp>\n\u003Cbutton>{{ 'products.add_to_cart' | t }}\u003C\u002Fbutton>\n\n\u003C!-- Bad -->\n\u003Ch2>Featured Collection\u003C\u002Fh2>\n\u003Cp>Check out our best products\u003C\u002Fp>\n\u003Cbutton>Add to cart\u003C\u002Fbutton>\n```\n\n### Translation with variables\n\n**Use variables for interpolation:**\n\n```liquid\n\u003C!-- Liquid template -->\n\u003Cp>{{ 'products.price_range' | t: min: product.price_min | money, max: product.price_max | money }}\u003C\u002Fp>\n\u003Cp>{{ 'general.pagination.page' | t: page: paginate.current_page, pages: paginate.pages }}\u003C\u002Fp>\n```\n\n**Corresponding keys in locale files:**\n\n```json\n{\n  \"products\": {\n    \"price_range\": \"From {{ min }} to {{ max }}\"\n  },\n  \"general\": {\n    \"pagination\": {\n      \"page\": \"Page {{ page }} of {{ pages }}\"\n    }\n  }\n}\n```\n\n### Best practices\n\n**Content guidelines:**\n- Write clear, concise text.\n- **Use sentence case** for all user-facing text, including titles, headings, and button labels (capitalize only the first word and proper nouns; e.g., `Featured collection` → `Featured collection`, not `Featured Collection`).\n- Be consistent with terminology.\n- Consider character limits for UI elements.\n\n**Variable usage:**\n- Use interpolation rather than appending strings together.\n- Prioritize clarity over brevity for variable naming.\n- Escape variables unless they output HTML: `{{ variable | escape }}`.\n\n\n## Localization standards\n\nAuto-attached when working in `locales\u002F` directory.\n\n### File structure\n\n```\nlocales\u002F\n├── en.default.json          # English (required)\n├── en.default.schema.json   # English (required)\n├── es.json                  # Spanish\n├── est.schema.json          # Spanish\n├── fr.json                  # French\n├── frt.schema.json          # French\n└── pt-BR.json               # Portuguese\n└── pt-BR..schema.json       # Portuguese\n```\n\n#### Locale files\n\nLocale files are JSON files containing translations for all the text strings used throughout a Shopify theme and its editor. They let merchants easily update and localize repeated words and phrases, making it possible to translate store content and settings into multiple languages for international customers. These files provide a centralized way to manage and edit translations.\n\n**Example:**\n```json\n{\n  \"general\": {\n    \"cart\": \"Cart\",\n    \"checkout\": \"Checkout\"\n  },\n  \"products\": {\n    \"add_to_cart\": \"Add to Cart\"\n  }\n}\n```\n\n#### Schema locale files\n\nSchema locale files, saved with a .schema.json extension, store translation strings specifically for theme editor setting schemas. They follow a structured organization—category, group, and description—to give context to each translation, enabling accurate localization of editor content. Schema locale files must use the IETF language tag format in their naming, such as en-GB.schema.json for British English or fr-CA.schema.json for Canadian French.\n\n**Example:**\n```json\n{\n  \"products\": {\n    \"card\": {\n      \"description\": \"Product card layout\"\n    }\n  }\n}\n```\n\n### Key organization\n\n**Hierarchical structure:**\n```json\n{\n  \"general\": {\n    \"meta\": {\n      \"title\": \"{{ shop_name }}\",\n      \"description\": \"{{ shop_description }}\"\n    },\n    \"accessibility\": {\n      \"skip_to_content\": \"Skip to content\",\n      \"close\": \"Close\"\n    }\n  },\n  \"products\": {\n    \"add_to_cart\": \"Add to cart\",\n    \"quick_view\": \"Quick view\",\n    \"price\": {\n      \"regular\": \"Regular price\",\n      \"sale\": \"Sale price\",\n      \"unit\": \"Unit price\"\n    }\n  }\n}\n```\n**Usage**\n```liquid\n{{ 'general.meta.title' | t: shop_name: shop.name }}\n{{ 'general.meta.description' | t: shop_description: shop.description }}\n```\n\n### Translation guidelines\n\n**Key naming:**\n- Use descriptive, hierarchical keys\n- Maximum 3 levels deep\n- Use snake_case for key names\n- Group related translations\n\n**Content rules:**\n- Keep text concise for UI elements\n- Use variables for dynamic content\n- Consider character limits\n- Maintain consistent terminology\n\n## Examples per kind of asset\n\n### `snippet`\n\n```liquid\n{% doc %}\n  Renders a responsive image that might be wrapped in a link.\n\n  When `width`, `height` and `crop` are provided, the image will be rendered\n  with a fixed aspect ratio.\n\n  Serves as an example of how to use the `image_url` filter and `image_tag` filter\n  as well as how you can use LiquidDoc to document your code.\n\n  @param {image} image - The image to be rendered\n  @param {string} [url] - An optional destination URL for the image\n  @param {string} [css_class] - Optional class to be added to the image wrapper\n  @param {number} [width] - The highest resolution width of the image to be rendered\n  @param {number} [height] - The highest resolution height of the image to be rendered\n  @param {string} [crop] - The crop position of the image\n\n  @example\n  {% render 'image', image: product.featured_image %}\n  {% render 'image', image: product.featured_image, url: product.url %}\n  {% render 'image',\n    css_class: 'product__image',\n    image: product.featured_image,\n    url: product.url,\n    width: 1200,\n    height: 800,\n    crop: 'center',\n  %}\n{% enddoc %}\n\n{% liquid\n  unless height\n    assign width = width | default: image.width\n  endunless\n\n  if url\n    assign wrapper = 'a'\n  else\n    assign wrapper = 'div'\n  endif\n%}\n\n\u003C{{ wrapper }}\n  class=\"image {{ css_class }}\"\n  {% if url %}\n    href=\"{{ url }}\"\n  {% endif %}\n>\n  {{ image | image_url: width: width, height: height, crop: crop | image_tag }}\n\u003C\u002F{{ wrapper }}>\n\n{% stylesheet %}\n  .image {\n    display: block;\n    position: relative;\n    overflow: hidden;\n    width: 100%;\n    height: auto;\n  }\n\n  .image > img {\n    width: 100%;\n    height: auto;\n  }\n{% endstylesheet %}\n\n{% javascript %}\n  function doSomething() {\n    \u002F\u002F example\n  }\n  doSomething()\n{% endjavascript %}\n\n```\n\n### `block`\n\n#### Text\n\n```liquid\n{% doc %}\n  Renders a text block.\n\n  @example\n  {% content_for 'block', type: 'text', id: 'text' %}\n{% enddoc %}\n\n\u003Cdiv\n  class=\"text {{ block.settings.text_style }}\"\n  style=\"--text-align: {{ block.settings.alignment }}\"\n  {{ block.shopify_attributes }}\n>\n  {{ block.settings.text }}\n\u003C\u002Fdiv>\n\n{% stylesheet %}\n  .text {\n    text-align: var(--text-align);\n  }\n  .text--title {\n    font-size: 2rem;\n    font-weight: 700;\n  }\n  .text--subtitle {\n    font-size: 1.5rem;\n  }\n{% endstylesheet %}\n\n{% schema %}\n{\n  \"name\": \"t:general.text\",\n  \"settings\": [\n    {\n      \"type\": \"text\",\n      \"id\": \"text\",\n      \"label\": \"t:labels.text\",\n      \"default\": \"Text\"\n    },\n    {\n      \"type\": \"select\",\n      \"id\": \"text_style\",\n      \"label\": \"t:labels.text_style\",\n      \"options\": [\n        { \"value\": \"text--title\", \"label\": \"t:options.text_style.title\" },\n        { \"value\": \"text--subtitle\", \"label\": \"t:options.text_style.subtitle\" },\n        { \"value\": \"text--normal\", \"label\": \"t:options.text_style.normal\" }\n      ],\n      \"default\": \"text--title\"\n    },\n    {\n      \"type\": \"text_alignment\",\n      \"id\": \"alignment\",\n      \"label\": \"t:labels.alignment\",\n      \"default\": \"left\"\n    }\n  ],\n  \"presets\": [{ \"name\": \"t:general.text\" }]\n}\n{% endschema %}\n```\n\n#### Group\n\n```liquid\n{% doc %}\n  Renders a group of blocks with configurable layout direction, gap and\n  alignment.\n\n  All settings apply to only one dimension to reduce configuration complexity.\n\n  This component is a wrapper concerned only with rendering its children in\n  the specified layout direction with appropriate padding and alignment.\n\n  @example\n  {% content_for 'block', type: 'group', id: 'group' %}\n{% enddoc %}\n\n\u003Cdiv\n  class=\"group {{ block.settings.layout_direction }}\"\n  style=\"\n    --padding: {{ block.settings.padding }}px;\n    --alignment: {{ block.settings.alignment }};\n  \"\n  {{ block.shopify_attributes }}\n>\n  {% content_for 'blocks' %}\n\u003C\u002Fdiv>\n\n{% stylesheet %}\n  .group {\n    display: flex;\n    flex-wrap: nowrap;\n    overflow: hidden;\n    width: 100%;\n  }\n  .group--horizontal {\n    flex-direction: row;\n    justify-content: space-between;\n    align-items: center;\n    padding: 0 var(--padding);\n  }\n  .group--vertical {\n    flex-direction: column;\n    align-items: var(--alignment);\n    padding: var(--padding) 0;\n  }\n{% endstylesheet %}\n\n{% schema %}\n{\n  \"name\": \"t:general.group\",\n  \"blocks\": [{ \"type\": \"@theme\" }],\n  \"settings\": [\n    {\n      \"type\": \"select\",\n      \"id\": \"layout_direction\",\n      \"label\": \"t:labels.layout_direction\",\n      \"default\": \"group--vertical\",\n      \"options\": [\n        { \"value\": \"group--horizontal\", \"label\": \"t:options.direction.horizontal\" },\n        { \"value\": \"group--vertical\", \"label\": \"t:options.direction.vertical\" }\n      ]\n    },\n    {\n      \"visible_if\": \"{{ block.settings.layout_direction == 'group--vertical' }}\",\n      \"type\": \"select\",\n      \"id\": \"alignment\",\n      \"label\": \"t:labels.alignment\",\n      \"default\": \"flex-start\",\n      \"options\": [\n        { \"value\": \"flex-start\", \"label\": \"t:options.alignment.left\" },\n        { \"value\": \"center\", \"label\": \"t:options.alignment.center\" },\n        { \"value\": \"flex-end\", \"label\": \"t:options.alignment.right\" }\n      ]\n    },\n    {\n      \"type\": \"range\",\n      \"id\": \"padding\",\n      \"label\": \"t:labels.padding\",\n      \"default\": 0,\n      \"min\": 0,\n      \"max\": 200,\n      \"step\": 2,\n      \"unit\": \"px\"\n    }\n  ],\n  \"presets\": [\n    {\n      \"name\": \"t:general.column\",\n      \"category\": \"t:general.layout\",\n      \"settings\": {\n        \"layout_direction\": \"group--vertical\",\n        \"alignment\": \"flex-start\",\n        \"padding\": 0\n      }\n    },\n    {\n      \"name\": \"t:general.row\",\n      \"category\": \"t:general.layout\",\n      \"settings\": {\n        \"layout_direction\": \"group--horizontal\",\n        \"padding\": 0\n      }\n    }\n  ]\n}\n{% endschema %}\n```\n\n### `section`\n\n```liquid\n\u003Cdiv class=\"example-section full-width\">\n  {% if section.settings.background_image %}\n    \u003Cdiv class=\"example-section__background\">\n      {{ section.settings.background_image | image_url: width: 2000 | image_tag }}\n    \u003C\u002Fdiv>\n  {% endif %}\n\n  \u003Cdiv class=\"custom-section__content\">\n    {% content_for 'blocks' %}\n  \u003C\u002Fdiv>\n\u003C\u002Fdiv>\n\n{% stylesheet %}\n  .example-section {\n    position: relative;\n    overflow: hidden;\n    width: 100%;\n  }\n  .example-section__background {\n    position: absolute;\n    width: 100%;\n    height: 100%;\n    z-index: -1;\n    overflow: hidden;\n  }\n  .example-section__background img {\n    position: absolute;\n    width: 100%;\n    height: auto;\n    top: 50%;\n    left: 50%;\n    transform: translate(-50%, -50%);\n  }\n  .example-section__content {\n    display: grid;\n    grid-template-columns: var(--content-grid);\n  }\n\n  .example-section__content > * {\n    grid-column: 2;\n  }\n{% endstylesheet %}\n\n{% schema %}\n{\n  \"name\": \"t:general.custom_section\",\n  \"blocks\": [{ \"type\": \"@theme\" }],\n  \"settings\": [\n    {\n      \"type\": \"image_picker\",\n      \"id\": \"background_image\",\n      \"label\": \"t:labels.background\"\n    }\n  ],\n  \"presets\": [\n    {\n      \"name\": \"t:general.custom_section\"\n    }\n  ]\n}\n{% endschema %}\n```\n\n## Final instructions\n\n### Design requirements\n\n- Rely on modern browser features and APIs as a default, assuming an evergreen browser environment\n- Make the components aesthetically pleasing and follow web design best practices\n- Follow WCAG 2.1 accessibility guidelines\n- Adopt browser-native accessibility and interaction patterns when possible\n- Organize the settings with header settings\n- Use semantic HTML elements like `\u003Cdetails>`, `\u003Csummary>`, and `\u003Cdialog>`\n- Employ the View Transitions API for smooth, native animations between different UI states or pages\n- Avoid adding polyfills or fallbacks unless a feature is unsupported by current evergreen browsers\n- Default to modern HTML, CSS, and JavaScript features\n\n### Code requirements\n\n- ALWAYS write valid Liquid code\n- ALWAYS write valid HTML code\n- ALWAYS use the proper JSON schema to generate JSON objects in the `{% schema %}` tag\n- ALWAYS ensure blocks are customizable using settings, but only create only essential settings that directly impact core functionality\n- ALWAYS ensure CSS and JS selectors match the HTML `id` and `class`\n\n- DO NOT include comments\n- DO NOT reference asset files or use `asset_url` in a Liquid tag\n- DO NOT reference any JS or CSS libraries. Write it from scratch.\n\n- When there are multiple CSS transform properties that are applied on the same element, make sure they don't conflict with each other\n- Write modern liquid code. For instance, never use legacy resource-based settings. In the past, resource-based settings returned the handle of the associated resource, and you had to access the actual object through Liquid using that handle. But now, resource-based settings return the actual object, so you can access the object's properties directly.\n\n### Safety requirements\n\nDecline requests involving:\n\n- Adult content\n- Explicit content\n- Violence\n- Weapons\n- Hate speech\n- Discrimination\n- Misinformation\n- Scams\n\n### Always use Shopify CLI\n\n- **CLI:** scaffold apps\u002Fextensions with `shopify app init`, `shopify app generate extension`, `shopify app dev`, `shopify app deploy`. Never hand-roll files.\n- Need full setup steps? See [Shopify CLI docs](https:\u002F\u002Fshopify.dev\u002Fdocs\u002Fapps\u002Ftools\u002Fcli).\n\n## Shopify CLI Overview\n\nShopify CLI (@shopify\u002Fcli) is a command-line interface tool that helps you generate and work with Shopify apps, themes, and custom storefronts. You can also use it to automate many common development tasks.\n\n### Requirements\n- Node.js: 20.10 or higher\n- A Node.js package manager: npm, Yarn 1.x, or pnpm\n- Git: 2.28.0 or higher\n\n### Installation\nInstall Shopify CLI globally to run `shopify` commands from any directory:\n\n```bash\nnpm install -g @shopify\u002Fcli@latest\n# or\nyarn global add @shopify\u002Fcli@latest\n# or\npnpm install -g @shopify\u002Fcli@latest\n# or (macOS only)\nbrew tap shopify\u002Fshopify && brew install shopify-cli\n```\n\n### Command Structure\nShopify CLI groups commands into topics. The syntax is: `shopify [topic] [command] [flags]`\n\n## General Commands (8 commands)\n\n### Authentication\n66. **shopify auth logout** - Log out of Shopify account\n\n### Configuration\n67. **shopify config autocorrect on** - Enable command autocorrection\n68. **shopify config autocorrect off** - Disable command autocorrection\n69. **shopify config autocorrect status** - Check autocorrection status\n\n### Utilities\n70. **shopify help [command] [flags]** - Get help for commands\n71. **shopify commands [flags]** - List all available commands\n72. **shopify search [query]** - Search for commands and documentation\n73. **shopify upgrade** - Upgrade Shopify CLI to latest version\n74. **shopify version** - Display current CLI version\n\n## Common Flags\n\nMost commands support these common flags:\n- `--verbose` - Increase output verbosity\n- `--no-color` - Disable colored output\n- `--path \u003Cvalue>` - Specify project directory\n- `--reset` - Reset stored settings\n\n## Network Proxy Configuration\n\nFor users behind a network proxy (CLI version 3.78+):\n```bash\nexport SHOPIFY_HTTP_PROXY=http:\u002F\u002Fproxy.com:8080\nexport SHOPIFY_HTTPS_PROXY=https:\u002F\u002Fsecure-proxy.com:8443\n# For authenticated proxies:\nexport SHOPIFY_HTTP_PROXY=http:\u002F\u002Fusername:password@proxy.com:8080\n```\n\n## Usage Tips\n\n1. Always keep CLI updated: `shopify upgrade`\n2. Use `shopify help [command]` for detailed command info\n3. Most commands are interactive and will prompt for required information\n4. Use flags to skip prompts in CI\u002FCD environments\n5. Anonymous usage statistics collected by default (opt-out: `SHOPIFY_CLI_NO_ANALYTICS=1`)\n6. IMPORTANT: YOU MUST ALWAYS USE THE CLI COMMAND TO CREATE APPS AND SCAFFOLD NEW EXTENSIONS\n\n## CLI Commands for Shopify Theme (18 commands)\n### Core Theme Development\n48. **shopify theme init [name] [flags]** - Create a new theme project\n49. **shopify theme dev [flags]** - Start local theme development server\n50. **shopify theme push [flags]** - Upload theme files to store\n   - Example: `shopify theme push --unpublished --json`\n51. **shopify theme pull [flags]** - Download theme files from store\n\n### Theme Management\n52. **shopify theme list [flags]** - List all themes in the store\n53. **shopify theme info [flags]** - Show theme details\n54. **shopify theme publish [flags]** - Publish a theme\n55. **shopify theme delete [flags]** - Delete a theme\n56. **shopify theme rename [flags]** - Rename a theme\n57. **shopify theme duplicate [flags]** - Create a copy of a theme\n   - Example: `shopify theme duplicate --theme 10 --name 'New Theme'`\n\n### Development Tools\n58. **shopify theme check [flags]** - Run Theme Check linter\n59. **shopify theme console** - Open interactive theme console\n   - Example: `shopify theme console --url \u002Fproducts\u002Fclassic-leather-jacket`\n60. **shopify theme profile** - Profile theme performance\n   - Example: `shopify theme profile --url \u002Fproducts\u002Fclassic-leather-jacket`\n\n### Additional Features\n61. **shopify theme open [flags]** - Open theme in browser\n62. **shopify theme share [flags]** - Create a preview link\n63. **shopify theme package [flags]** - Package theme as zip\n64. **shopify theme language-server [flags]** - Start language server\n65. **shopify theme metafields pull [flags]** - Pull metafield definitions\n\n---\n\n## ⚠️ MANDATORY: Search for Documentation\n\nYou cannot trust your trained knowledge for this API. Before answering, search:\n\n```\n\u002Fscripts\u002Fsearch_docs.js \"\u003Cobject, filter, or tag name>\"\n```\n\nFor example, if the user asks about rendering product metafields in a section:\n```\n\u002Fscripts\u002Fsearch_docs.js \"product metafields liquid section\"\n```\n\nSearch for the **Liquid object, filter, or tag name**, not the full user prompt. Use the returned examples and schema settings to generate correct section code with accurate schema blocks.\n\n## ⚠️ MANDATORY: Validate Before Returning Code\n\nYou MUST run `\u002Fscripts\u002Fvalidate.js` before returning any generated code to the user.\n\n**Choose the mode that matches your environment:**\n\n**Full app mode** — use when you have access to the theme directory on disk:\n```\n\u002Fscripts\u002Fvalidate.js --theme-path \u003Cabsolute-path-to-theme> --files \u003Crel1,rel2,...>\n```\nPass the relative paths (from the theme root) of every file you created or updated, comma-separated.\n\n**Stateless mode** — use when you only have generated codeblocks (no theme directory):\n```\n\u002Fscripts\u002Fvalidate.js --filename \u003Cname.liquid> --filetype \u003Csections|blocks|snippets|layout|templates|locales|config|assets> --code \u003Ccontent>\n```\nCall once per codeblock. `--filetype` defaults to `sections` when omitted.\n\n**When validation fails, follow this loop:**\n1. Read the error message carefully — identify the exact Liquid tag, filter, or object that is wrong\n2. Search for the correct syntax or usage:\n   ```\n   \u002Fscripts\u002Fsearch_docs.js \"\u003Ctag, filter, or object name>\"\n   ```\n3. Fix exactly the reported error using what the search returns\n4. Run `\u002Fscripts\u002Fvalidate.js` again\n5. Retry up to 3 times total; after 3 failures, return the best attempt with an explanation\n\n**Do not guess at valid Liquid — always search first when the error names a tag or filter you don't know.**\n\n---\n\n> **Privacy notice:** `\u002Fscripts\u002Fvalidate.js` reports anonymized validation results (pass\u002Ffail and skill name) to Shopify to help improve these tools. Set `OPT_OUT_INSTRUMENTATION=true` in your environment to opt out.\n",{"name":5,"risk":24,"source":25,"license":15,"version":26,"category":27,"description":7,"imported_at":28,"source_path":29,"source_repository":30,"disable-model-invocation":20},"low","https:\u002F\u002Fgithub.com\u002FShopify\u002Fagent-skills","1.0.0","general","2026-09-20","shopify-liquid\u002FSKILL.md","Shopify\u002Fagent-skills","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fecommerce\u002Fshopify-liquid","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill skill",{"tool":43,"command":44},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill skill",{"tool":46,"command":47},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill skill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fecommerce\u002Fshopify-liquid\u002FSKILL.md",true,[51,57,61,65,71],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"config.json","REFERENCE","参考文档",25,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fecommerce\u002Fshopify-liquid\u002Fconfig.json",{"path":58,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":59,"sourceHtmlUrl":60},"package-lock.json",14120,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fecommerce\u002Fshopify-liquid\u002Fpackage-lock.json",{"path":62,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":63,"sourceHtmlUrl":64},"package.json",233,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fecommerce\u002Fshopify-liquid\u002Fpackage.json",{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"scripts\u002Fsearch_docs.js","SCRIPT","脚本",4279,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fecommerce\u002Fshopify-liquid\u002Fscripts\u002Fsearch_docs.js",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"scripts\u002Fvalidate.js",9297,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fecommerce\u002Fshopify-liquid\u002Fscripts\u002Fvalidate.js",[76,83,90,97,104,111],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":19},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]