BreadCrumbViewModel

Overview

The BreadCrumbViewModel is used to populate the trail of navigation that's sometimes injected into the views, which allows customers to find their way back to a top-level area on your site. 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. 

BreadCrumbViewModel

The BreadCrumbViewModel object will contain all of the details of a breadcrumb trail for the current context of the customer viewing your Hotcakes Commerce store.

Members

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

Member Type Description
HideHomeLink Bool

Show home link or not. In some pages and scenarios its required to hide the home link. 

Items Queue<BreadCrumbItem> List of the items which are shown in navigation. As a user drills down to nested view, this list get updated each time and enter the new value to list. Remove the item if user move back to the upper level again.

 

Have more questions? Submit a request

Need More Help?

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