Click or drag to resize
VariantHelperGetAllPossibleVariantsCount Method
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: 12.0.0
Syntax
C#
public static int GetAllPossibleVariantsCount(
	int skuId,
	IEnumerable<int> categoryIds
)

Parameters

skuId
Type: SystemInt32
The product ID.
categoryIds
Type: System.Collections.GenericIEnumerableInt32
The option categories ids.

Return Value

Type: Int32
Number of all possible variants.
See Also