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
  • Understanding HTML, CSS, JavaScript
  • Familiarity with template languages
  • Familiarity with ASP.NET MVC Razor

Getting Started

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.

Member Type Description
Items List<Product>

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.


Have more questions? Submit a request

Need More Help?

Do you need more assistance with this article? Please review your support options.