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