Click or drag to resize
SKUOptionCategoryInfoProviderAddOptionCategoryToSKU Method

Note: This API is now obsolete.

Sets relationship between specified category and SKU.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use ISKUOptionCategoryInfoProvider.Add(int, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - SKUAllowedOptionInfo.Provider.")]
public static void AddOptionCategoryToSKU(
	int categoryId,
	int skuId
)

Parameters

categoryId
Type: SystemInt32
Category ID
skuId
Type: SystemInt32
SKU ID
See Also