The FacetItem is used by the Search view and (Amazon-style) drill-down version of the Category Viewer view 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 FacetItem object will contain all of the details of a single instance of a product in your Hotcakes Commerce store.


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

Member Type Description
Count Integer This property reflects the total number of child facet items for the current facet item.
Id String This is the unique identifier for the current facet item.
Name String

This is the localized name of the current facet item.

ParentId String If this facet item has a parent, it's parent ID will be in this property.
ParentName String

If this facet item has a parent, this property will contain the localized name of the parent facet item.


Have more questions? Submit a request

Need More Help?

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