US English (US)
BS Bosnian

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Book a Demo
  • Product Updates
  • Contact Us
English (US)
US English (US)
BS Bosnian
  • Home
  • Customization
  • Customization Guides
  • Liquid Templating Basics

Shopify/Liquid Object Syntax

How to get an object value on a template file

Written by Guilherme Arantes

Updated at August 25th, 2020, by David growhackscale

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Getting Started
    Users Accessibility New to Helpjuice? Start Here Content Management Multiple Languages/Translations & Localization Multilingual Knowledge Bases Analytics Video Tutorials
  • Customization
    Customization Guides
  • API V2
  • API V3 and Webhooks
  • Article Editor
  • Billing / Subscription
  • Authentication
  • Pricing
  • Swifty AI Chatbot
  • Swifty AI Helpbar
  • What's New
+ More

In order to display the object value, you'll need to make sure it's inside the brackets markup as the following example:

<h1>{{ question.name }}</h1>

This would output "Shopify/Liquid Object Syntax" on this specific page.


Wrong Syntax:

<h1>{% question.name %}</h1>
<h1>{{ question.name </h1>}}

The above examples wouldn't work and no output would be displayed.


Real Liquid Example

This example is from a Standard Helpjuice Theme live on our Theme Library:

<article class="main_content">
  <h1 class="page_title">{{ question.name }}</h1>

  <p class="page_description">
    {{ question.description }}
  </p>

  <div class="page_content">
    {{ question.answers.first.cleaned_body }}
  </div>
</article>


Liquid Filters

You can apply filters on the Liquid Statements. Every time you need to limit a loop statement or change the output of an object value, you can rely on Liquid Filters. Check the Shopify/Liquid Filter Syntax article.‍


Objects List:

You can find the complete object reference at Shopify/Liquid Complete Objects Reference‍

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Olark Integration
  • Shopify/Liquid Filter Syntax
  • Shopify/Liquid Question Objects
  • Shopify/Liquid Complete Objects Reference

Copyright © 2025 - Helpjuice

Helpjuice, Inc. is a registered US Corporation, EIN # 45-2275731

Download W9
  • Help
  • Features
  • Pricing
  • About
  • Careers
  • Customers
  • Blog
  • Case Studies
  • Resources
  • Knowledge Base Examples
  • Privacy Policy
  • Terms of Service

Why is the knowledge base important?

With a knowledge base, you can allow your customers to self-help themselves, thus reducing your customer support by up to 60%. Furthermore, you can also have your team get instant answers to the questions they need without having to email themselves all using knowledge base software.

What is the purpose of a knowledge base?

The purpose of knowledge base software is to allow you to host your knowledge base/corporate wiki in one centralized 'hub'. Both your customers, and employees can now access information within seconds!

Made with from Miami, Bosnia, Morocco & Brasil

+1 (833) 387 3877 support@helpjuice.com
Expand