Menu Item Object Reference

Overview

Menu Items belong to menus and represent a single item in the menu such as a product category, link or content.

Property Value
API Name s_c__Menu_Item__c
Label Menu Item
Plural Label Menu Items
Type Custom Object

Fields

Field Label API Name Type Required Description
Article Category s_c__Article_Category_Id__c Lookup (s_c__Article_Category__c) No The article category that will be linked to this menu item. If an Article Category is specified, the link and name of the article category will be automatically included. Additionally, if the "Child Category Levels" field is set to a number greater than 0, it will include all non hidden children of the Article Category automatically to the number of levels requested.
Article s_c__Article_Id__c Lookup (s_c__Article__c) No The article that will be linked to this menu item. If an Article is specified, the link and name of the article will be automatically included.
Number of Levels to Show s_c__Child_Category_Levels__c Number(18,0) No How many levels of the Product Category or Article Category tree should we show automatically under this menu item, default is set to 0 which shows no child categories. Must be a positive number.
Display Name s_c__Display_Name__c Text(255) No An override to the name of this menu item point displayed on the website. If this is blank, the menu item will show the display name field of the associated object.
Hide Menu Item. s_c__Hide__c Checkbox No If set to true, this menu item will be hidden and not show up in the menu. Can be used to disable a specific menu item temporarily instead of deleting it.
Identifier s_c__Identifier__c Text(255) No The identifier for this menu item (unique per store).
Menu Item Image s_c__Image_Id__c Lookup (s_c__Media__c) No The image that will be displayed within the menu item.
Menu s_c__Menu_Id__c Lookup (s_c__Menu__c) Yes The Menu that this Menu Item belongs to.
Page s_c__Page_Id__c Lookup (s_c__Page__c) No The page that will be linked to this menu item, the link and name of the page will be automatically included.
Parent Menu Item s_c__Parent_Id__c Lookup (s_c__Menu_Item__c) No The parent menu item that this menu item belongs to. If no parent then it will show at the "top level" of the menu.
Position s_c__Position__c Number(18,0) No The position of this menu item within it's parent or on the top row if no parent menu present. Lower numbers are shown first, menu items without a number are sorted alphabetically by name.
Product Category s_c__Product_Category_Id__c Lookup (s_c__Product_Category__c) No The product category that will be linked to this menu item. If a product category is specified, the link and name of the product category will be automatically included. Additionally, if the "Child Category Levels" field is set to a number greater than 0, it will include all non hidden children of the Product Category automatically to the number of levels requested.
Product s_c__Product_Id__c Lookup (Product2) No The product that will be linked to this menu item, the link and name of the product will be automatically included.
Show Image s_c__Show_Image__c Checkbox No If set to true, this menu item will also include the first image of the associated object when rendering if it exists, or display the image associated on this Menu Item. Displaying this correctly can then be controlled via CSS.
Style Class Names s_c__Style_Class_Names__c Text(255) No CSS style class names that will be added to this menu item when it is rendered. Separate the class names with a space.
URL s_c__URL__c Url No
Unique Store and Identifier s_c__Unique_Store_Identifier__c Text(255) No Ensure a store can only have one menu item with the same identifier
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__Article_Category_Id__c Lookup s_c__Article_Category__c Article_Category_Menu_Item
s_c__Article_Id__c Lookup s_c__Article__c Article_Menu_Item
s_c__Image_Id__c Lookup s_c__Media__c Menu_Item_Image
s_c__Menu_Id__c Lookup s_c__Menu__c Menu_Menu_Item
s_c__Page_Id__c Lookup s_c__Page__c Page_Menu_Item
s_c__Parent_Id__c Lookup s_c__Menu_Item__c Parent_Menu_Item
s_c__Product_Category_Id__c Lookup s_c__Product_Category__c Product_Category_Menu_Item
s_c__Product_Id__c Lookup Product2 Product_Menu_Item