There are many views that make use of the ListItem. It's used whenever a collection of information needs to be bound to a user interface control, such as a drop down list. 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 ListItem object will contain all of the details of a single item for use in your Hotcakes Commerce store.
The following table gives you details on the various members of the ListItem object. The descriptions are based upon default functionality and the default Viewset included with Hotcakes.
Text to be shown to end user
|Value||String||Value used in background to perform different business operation based on selection|