VariantHelper GetUsedProductOptionCategories Method Kentico 8.0 API Reference
Gets enabled product option categories included disabled option categories used in product variants.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

productId
Type: OnlineSystem Int32
ID of product from which are option categories selected
categoryType (Optional)
Type: OnlineSystem Nullable OptionCategoryTypeEnum 
Type of option category which are selected

Return Value

Type: OnlineDataSet
DataSet with enabled option categories used in product plus disabled categories already used in variants.
See Also