Class VariantCombination
- Namespace
- Dynamicweb.Ecommerce.Variants
- Assembly
- Dynamicweb.Ecommerce.dll
A combination of variant options on a product
- Inheritance
-
Variant
Combination
- Implements
- Inherited Members
Constructors
VariantCombination()
Initializes a new instance of the Variant
Fields
CombinationTextSeparator
Field Value
Properties
HasRowInProductTable
Indicates if the given variantcombination has an extended product or is simple (eg. if it has a productrow in the database table).
Property Value
- bool
hasRowInProductTable
ProductId
Gets or sets the product ID.
Property Value
VariantId
Gets or sets the variant ID.
Property Value
Methods
CompareTo(VariantCombination)
Compares one VariantCombination with another.
Parameters
other
VariantCombination An object to compare with this instance.
Returns
- int
variantCombiantionComparison
GetProduct(string)
Gets the product.
Parameters
languageId
string
Returns
GetVariantName(string)
Gets the variant text.
Parameters
languageId
string
Returns
GetVariantOptionIds()
Gets the option ids of this variant.
Returns
- string[]
optionIds