Skip to content
Log in

ArticleCategory - Liquid Object Reference

On this page

Description

The ArticleCategory object defines a grouping of Articles that can be viewed on the Store. ArticleCategories can be nested.

:::note This object supports custom data via the data attribute. :::

Backed by

This drop renders the s_c__Article_Category__c Salesforce object. A theme writes it as article_category.

Liquid attribute Salesforce field
identifier s_c__Path__c
meta_description s_c__Meta_Description__c
meta_keywords s_c__Meta_Keywords__c
meta_title s_c__Meta_Title__c
name s_c__Display_Name__c
position s_c__Position__c
type s_c__Type__c

Every other attribute on this drop is derived by StoreConnect rather than read straight from one field. The Attributes section lists them all.

Fields you add yourself are not listed above. Expose one with a Custom Data Mapping record, then read it from article_category.data. See custom data fields in Liquid.

Attributes

Attribute Type Description
articles PaginatedList[Article] Returns list of Articles in this ArticleCategory
children List[ArticleCategory] Returns list of ArticleCategories belonging to this ArticleCategory
id String Returns the unique id for this ArticleCategory
identifier String Returns the value of the Identifier attribute
information_content String Returns the value of the Information attribute as rich text
introduction_content String Returns the value of the Introduction attribute as rich text
meta_description String Returns the value of the Meta Description attribute
meta_keywords String Returns the value of the Meta Keywords attribute
meta_title String Returns the value of the Meta Title attribute
name String Returns the value of the Name attribute
navigation_children List[ArticleCategory] Returns a list of child ArticleCategories that are enabled to appear in navigation menus
parent ArticleCategory Returns the parent ArticleCategory of this ArticleCategory
path String Returns the url path for this ArticleCategory
position Number Returns the position of this ArticleCategory
social_image Image Returns the image to be used when sharing this ArticleCategory
type String Returns the value of the Type attribute
url String Returns the complete url for this ArticleCategory

Available on

Was this article helpful?

Was this article helpful?