Click or drag to resize
OptionCategoryInfoProvider.GetAllowedOptionsCount Method
Gets info about how many options are available in specific option categories for given product. Returns dataset with one table containing OptionCategoryID, AllowAllOptions flag, SelectedOptions count and AllOptions count.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
public static DataSet GetAllowedOptionsCount(
	int skuId,
	IEnumerable<int> categoryIds
)

Parameters

skuId
Type: System.Int32
Product ID to return counts for.
categoryIds
Type: System.Collections.Generic.IEnumerable<Int32>
IDs of categories to get counts for. Use null for all relevant categories.

Return Value

Type: DataSet
See Also