0 %
BOOK A CALL
Background Objects
Background Objects

Blogs / shopify Liquid.. explained

Shopify Liquid..
Explained

in less then 4 minutes⚡get to know
the ins and outs of Shopify Liquid

Have you ever wondered, what is this gibberish code that you see on screen when you open the code editor on your store 🤢

Well my friend, this is something called Liquid and in today's post, I'm going to explain exactly what is Liquid, how to use it, and break down the Liquid syntax step by step.

my name is Abdo and during the past three years I have worked with many shopify brands and i use liquid daily

So with that being said let's get started..

What the heck is liquid

Liquid is basically a templating language, it pulls data from a database and displays it on screen.

As you know, Shopify hosts your store’s data on a database.

And Liquid is pulling that data and displaying it. But not only that, Liquid is manipulating that data, which means you can hide some data, show some data, filter data, and loop through data—all through Liquid.

The Liquid Syntax

Alright, let's break down the Liquid syntax.

The liquid syntax splits into three different categories

Objects

Tags

Filters

1. Objects

Objects dynamically output data or variables and are wrapped in double curly braces.

For example:

{{ product }}

Inside this object, there are properties or attributes you can use with the dot notation:

{{ product.title }}

This renders the product title and updates dynamically based on the product URL.

And if you need help with the syntax, Use the Liquid Cheat Sheet—it’s been my best friend for years.

2. Tags

Tags are the logic of Liquid, allowing you to manipulate data and define conditions.

Example of control flow:

{% if product.available %}
    This product is in stock!
{% else %}
    Sorry, this product is sold out.
{% endif %}

Tags include iteration, variable assignment, capture, include, and comment tags. Each tag serves a specific purpose, helping you manage and organize your templates.

3. Filters

Filters modify the output of objects and variables, used with a pipe |. Example:

{{ product.price | money }}

Outputs: $20.00

Wrapping up

Liquid powers Shopify’s dynamic behavior, making themes highly customizable. If you’re curious about JSON, that’s a story for another day—it’s used for section settings.

Thank you so much for reading. Let me know if this was helpful!

Resources

Testimonials

Testimonials
That makes my work worth it

look, i understand, i have no reviews

and you are already probebly wondering now of weather iam a 3 dimentional scam or not

while its completely absolutely and artly your right to do that

BUT hold on

you see

i am still relatively new to the selling my services thing

although I have mastered the service delivery... thats true

and i can do it in super fast speed that you wont be able to see me... also thats true. kind of

but regardless

i cant PROVE that to you with a testimonial

and as i’ve said

it is your right to be spectacular

i dont blame you and i would’ve probably done the same

so what iam gonna do to encounter this issue is the following…

iam going to do a great discount for 80% on both the full store and the monthly retainer

YES 80%… eighty percent

and it would be for an extremly limited time

and the discount will gradually decrease as i start get testimonials and case studies from clients like you

fair?

perfect

Pricing

It's time to put your store on Steroids

Landing Page

Effective, Data-Driven

$2500

  • Turn cold clicks into warm, recurring customers.
  • Irresistible offer creation
  • Sales magnet copywriting
  • Aesthetic, beautiful branding
  • Pixel perfect development
  • Unlimited revisions & 48h turnaround
  • Smooth workflow through client portal
  • Squeez every advertising dollar
Book a call with Abdo

If you don't like, you don't pay

CRO Unlocked

Fast, Frictionless, Reliable

$4500/mo

  • Your on-demand CRO team, without the overhead.
  • One request at a time
  • Clear timelines and milestone deliverables
  • Strategy call every 2 weeks
  • 48h Turnaround
  • Smooth workflow through client portal
  • Pause or cancel any time
Book a call with Abdo

30 day money back gurantee

Free

Put your store on Steroids *For Free!*

Conversion FocusedBanner

Effective, Data-Driven

FREE

  • Hooking banner
  • Highly converting headline
  • Designed in a Figma file
  • With assets included
  • 48h average delivery
  • Sent by Email
  • One time per store
Get Conversion Focused Banner

Conversion FocusedAudit

Detailed, Checklisted, Easy to implement

FREE

  • Home page, Product page detailed audit
  • Written as a checklist
  • With loom videos and screenshots
  • 48h average delivery
  • Sent by Email
  • One time per store
Get Free Audit
Resources

More Free Stuff

Wanna do it yourself? i will help you every step of the way through resources that i use daily for my paying clients

background image
background image
Template background image
Template background image