VariantHelper GetAllPossibleVariantsCount Method Kentico 8.1 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.1.5347.20411)

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