Click or drag to resize
SKUAllowedOptionInfoProviderAddOptionToProduct Method
Sets relationship between specified product and option.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
public static void AddOptionToProduct(
	int productId,
	int optionId
)

Parameters

productId
Type: SystemInt32
Product ID (SKUID).
optionId
Type: SystemInt32
Product option ID (SKUID).
See Also