The SideMenuItem is used by the SideMenuViewModel when rendering the Top 10 and Top Weekly views to customers. This article will help you understand what's available to you in the object.
The following pre-requisites will be necessary to accomplish the goals of this article:
- General understanding of template engines
- Familiarity with template languages
- Familiarity with ASP.NET MVC Razor
There are no tasks needed to get started with understanding this object.
The SideMenuItem object will contain all of the details of a specific navigation item in the Top 10 and Top Weekly views in your Hotcakes Commerce store.
The following table gives you details on the various members of the SideMenuItem object. The descriptions are based on default functionality and the default Viewset included with Hotcakes.
This property is not currently used.
|Name||String||The name of the product that this menu item is linked to will be in this property.|
|OpenInNewWindow||Bool||This property is not currently used. It will default to false.|
|Title||String||The name of the product that this menu item is linked to will be in this property. In this case, it will populate the navigation item as a tooltip.|
|Url||String||This property will be populated with the permanent URL for the product details page.|