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 Category Objects

Category liquid variables

Written by Guilherme Arantes

Updated at April 27th, 2025

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 category attributes available on the template engine.

  • category.id: Identification number of said category;
  • category.name: Retrieve a String with the full name of the question;
  • category.description:
  • category.image_url:
  • category.is_internal?: Boolean value returns true if the question is indeed internal;
  • category.has_children?: Boolean value, assumes true if the current category have subcategories.
  • category.show_all_questions_link: URL Slug text starting imidiately after the domain;
  • category.category_link: A anchor tag with name and href to the category;
  • category.url: URL Slug text starting imidiately after the domain;
  • category.number_of_questions:
  • category.created_at:
  • category.updated_at:
  • category.root: Return a single object parent to the current category;
  • category.parent: Return a single object parent to the current category;
  • category.ordered_subcategories:
  • category.published_questions: List of published questions in this category, subcategories not included;
  • category.published_questions_by_id: returns the questions object ordered by ID;
  • category.all_self_and_descendants: List of category objects with children and the current category it self;
  • category.descendants: List of category objects containing all the children and beyond categories;
  • category.children: List of category objects containing all the children and beyond categories;
  • category.number_of_questions: quantity of questions inside this category, subcategories not included, can be replaced by {{category.questions.size}};
  • category.questions: List of all questions in this category, subcategories not included;

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Shopify/Liquid Complete Objects Reference
  • Shopify/Liquid Question Objects
  • How To Retrieve Categories Through API
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