Class VariantOptionViewModel
- Namespace
- Dynamicweb.Ecommerce.ProductCatalog
- Assembly
- Dynamicweb.Ecommerce.dll
Represents a view model for a variant option in the product catalog.
public class VariantOptionViewModel
- Inheritance
-
VariantOptionViewModel
- Inherited Members
Properties
Color
Gets or sets the color of the variant option.
public string Color { get; set; }
Property Value
- string
E.g. #FFFFFF
Id
Gets or sets the íd of the variant option.
public string Id { get; set; }
Property Value
Image
Gets or sets the the default image of the first variant product record using this option.
public MediaViewModel Image { get; set; }
Property Value
Name
Gets or sets the name of the variant option.
public string Name { get; set; }
Property Value
OptionImage
Gets or sets the option image associated with the variant option from settings.
public MediaViewModel OptionImage { get; set; }
Property Value
SortOrder
Gets or sets the sort order of the variant option.
public int SortOrder { get; set; }