VariantHelperCheckAvailableProductAttributes Method |
Checks if specified product options are assigned to product and are allowed in it.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax 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:
BooleanTrue if specified product options are assigned to product and are allowed in product; false otherwise.
See Also