VariantHelper CheckVariantCategoriesConsistency Method (Int32, IEnumerable Int32 )Kentico 8.0 API Reference
Checks if specified categories are used all and only 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.
categoryIds
Type: OnlineSystem.Collections.Generic IEnumerable OnlineInt32 
The category IDs.

Return Value

Type: OnlineBoolean
True if specified categories are used all and only in variants of specified product; False otherwise.
See Also