VariantHelper AreCategoriesUsedInVariants Method Kentico 8.1 API Reference
Checks if the specified categories are used in variants of specified product.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

productId
Type: OnlineSystem Int32
The product ID.
optionCategoryIds
Type: OnlineSystem.Collections.Generic IEnumerable OnlineInt32 
The option category IDs.

Return Value

Type: OnlineBoolean
True if the specified categories are used in variants of specified product and false otherwise.
See Also