Click or drag to resize
VariantHelperAreCategoriesUsedInVariantsInternal Method
Checks if the specified categories are used in variants of specified product.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
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