I got some a small assignment to add a feature to a theme made on Shopify. I am good with PHP but shopify uses .liquid files. I want to know how it works like this code snippet
{{% if payment.gateway | name %}}
Though they have given the documentation but I want to know how I can work on this language as I don`t have shopify paid version and I want to try this before paying for it. Can anyone help me
The Liquid code is essentially a placeholder. It's used to retrieve specific referenced data from your Shopify store—like your store name, product details, images, etc. —when the code is compiled and sent to the browser. Then, the browser grabs assets like your Javascript and CSS files to display your customized theme.
Liquid is an open-source template language created by Shopify and written in Ruby. It is the backbone of Shopify themes and is used to load dynamic content on storefronts. Liquid has been in production use at Shopify since 2006 and is now used by many other hosted web applications.
In your Shopify store, static elements are written in HTML, and dynamic elements are written in Liquid.
Liquid is a coding language template that was created by Shopify. It is also written in Ruby, an open source programming language. Liquid is finally available as an open source project on GitHub.
It's Shopify's templating language, Liquid.
You can sign up to the Shopify Partner program and play with Liquid in a dev shop for free.
Jekyll also uses Liquid, if you're interested.
Liquid is an open-source template language created by Shopify and written in Ruby. It is the backbone of Shopify themes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With