Click or drag to resize
ProductHelperAllowOptions Method
Allows product options from option category to product. Individual options are checked whether they belong to given category.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
public static void AllowOptions(
	int skuId,
	int optionCategoryId,
	IEnumerable<int> optionIds
)

Parameters

skuId
Type: SystemInt32
ID of the product to allow options for.
optionCategoryId
Type: SystemInt32
ID of the option category to allow options from. Set to 0 to skip options checking.
optionIds
Type: System.Collections.GenericIEnumerableInt32
SKUIDs of product options from option category to be allowed.
See Also