Posts

Showing posts from April, 2019

Learn Liquid — Coding with Shopify's Template Language

Image
First,   le ts  get into what is Shopify? Shopify is an e-commerce platform for online stores. Shopify gives us a platform for creating our own online shopping stores. What is Liquid? Liquid is an open-source template language created by Shopify and  which  is written in Ruby. All the Shopify themes are built using liquid so  we  can say it is the backbone of Shopify and is used to load the dynamic content of online stores. Liquid acts as a bridge between the web layout and the website data. Basically, a template language makes it possible to re-use the static elements that define the layout of a webpage, while dynamically loading the pages with data from a Shopify store. The static elements are of-course written in HTML, and the dynamic elements are written in Liquid. How does Liquid work with Shopify? 1. User requests a URL of a Shopify store in the browser. 2. Shopify works out to find which store is being requested. 3...