{"title":"ProductCategory - Liquid Object Reference","slug":"product-category-liquid-object-reference","url":"https://support.storeconnect.com/articles/product-category-liquid-object-reference","url_markdown":"https://support.storeconnect.com/articles/product-category-liquid-object-reference.md","subtitle":null,"summary":"The ProductCategory object contains information about a category of products. ProductCategories can be nested several levels deep.","type":"Developer_Documentation","video_url":"","keywords":"liquid, objects, ProductCategory, template, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nThe ProductCategory object contains information about a category of products. ProductCategories can be nested several levels deep.\n\n:::note\nThis object supports custom data via the `data` attribute.\n:::\n\n## Attributes\n\n| Attribute | Type | Description |\n|-----------|------|-------------|\n| `ancestors` | List[[ProductCategory](product-category-liquid-object-reference)] | Returns a list of ancestors of this ProductCategory |\n| `children` | List[[ProductCategory](product-category-liquid-object-reference)] | Returns a list of child ProductCategories |\n| `google_product_category` | String | Returns the Google Product Category for this ProductCategory |\n| `hidden?` | Boolean | Returns true if this ProductCategory is hidden |\n| `id` | String | Returns the unique id for this ProductCategory |\n| `identifier` | String | Returns the value of the Identifier attribute |\n| `image` | [Image](image-liquid-object-reference) | Returns the Image linked to this ProductCategory |\n| `information_content` | String | Returns the value of the Information attribute as rich text |\n| `introduction_content` | String | Returns the value of the Introduction attribute as rich text |\n| `meta_description` | String | Returns the value of the Meta Description attribute |\n| `meta_keywords` | String | Returns the value of the Meta Keywords attribute |\n| `meta_title` | String | Returns the value of the Meta Title attribute |\n| `name` | String | Returns the value of the Name attribute |\n| `navigation_children` | List[[ProductCategory](product-category-liquid-object-reference)] | Returns a list of child ProductCategories that are enabled to appear in navigation menus |\n| `path` | String | Returns the url path for this ProductCategory |\n| `position` | Number | Returns the position of this ProductCategory in the list of ProductCategories |\n| `products` | PaginatedList[[Product](product-liquid-object-reference)] | Returns a Lookup list of Products in this ProductCategory |\n| `social_image` | [Image](image-liquid-object-reference) | Returns the image to be used when sharing this ProductCategory |\n| `subtitle` | String | Returns the value of the Subtitle attribute |\n| `title` | String | Returns the value of the Title attribute |\n| `url` | String | Returns the complete url for this ProductCategory |\n\n## Available on\n\n- [ContentBlock - Liquid Object Reference](content-block-liquid-object-reference) — `product_categories`\n- [Discount - Liquid Object Reference](discount-liquid-object-reference) — `product_category`\n- [Global - Liquid Object Reference](global-liquid-object-reference) — `all_product_categories`, `current_product_category`\n- [Location - Liquid Object Reference](location-liquid-object-reference) — `categories`\n- [LocationGroup - Liquid Object Reference](location-group-liquid-object-reference) — `categories`\n- [Membership - Liquid Object Reference](membership-liquid-object-reference) — `product_category`\n- [MenuItem - Liquid Object Reference](menu-item-liquid-object-reference) — `product_category`\n- [Product - Liquid Object Reference](product-liquid-object-reference) — `categories`\n- [ProductApproval - Liquid Object Reference](product-approval-liquid-object-reference) — `product_category`\n- [PromotionScope - Liquid Object Reference](promotion-scope-liquid-object-reference) — `category`\n- [Store - Liquid Object Reference](store-liquid-object-reference) — `navigation_categories`"}