Liquid tags

Liquid tags are the programming logic that tells templates what to do. Tags are wrapped in: {% %} characters.

Certain tags, such as for and cycle can take on parameters. Details for each parameter can be found in their respective sections.

In this section:

  • Variable tags Use variable tags to create new Liquid variables.

  • Iteration tags Iteration tags run blocks of code repeatedly.

  • Control flow tags Control flow tags create conditions that decide whether blocks of Liquid code get executed.

  • Theme tags Theme tags output HTML markup specific to your template, define theme layouts and snippets, and break up returned arrays into more than one page.

Ready to start selling with Shopify?

Try it free