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: 10.0.0
Syntaxpublic 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