ProductReviewsViewModel

Overview

The ProductReviewsViewModel is the primary model used to render the product reviews view to customers. This article will help you understand what's available to you in the view model.

Requirements

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. 

ProductReviewsViewModel

The ProductReviewsViewModel object will contain all of the review information for a single product in your Hotcakes Commerce store.

Members

The following table gives you details on the various members of the ProductReviewsViewModel object.  The descriptions are based on default functionality and the default Viewset included with Hotcakes.

Member Type Description
ProductView SingleProductViewModel

This property contains an instance of the product that was reviewed.

Reviews List<ProductReviewViewModel> If there are any reviews for this product, this property will contain all of them in a collection.

 

Have more questions? Submit a request

Need More Help?

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