The SideMenuViewModel is the primary model used to render the Top 10 and Top Weekly product views to customers. This article will help you understand what's available to you in the view model.
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 SideMenuViewModel object will contain all of the details to populate the Top 10 Products and Top Weekly Products views in your Hotcakes Commerce store.
The following table gives you details on the various members of the SideMenuViewModel object. The descriptions are based on default functionality and the default Viewset included with Hotcakes.
This property contains a listing of the products for the respective view.
|Title||String||The value for this property will be the name of the respective view being rendered, such as "Top Sellers."|