The ProductListViewModel is used in the Last Products Viewed view to render a listing of previously viewed products 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 ProductListViewModel object will contain all of the details to show customers their recently viewed products in your Hotcakes Commerce store.
The following table gives you details on the various members of the ProductListViewModel object. The descriptions are based on default functionality and the default Viewset included with Hotcakes.
Contains a list of the most recently viewed products for the current customer. They'll see up to 5 products in this view.
|PagerData||PagerViewModel||This property is not populated for this model at this time.|
|Title||String||This is a text-based value loaded from the store's localization files. By default, that would be "Recently Viewed Items" in English.|