OptionCategoryInfoProviderGetVariantOptionCategories Method |
Returns DataSet with all option categories which are assigned to the specified variant.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax public static ObjectQuery<OptionCategoryInfo> GetVariantOptionCategories(
int skuId,
bool onlyEnabled
)
Parameters
- skuId
- Type: SystemInt32
Variant ID - onlyEnabled
- Type: SystemBoolean
True - only enabled option categories are included, False - all option categories are included
Return Value
Type:
ObjectQueryOptionCategoryInfoSee Also