VariantHelper GetProductVariantsCategoriesInternal Method Kentico 8.0 API Reference
Gets the product variants categories for specified product.

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

Parameters

productId
Type: OnlineSystem Int32
Product ID.
onlyEnabled
Type: OnlineSystem Boolean
True - only enabled option categories are included, False - all option categories are included

Return Value

Type: InfoDataSet OptionCategoryInfo 
Product option categories, that are used in specified product variants.
See Also