VariantHelper AreCategoriesUsedInVariantsInternal Method Kentico 8.0 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.0.5239.26125)

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