Click or drag to resize
VariantHelperGetUsedProductOptionCategoriesInternal Method
Gets enabled product option categories included disabled option categories used in product variants.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
protected virtual DataSet GetUsedProductOptionCategoriesInternal(
	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 included disabled categories already used in variants.
See Also