Click or drag to resize
VariantHelperGetAllPossibleVariantsInternal 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: 8.2.23
Syntax
C#
protected virtual List<ProductVariant> GetAllPossibleVariantsInternal(
	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