Frucosol starts up in manchester
Posted by development shop on September 21, 2011 (0 Comments)
Using liquid markup
Liquid is the engine of Shopify's customization. It’s a small and fast template language which is quick to learn but very powerful for full customization.
Basics
There are two types of markup in liquid: Output and Tag.
- Output is surrounded by
{{ two curly brackets }}
- Tags are surrounded by
{% a curly bracket and a percent %}
Output blocks will always be replaced with the data which they reference. If your liquid template has a product object exposed to it you can print the name of the product to the screen by referencing {{ product.title }}.
Tags drive the logic of templates. They are responsible for loops and branching logic such as If / Else.