VariantHelper GetAllPossibleVariantsInternal Method (List ProductVariant )Kentico 8.0 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.0.5239.26125)

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