Store Menu Items
Store Menu Item UI Extension for Umbraco Commerce
Store Menu Items allow you to display custom menu items inside a Store tree, either in the Settings or Commerce sections.
Registering a Store Menu Item
Each entry must have a type of ucStoreMenuItem
along with a unique alias
and name
.
A meta
entry provides configuration options for the menu item
Name | Description |
---|---|
| A label for this menu item (supports the |
| An icon to display in the menu item |
| An array of menu aliases under which this menu items should be added. Can be one or both of |
| Defines the |
| Defines the entity types of any child menu items to ensure this menu item remains highlighted if the given entity type editor is opened |
| The alias of another menu item under which this menu item should be displayed |
| A boolean defining whether this menu item should be selectable |
Menu items are set to navigate to the following route on click
Here:
{currentSection}
is the current section you are in,{rootEntityType}
is the entity type of the menu this item is a child of (should be one ofuc:store-management
oruc:store-settings
),{rootUnique}
is the ID of the Store this menu is for, and{entityType}
is the entity type as defined in the menu items manifest meta data.
Handling Store Menu Item Requests
To handle requests to this endpoint, you should define a workspace manifest for the given entity type.
Last updated