Click or drag to resize
OptionCategoryInfoProviderGetAllowedOptionsCount 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: 9.0.0
Syntax
C#
public static DataSet GetAllowedOptionsCount(
	int skuId,
	IEnumerable<int> categoryIds
)

Parameters

skuId
Type: SystemInt32
Product ID to return counts for.
categoryIds
Type: System.Collections.GenericIEnumerableInt32
IDs of categories to get counts for. Use null for all relevant categories.

Return Value

Type: DataSet
See Also