Click or drag to resize
VariantHelper.CheckVariantCategoriesConsistencyInternal Method (Int32, ProductAttributeSet)
Checks if specified product options contains all and only categories from existing variants of specified product.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
protected virtual bool CheckVariantCategoriesConsistencyInternal(
	int productId,
	ProductAttributeSet productAttributes
)

Parameters

productId
Type: System.Int32
The product ID.
productAttributes
Type: CMS.Ecommerce.ProductAttributeSet
The product options to check.

Return Value

Type: Boolean
True if product options contains all and only categories from existing variants; False otherwise.
See Also