VariantHelperGetProductVariantsCategoriesInternal Method |
Gets the product variants categories for specified product.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax protected virtual ObjectQuery<OptionCategoryInfo> GetProductVariantsCategoriesInternal(
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:
ObjectQueryOptionCategoryInfoOrdered product option categories, that are used in specified product variants.
See Also