Click or drag to resize
VariantHelperGetAllPossibleVariants Method (ListProductVariant)
Gets all possible variants for specified set (Returns provided variants plus remaining combinations).

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax
C#
public static List<ProductVariant> GetAllPossibleVariants(
	List<ProductVariant> productVariants
)

Parameters

productVariants
Type: System.Collections.GenericListProductVariant
The product variants.

Return Value

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