Skip over navigation
Documentation

Limit Filters and Sorters

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.

Configuration for this option is available on three levels, globally, per organization, and per website.

Note

By default, the options are enabled for OroCommerce versions 3.0 and higher.

Control Limiting Filters and Sorting Options Globally

To configure limiting filters and sorting options globally:

  1. Navigate to System > Configuration in the main menu.

  2. Select Commerce > Catalog > Filters and Sorters in the menu to the left.

    Note

    For faster navigation between the configuration menu sections, use Quick Search.

The following page opens:

../../../../_images/globally_filters_sorters.png
  1. 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.
    ../../../../_images/hide_unrelated_product_filters.png
    • 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).
    ../../../../_images/dont_change_initial_filter_state.png

    Note

    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.

  2. To customize any of these options:

    1. Clear the Use Default box next to the option.
    2. Select whether to remove completely or just disable unrelated attributes in filters and sorters.
  3. Click Save Settings.

Control Limiting Filters and Sorting Options per Organization

To configure limiting filters and sorting options per organization:

  1. Navigate to System > User Management > Organizations in the main menu.

  2. For the necessary organization, hover over the More Options menu to the right of the necessary organization and click to start editing the configuration.

  3. Select Commerce > Catalog > Filters and Sorters in the menu to the left.

    Note

    For faster navigation between the configuration menu sections, use Quick Search.

The following page opens.

../../../../_images/organization_filters_sorters.png
  1. 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 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. 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.

      Note

      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.

  2. To change any of the default options set on the global level:

    1. Clear the Use System check box next to the option.
    2. Select whether to remove completely or just disable unrelated attributes in filters and sorters.
  3. Click Save Settings.

Control Limiting Filters and Sorting Options per Website

To configure limiting filters and sorting options per website:

  1. Navigate to System > Websites in the main menu.

  2. For the necessary website, hover over the More Options menu to the right of the necessary website and click to start editing the configuration.

  3. Select Commerce > Catalog > Filters and Sorters in the menu to the left.

    Note

    For faster navigation between the configuration menu sections, use Quick Search.

The following page opens:

../../../../_images/website_filters_sorters.png
  1. 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 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. 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.

      Note

      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.

  2. To change any of the default options set on the system level:

    1. Clear the Use System check box next to the option.
    2. Select whether to remove completely or just disable unrelated attributes in filters and sorters.
  3. Click Save Settings.

Browse maintained versions:3.11.6
Back to top

You will be redirected to [title]. Would you like to continue?

Yes No