Click or drag to resize
OptionCategoryInfoProviderGetVariantOptionCategories Method
Returns DataSet with all option categories which are assigned to the specified variant.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
public static InfoDataSet<OptionCategoryInfo> GetVariantOptionCategories(
	int skuId,
	bool onlyEnabled
)

Parameters

skuId
Type: SystemInt32
Variant ID
onlyEnabled
Type: SystemBoolean
True - only enabled option categories are included, False - all option categories are included

Return Value

Type: InfoDataSetOptionCategoryInfo
See Also