VariantHelper GenerateRemainingVariants Method Kentico 8.1 API Reference
Returns list of product variants with newly generated remaining combinations for specified product but with specified variants (listOfVariants) that doesn't need to be saved yet.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

productId
Type: OnlineSystem Int32
The product id.
listOfVariants
Type: OnlineSystem.Collections.Generic List ProductVariant 
The list of variants that are already created, but doesn't need to be saved yet.
optionCategoryIds
Type: OnlineSystem.Collections.Generic IEnumerable OnlineInt32 
The option category ids. Must correspond with listOfVariants if specified.

Return Value

Type: OnlineList ProductVariant 
See Also