Click or drag to resize
VariantHelperCheckAvailableProductAttributes Method
Checks if specified product options are assigned to product and are allowed in it.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public static bool CheckAvailableProductAttributes(
	int productId,
	ProductAttributeSet productAttributes
)

Parameters

productId
Type: SystemInt32
The product ID.
productAttributes
Type: CMS.EcommerceProductAttributeSet
The product options.

Return Value

Type: Boolean
True if specified product options are assigned to product and are allowed in product; false otherwise.
See Also