ProductHelperAllowOptions Method |
Allows product options from option category to product.
Individual options are checked whether they belong to given category.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax 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