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.

  • Contact Us
  • Home

Shopify/Liquid Question Objects

Question liquid variables

Written by Guilherme Arantes

Updated at May 20th, 2020

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.

  • Customization
    Customization Guides
  • Article Editor
  • Getting Started
    Managing Users Analytics Content Management Permissions & Accessibility Video Tutorials
  • Integrations
  • API & Webhooks
    API V2 API V3
  • Languages & Translations
  • Authentication
  • Swifty AI
  • Settings
    User Settings User Behavior Knowledge Base Settings Custom Domain
+ More

This is the complete list of the question attributes available on the template engine.

  • question.id: Identification number of said question;
  • question.name: Retrieve a String with the full name of the question;
  • question.description: This is the question subtitle;
  • question.category: Fetch the parent category to the specific question and returns as a object;
  • question.default_slug: URL Slug text for the question;
  • question.codename: Same as question.default_slug;
  • question.question_link: HTML A tag used to reference the question;
  • question.url: URL Slug text starting immediately after the domain;
  • question.votes: Sum quantity of feedback votes;
  • question.positive_votes: Positive votes quantity only;
  • question.negative_votes: Negative votes quantity only;
  • question.feedback_url: Used in the feedback form, more details here;
  • question.answer_sample: A tiny piece of the question text, 90 first chars;
  • question.long_answer_sample: A small piece of the question text, 350 first chars;
  • question.views: Views quantity;
  • question.readings: Readings quantity;
  • question.published_date: The complete date of publication (hour included);
  • question.is_internal: Boolean value returns true if the question is indeed internal;
  • question.is_internal?: Same as question.is_internal;
  • question.first_published_date: The complete date of publication;
  • question.last_updated: The complete date of the most recent update (hour included);
  • question.author_first_name: The authors first name;
  • question.author_last_name: The authors last name;
  • question.updated_by: See the object reference below;
  • question.created_by: See the object reference below;
  • question.related_questions: Returns a list of question objects with similar location;
  • question.show_tags: Comma separated list of tags for the question;
  • question.tag_names: A list with the tags for the question;
  • question.answers.first: See the object reference below;
  • question.answers: Retrieve a Long String with the text;


question.updated_by:

  • question.updated_by.first_name: First name of the user which updated the question the last time;
  • question.updated_by.last_name: Last name of the user which updated the question the last time;
  • question.updated_by.email: Email address of the user which updated the question the last time;
  • question.updated_by.role_id: User role of the user which updated the question the last time;


question.created_by:

  • question.created_by.first_name: First name of the user which first created the question;
  • question.created_by.last_name: Last name of the user which first created the question;
  • question.created_by.email: Email address of the user which first created the question;
  • question.created_by.role_id: User role of the user which first created the question;


question.answers.first:

  • question.answers.first.user:
  • question.answers.first.answer_sample: A tiny piece of the question text, 90 first chars;
  • question.answers.first.question: The question name;
  • question.answers.first.updated_at: The complete date of the most recent update (hour included);
  • question.answers.first.created_at: The complete date of creation (hour included);
  • question.answers.first.body: Retrieve a Long String with the text;

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Main CSS
One Knowledge Base To Replace Them All
24/5 support
Constant Product Updates & Improvements
100% money back guarantee
99.9% Uptime
Features
  • AI Knowledge Base AI-Enabled
  • Helpjuice Extension AI-Enabled
  • Powered Editor AI-Enabled
  • Advanced Analytics AI-Enabled
  • Customizable Themes AI-Enabled
  • Swifty · Helpbar & Chatbot AI-Enabled
  • Multi-Language Support
  • Step-by-Step Tutorial Creator
  • Seamless Integrations
  • User Access Control
  • See All Features >>
Product
  • Product Roadmap
  • Pricing
  • Book a Demo
  • Policies & Security
  • Our Customers
  • About Helpjuice
  • Contact Our Team
Resources
  • Our Knowledge Base
  • Webinars
  • Success Stories
  • API Documentation
  • Data Import Guide
  • Helpjuice Blog
Copyright © 2025, Helpjuice Inc.
Helpjuice, Inc. is a registered US Corporation.
EIN 46-2257741 | Download W9
Made in America High Performer Ease of Use Get Support
Get Started For Free
4.8 average review on
Life’s too short to use mediocre software.
+1 (833) 387 3877
Powered by Helpjuice Helpjuice Swifty AI External Link
Expand