Table of Contents

Class VariantGroupViewModel

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

Represents a view model for a variant group.

public class VariantGroupViewModel
Inheritance
VariantGroupViewModel
Inherited Members

Remarks

A variant group is a collection of related product variations, such as color, size, etc. The options within a variant group represent the actual variations, such as black, red for color, or small, medium for size.

Properties

Description

Gets or sets the description of the variant group.

public string Description { get; set; }

Property Value

string

DisplayType

Gets or sets the display type of the variant group.

public VariantGroupDisplayType DisplayType { get; set; }

Property Value

VariantGroupDisplayType

Id

Gets or sets the ID of the variant group.

public string Id { get; set; }

Property Value

string

Name

Gets or sets the name of the variant group.

public string Name { get; set; }

Property Value

string

Options

Gets or sets the list of variant options for the variant group.

public List<VariantOptionViewModel> Options { get; set; }

Property Value

List<VariantOptionViewModel>
To top