VariantHelperGetProductVariantsCategories Method |
Gets the product variants categories for specified product.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax public static InfoDataSet<OptionCategoryInfo> GetProductVariantsCategories(
int productId,
bool onlyEnabled
)
Parameters
- productId
- Type: SystemInt32
Product ID. - onlyEnabled
- Type: SystemBoolean
True - only enabled option categories are included, False - all option categories are included
Return Value
Type:
InfoDataSetOptionCategoryInfoProduct option categories, that are used in specified product variants.
See Also