Product Category Hierarchy Object Reference

Overview

Describes the relationship between Product Categories. A product category can have multiple parents as well as multiple children.

Property Value
API Name s_c__Product_Category_Hierarchy__c
Label Product Category Hierarchy
Plural Label Product Category Hierarchies
Type Custom Object

Fields

Field Label API Name Type Required Description
Child Category s_c__Child_Id__c Lookup (s_c__Product_Category__c) Yes Child of the Product Category hierarchy relationship. Could be called subcategory.
Parent Category s_c__Parent_Id__c Lookup (s_c__Product_Category__c) Yes Parent of the Product Category hierarchy relationship.
Position s_c__Position__c Number(18,0) No The position of this Category in relation to other Categories of the same parent. Any categories with an empty position will be ordered last alphabetically.
Is the primary parent of the child s_c__Primary_Parent__c Checkbox No Determines if the Parent Category is the primary parent of the Child Category. Used when trying to work out the ancestry of a given Child Category when we walk up the hierarchy, for example on breadcrumbs.
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__Child_Id__c Lookup s_c__Product_Category__c Child_Categories
s_c__Parent_Id__c Lookup s_c__Product_Category__c Parent_Categories