| ProductVariant Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: CMS.Ecommerce
 Syntax
Syntaxpublic class ProductVariant
The ProductVariant type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | ProductVariant(Int32) | 
            Initializes a new instance of the ProductVariant class.
             | 
|  | ProductVariant(Int32, ProductAttributeSet) | 
            Initializes a new instance of the ProductVariant class.
             | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | Existing | 
            Gets a value indicating whether this ProductVariant is already saved (exists) in database.
             | 
|  | ParentProductID | 
            Gets the parent product ID of variant.
             | 
|  | ProductAttributes | 
            Gets the product options of this variant.
             | 
|  | Variant | 
            Gets the product variant object.
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Set | 
            Saves this instance of product variant with specified product options to database.
             | 
 See Also
See Also