| VariantHelperCreateVariantInternal Method  | 
            Creates new variant object (from product and options) without saving it.
            
 
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntaxprotected virtual ProductVariant CreateVariantInternal(
	int productId,
	ProductAttributeSet productAttributes
)
Parameters
- productId
 - Type: SystemInt32
The product ID. - productAttributes
 - Type: CMS.EcommerceProductAttributeSet
The product options. 
Return Value
Type: 
ProductVariantNew variant object.
See Also