ProductCategory - Liquid Object Reference
On this page
Description
The ProductCategory object contains information about a category of products. ProductCategories can be nested several levels deep.
:::note
This object supports custom data via the data attribute.
:::
Attributes
| Attribute | Type | Description |
|---|---|---|
ancestors |
List[ProductCategory] | Returns a list of ancestors of this ProductCategory |
children |
List[ProductCategory] | Returns a list of child ProductCategories |
google_product_category |
String | Returns the Google Product Category for this ProductCategory |
hidden? |
Boolean | Returns true if this ProductCategory is hidden |
id |
String | Returns the unique id for this ProductCategory |
identifier |
String | Returns the value of the Identifier attribute |
image |
Image | Returns the Image linked to this ProductCategory |
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[ProductCategory] | Returns a list of child ProductCategories that are enabled to appear in navigation menus |
path |
String | Returns the url path for this ProductCategory |
position |
Number | Returns the position of this ProductCategory in the list of ProductCategories |
products |
PaginatedList[Product] | Returns a Lookup list of Products in this ProductCategory |
social_image |
Image | Returns the image to be used when sharing this ProductCategory |
subtitle |
String | Returns the value of the Subtitle attribute |
title |
String | Returns the value of the Title attribute |
url |
String | Returns the complete url for this ProductCategory |
Available on
- ContentBlock - Liquid Object Reference —
product_categories - Discount - Liquid Object Reference —
product_category - Global - Liquid Object Reference —
all_product_categories,current_product_category - Location - Liquid Object Reference —
categories - LocationGroup - Liquid Object Reference —
categories - Membership - Liquid Object Reference —
product_category - MenuItem - Liquid Object Reference —
product_category - Product - Liquid Object Reference —
categories - ProductApproval - Liquid Object Reference —
product_category - PromotionScope - Liquid Object Reference —
category - Store - Liquid Object Reference —
navigation_categories
Was this article helpful?
Thanks for your feedback! It helps us improve our docs.