BundledProductViewModel

Overview

The BundledProductViewModel is used when rendering products that are bundled together. 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. 

BundledProductViewModel

The BundledProductViewModel object will contain all of the details of a single bundled product for use in your Hotcakes Commerce store.

Members

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

Member Type Description
BundledProductAdv BundledProductAdv

This object holds the product details to be shown to end user such as the number of products in bundle.

ImageUrls ProductImageUrls Image URL's for the bundled product which can be shown on product detail page.
Item Product A bundled product also treated as one single product so this object holds all the information entered when creating the bundled product.
ProductLink String URL of the product as its configured by administrator when creating product. Here we can find the specific user friendly URL for this product.
SwatchDisplay String Contains the HTML string which is shown to the end user. 

 

Have more questions? Submit a request

Need More Help?

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