OptionCategoryInfoProvider GetProductOptionCategoriesInternal Method Kentico 8.0 API Reference
Returns DataSet with all option categories which are assigned to the specified product.

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

Parameters

skuId
Type: OnlineSystem Int32
Product ID
onlyEnabled
Type: OnlineSystem Boolean
True - only enabled option categories are included, False - all option categories are included
categoryType (Optional)
Type: OnlineSystem Nullable OptionCategoryTypeEnum 
Type of option category. Allows to filter only categories of specific type.

Return Value

Type: InfoDataSet OptionCategoryInfo 
See Also