Table of Contents

Class BomGroupViewModel

Namespace
Dynamicweb.Ecommerce.ProductCatalog
Assembly
Dynamicweb.Ecommerce.dll

Represents a view model for rendering BOM (bundles) in the ecommerce product catalog.

public class BomGroupViewModel : FillableViewModelBase
Inheritance
BomGroupViewModel
Inherited Members

Remarks

A BOM group is a container for a group of products that can be selected by the user. The product can have fixed products (items) that the user cannot change, and it can have configurable groups of products where the user can select between different products within that BOM group to configure the final product bundle.

Properties

DefaultProduct

Gets or sets the default product for the bom group.

public ProductInfoViewModel? DefaultProduct { get; set; }

Property Value

ProductInfoViewModel

Id

Gets or sets the ID of the bom group.

public required string Id { get; set; }

Property Value

string

Name

Gets or sets the name of the bom group.

public required string Name { get; set; }

Property Value

string

NoneSelectedText

Gets or sets the text to display when no option is selected.

public string? NoneSelectedText { get; set; }

Property Value

string

Products

Gets or sets the list of selectable products in the bom group.

public required List<ProductInfoViewModel> Products { get; set; }

Property Value

List<ProductInfoViewModel>
To top