Click or drag to resize
ProductHelperIsOptionAllowed Method
Returns true if option specified by optionId is allowed for given product.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
public static bool IsOptionAllowed(
	int productId,
	int optionId
)

Parameters

productId
Type: SystemInt32
SKUID of product to check option for.
optionId
Type: SystemInt32
SKUID of option to check.

Return Value

Type: Boolean
See Also