What is Liquid?
In the previous chapter, we gained the first insights into Shopify. We learned what Shopify is, how to create Shopify Partner accounts, and how to manage our theme. Finally, we have learned about theme structure, the directories it contains, and some essential files in our Layout
directory, at which point we might have noticed that most of our files contain the .liquid
extension. So what exactly is Liquid?
Liquid is an open source project created by Shopify co-founder and CEO Tobias Lütke. As a template language, Liquid variables connect the Shopify store's data to the static HTML content in our theme, allowing us to turn the static template page into a fully dynamic and powerful e-commerce store and producing impressive results. We can also consider Liquid elements as placeholders that will only get populated with proper data after the code inside the file is compiled and sent to the browser.
Ever since 2006, Liquid has been growing and evolving. Today...