SKUAllowedOptionInfoProviderAddOptionToProduct Method |
Sets relationship between specified product and option.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax public static void AddOptionToProduct(
int productId,
int optionId
)
Parameters
- productId
- Type: SystemInt32
Product ID (SKUID). - optionId
- Type: SystemInt32
Product option ID (SKUID).
See Also