VariantHelper GetAllPossibleVariantsCount Method Kentico 8.0 API Reference
Gets number of all variants, which can be generated including existing variants of options from categories.

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

Parameters

skuId
Type: OnlineSystem Int32
The product ID.
categoryIds
Type: OnlineSystem.Collections.Generic IEnumerable OnlineInt32 
The option categories ids.

Return Value

Type: OnlineInt32
Number of all possible variants.
See Also