The OptionSelection object is used in various views and objects related to products that have choices/options. 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 OptionSelection object will contain all of the details of selected options/choices a product in your Hotcakes Commerce store.
The following table gives you details on the various members of the OptionSelection object. The descriptions are based on default functionality and the default Viewset included with Hotcakes.
|OptionBvin||String||The unique ID or primary key of the option.|
|SelectionData||String||The options or choices selected for the product.|