Click or drag to resize
OptionCategoryInfoProviderGetVariantOptionCategoriesInternal Method
Returns query for ordered option categories which are assigned to the specified variant.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax
C#
protected virtual ObjectQuery<OptionCategoryInfo> GetVariantOptionCategoriesInternal(
	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: ObjectQueryOptionCategoryInfo
See Also