
Shopify Theme Customization with Liquid
By :

We referenced objects and their attributes in the previous chapter. But what exactly are objects?
These objects, or so-called liquid variables, are elements that allow us to read the content defined in our backend and dynamically output it to help us create better programming logic. We can output the data by combining the objects and attributes encapsulated by double curly braces. An example of the global object that we were using in the previous chapter would be {{ collection.title }}
, where the collection
keyword would be our object and title
would be the attribute.
We can reference these global objects inside any file by directly visiting the page whose content we are looking to recover and calling the object, or manually invoking the object for the specific page using its handle and combining it with the variable tags. Let's see this in action.
As you may recall from the previous chapter, while we were working on the project on our indoor...