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
Syntax public static List<ProductVariant> GetAllPossibleVariants(
List<ProductVariant> productVariants
)
Parameters
- productVariants
- Type: System.Collections.GenericListProductVariant
The product variants.
Return Value
Type:
ListProductVariantExceptions Exception | Condition |
---|
Exception | [VariantHelper.GetAllPossibleVariants]: Specified variants must be of the same product. |
See Also