VariantHelperAreCategoriesUsedInVariantsInternal Method |
Checks if the specified categories are used in variants of specified product.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax protected virtual bool AreCategoriesUsedInVariantsInternal(
int productId,
IEnumerable<int> optionCategoryIds
)
Parameters
- productId
- Type: SystemInt32
The product ID. - optionCategoryIds
- Type: System.Collections.GenericIEnumerableInt32
The option category IDs.
Return Value
Type:
Boolean
True if the specified categories are used in variants of specified product and false otherwise.
See Also