ProductHelperRemoveOptions Method |
Remove product options from option category from 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 RemoveOptions(
int skuId,
int optionCategoryId,
IEnumerable<int> optionIds
)
Parameters
- skuId
- Type: SystemInt32
ID of the product to remove options for. - optionCategoryId
- Type: SystemInt32
ID of the option category to remove options from. Set to 0 to skip options checking. - optionIds
- Type: System.Collections.GenericIEnumerableInt32
SKUIDs of product options from option category to be removed.
See Also