Creates new variant object (from product and options) without saving it.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- productId
- Type: System Int32
The product ID.
- productAttributes
- Type: CMS.Ecommerce ProductAttributeSet
The product options.
Return Value
Type: ProductVariantNew variant object.
See Also