Click or drag to resize
SKUInfoProviderGetSKUOptionsForProduct 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: 11.0.0
Syntax
C#
public static ObjectQuery<SKUInfo> GetSKUOptionsForProduct(
	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