ProductHelperIsOptionAllowed Method |
Returns true if option specified by optionId is allowed for given product.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax 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:
BooleanSee Also