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