ProductPrices

Overview

The ProductPrices object is the model used to provide pricing information to the ProductPageViewModel. 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. 

ProductPrices

The ProductPrices object will contain all of the details of a single instance of the pricing information for a single product in your Hotcakes Commerce store.

Members

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

Member Type Description
ListPrice PriceData This property will contain the raw and formatted values, as well as a label for the MSRP value saved to the product.
SitePrice PriceData This property will contain the raw and formatted values, as well as a label for the price you specified for the product.  It will also have any qualified sales applied to it already.
YouSave PriceData If there was a sale applied and/or the MSRP is higher than the site price, then this property will contain the raw and formatted values, as well as a label for the amount of money being saved.

 

Have more questions? Submit a request

Need More Help?

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