VariantOptionInfoProviderAddOptionToVariant Method |
Sets relationship between specified product variant and option.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
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