VariantHelperCheckVariantCategoriesConsistencyInternal Method (Int32, ProductAttributeSet) |
Checks if specified product options contains all and only categories from existing variants of specified product.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax protected virtual bool CheckVariantCategoriesConsistencyInternal(
int productId,
ProductAttributeSet productAttributes
)
Parameters
- productId
- Type: SystemInt32
The product ID. - productAttributes
- Type: CMS.EcommerceProductAttributeSet
The product options to check.
Return Value
Type:
BooleanTrue if product options contains all and only categories from existing variants; False otherwise.
See Also