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.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax 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:
DataSetSee Also