VariantHelperGetUsedProductOptionCategories Method |
Gets enabled product option categories included disabled option categories used in product variants.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax public static DataSet GetUsedProductOptionCategories(
int productId,
Nullable<OptionCategoryTypeEnum> categoryType = null
)
Parameters
- productId
- Type: SystemInt32
ID of product from which are option categories selected - categoryType (Optional)
- Type: SystemNullableOptionCategoryTypeEnum
Type of option category which are selected
Return Value
Type:
DataSet
DataSet with enabled option categories used in product plus disabled categories already used in variants.
See Also