Click or drag to resize
SKUInfoProviderGetSKUOptionsForProductInternal Method
Returns query for all product options from specified product option category allowed for product specified by skuId parameter.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
protected virtual ObjectQuery<SKUInfo> GetSKUOptionsForProductInternal(
	int skuId,
	int categoryId,
	bool onlyEnabled
)

Parameters

skuId
Type: SystemInt32
ID of the SKU for which options are to be obtained
categoryId
Type: SystemInt32
Product option category ID
onlyEnabled
Type: SystemBoolean
Indicates if only enabled product options should be selected

Return Value

Type: ObjectQuerySKUInfo
See Also