OptionCategoryInfoProviderGetProductOptionCategoriesInternal Method |
Returns DataSet with all option categories which are assigned to the specified product.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax protected virtual InfoDataSet<OptionCategoryInfo> GetProductOptionCategoriesInternal(
int skuId,
bool onlyEnabled,
Nullable<OptionCategoryTypeEnum> categoryType = null
)
Parameters
- skuId
- Type: SystemInt32
Product ID - onlyEnabled
- Type: SystemBoolean
True - only enabled option categories are included, False - all option categories are included - categoryType (Optional)
- Type: SystemNullableOptionCategoryTypeEnum
Type of option category. Allows to filter only categories of specific type.
Return Value
Type:
InfoDataSetOptionCategoryInfoSee Also