VariantHelper GetAllPossibleVariants Method (List ProductVariant )Kentico 8.1 API Reference
Gets all possible variants for specified set (Returns provided variants plus remaining combinations).

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

Parameters

productVariants
Type: OnlineSystem.Collections.Generic List ProductVariant 
The product variants.

Return Value

Type: OnlineList ProductVariant 
Exceptions

ExceptionCondition
OnlineSystem Exception[VariantHelper.GetAllPossibleVariants]: Specified variants must be of the same product.
See Also