You are browsing the documentation for version 3.1 of OroCommerce, OroCRM and OroPlatform, which is no longer maintained. Read version 5.1 (the latest LTS version) of the Oro documentation to get the updated information.
See our Release Process documentation for more information on the currently supported and upcoming releases.
Configure Global Filters and Sorters Settings
To make sure that only the attributes of the required product family are displayed in the storefront, you can limit filters and sorting options in OroCommerce. You can also control whether to hide or disable filters and sorting options in the storefront for the products that do not belong to the selected product family.
By default, the options are enabled for OroCommerce versions 3.0 and higher.
To configure limiting filters and sorting options globally:
Navigate to System > Configuration in the main menu.
Select Commerce > Catalog > Filters and Sorters in the menu to the left.
For faster navigation between the configuration menu sections, use Quick Search.
The following page opens:
The following configuration options are available:
- Hide Unrelated Product Filters and Sorting Options - removes unrelated filters and sorting options from the product collection page to display only those attributes that belong to the current product family. When a user adjusts the initial product data search to target the product with the desired attribute, but the attribute is no longer applicable, it gets removed from the filter.
- Don’t Change Initial Filter State - disables unrelated attributes within a filter instead of removing it. When applying a filter to the initial product data set in the storefront, all unrelated attributes remain visible but become disabled in the filter dropdown (available only in the OroCommerce Enterprise edition).
This option affects filters in the storefront only when Hide Unrelated Product Filters and Sorting Options is enabled. Please ensure to enable both options for this configuration.
To customize any of these options:
- Clear the Use Default box next to the option.
- Select whether to remove completely or just disable unrelated attributes in filters and sorters.
Click Save Settings.