Skip to content
Log in

Product Category Object Reference

On this page

Overview

A Product_Category__c represents a collection of Product2 objects. Every Product_Category__c belongs to exactly one Taxonomy__c.

Product_Category__c objects are used to show navigation bars and
categories of products into different areas.  A Product_Category__c
can belong to multiple parents and have multiple child
Product_Category__c objects.
Property Value
API Name s_c__Product_Category__c
Label Product Category
Plural Label Product Categories
Type Custom Object

Fields

Field Label API Name Type Required Description
Number of Child Categories s_c__Child_Count__c Number(18,0) No This is updated automatically to show the number of product categorys that belong to this product category
Display Name s_c__Display_Name__c Text(255) No Used in auto generated navigation bars and breadcrumbs instead of Name if present
Google Product Category s_c__Google_Product_Category__c Text(255) No The Google Product Category for this category. Ensure the category number is at the start of the field, such as “2 - Animals & Pet Supplies > Pet Supplies”
Hide Category s_c__Hide__c Checkbox No Hide this category from showing in the navigation bar
Import ID s_c__Import_ID__c Text(255) No  
Information Content (Markdown) s_c__Information_Markdown__c LongTextArea(131072) No The contents to display after all the products on a category page.
Introduction Content (Markdown) s_c__Introduction_Markdown__c LongTextArea(50000) No The contents to display before all the products on a category page.
Media s_c__Media_Id__c Lookup (s_c__Media__c) No The image to use for the category when featured, eg. displayed in a featured category content block.
Meta Description s_c__Meta_Description__c LongTextArea(2500) No The content that appears within the meta description tag in the HEAD tag of the page
Meta Keywords s_c__Meta_Keywords__c Text(255) No The content that appears within the meta keywords tag in the HEAD tag of the page
Meta Title s_c__Meta_Title__c Text(255) No The content that appears within the meta title tag in the HEAD tag of the page
Number of Parent Categories s_c__Parent_Count__c Number(18,0) No This is updated automatically to show the number of product categorys that this product category belongs to.
Path s_c__Path__c Text(255) No Specifies the relative path where the category will be accessible in the store
Position s_c__Position__c Number(10,0) No The position of this product category object. Lower numbers are shown first, objects without a number are sorted alphabetically by name
Featured Product s_c__Product_Id__c Lookup (Product2) No The primary / featured product for the category
Social Image s_c__Social_Image_Id__c Lookup (s_c__Media__c) No The Image to show when the Category is shared on Social Media. If not provided, will use the Category’s first image.
Store Id s_c__Store_Id__c Formula (Text) No For System/Internal Use Only - sourced from associated Taxonomy.
Subtitle s_c__Subtitle__c Text(255) No Appears at the top of the category page under the title.
Taxonomy s_c__Taxonomy_Id__c Lookup (s_c__Taxonomy__c) Yes  
Title s_c__Title__c Text(255) No Appears at the top of the category page in place of the name if defined.
Unique Taxonomy and Path s_c__Unique_Taxonomy_Path__c Text(255) No An internal field to ensure uniqueness.
StoreConnect External ID s_c__sC_Id__c Text(36) No StoreConnect External ID, do not modify in Salesforce

Relationships

Field Type Related Object Relationship Name
s_c__Media_Id__c Lookup s_c__Media__c Media_Categories
s_c__Product_Id__c Lookup Product2 Primary_Featured_Product
s_c__Social_Image_Id__c Lookup s_c__Media__c Product_Category_Social_Images
s_c__Taxonomy_Id__c Lookup s_c__Taxonomy__c Taxonomy_Categories

Referenced by

These objects hold a lookup or master-detail relationship to Product Category (s_c__Product_Category__c). Where the referring record exists to join things together, Also links to shows what it connects this object to.

Object Field Type Relationship Name Also links to
s_c__Account_Product_Category__c s_c__Product_Category_Id__c MasterDetail Accounts_Product_Categories Account
s_c__Content_Blocks_Product_Categories__c s_c__Category_Id__c MasterDetail Content_Block_Product_Categories1 s_c__Content_Block__c
s_c__Discount__c s_c__Product_Category_Id__c Lookup Discounts
s_c__Membership__c s_c__Product_Category_Id__c Lookup Memberships Pricebook2, Product2
s_c__Menu_Item__c s_c__Product_Category_Id__c Lookup Product_Category_Menu_Item
s_c__Outlet__c s_c__Quicklist_Product_Category_Id__c Lookup Outlet_Quicklist_Category
s_c__Permitted_Restricted_Product__c s_c__Product_Category_Id__c Lookup Permitted_Restricted_Products
s_c__Pos_Action_Group__c s_c__Product_Category_Id__c Lookup POS_Action_Groups_Product_Category
s_c__Product_Category_Hierarchy__c s_c__Child_Id__c Lookup Child_Categories
s_c__Product_Category_Hierarchy__c s_c__Parent_Id__c Lookup Parent_Categories
s_c__Products_Product_Categories__c s_c__Category_Id__c Lookup Product_Category_Products Product2
s_c__Promotion_Scope__c s_c__Category_Id__c Lookup Product_Category_Promotions
s_c__Promotion2_Product_Scope__c s_c__Category_Id__c Lookup Promotion2_Product_Scopes_Category
s_c__Related_Product_Category__c s_c__Child_Id__c Lookup Child_Related_Product_Categories
s_c__Related_Product_Category__c s_c__Parent_Id__c Lookup Parent_Related_Product_Categories

Was this article helpful?

Was this article helpful?