Click or drag to resize
ProductVariant Constructor (Int32, ProductAttributeSet)
Initializes a new instance of the ProductVariant class.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public ProductVariant(
	int productId,
	ProductAttributeSet productAttributes
)

Parameters

productId
Type: SystemInt32
The product ID.
productAttributes
Type: CMS.EcommerceProductAttributeSet
The product options.
See Also