VariantHelperGetAllPossibleVariants Method (ListProductVariant) |
Gets all possible variants for specified set (Returns provided variants plus remaining combinations).
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntaxpublic static List<ProductVariant> GetAllPossibleVariants(
List<ProductVariant> productVariants
)
Parameters
- productVariants
- Type: System.Collections.GenericListProductVariant
The product variants.
Return Value
Type:
ListProductVariant
ExceptionsException | Condition |
---|
Exception | [VariantHelper.GetAllPossibleVariants]: Specified variants must be of the same product. |
See Also