VariantHelperGetAllPossibleVariantsCount Method |
Gets number of all variants, which can be generated including existing variants of options from categories.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax 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:
Int32Number of all possible variants.
See Also