Important

You are browsing upcoming documentation for version 6.1 of OroCommerce, scheduled for release in 2025. Read the documentation for version 6.0 (the latest LTS version) to get up-to-date information.

See our Release Process documentation for more information on the currently supported and upcoming releases.

Configure Global Search Terms Settings 

Hint

Read Search Functions Concept Guide to get a general understanding of the search functionality in OroCommerce.

Note

You can configure search history globally, per organization, website, customer group, or customer, and empty search results page globally, per organization, and website.

To configure the search history settings globally:

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

  2. Select Commerce > Search > Search Terms in the menu to the left.

Note

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

Global search history configuration options
  1. In the Search History section, clear the Use Default check box to configure the following search history reporting options:

    • Enable Search History Reporting — enables the Search History feature globally to track your customers’ search activity in the storefront. The option also enables the a Search Terms report that collects statistics on how many times a particular search term was used, the number of times that search term returned products, and the number of times it returned an empty result. When Enable Search History Reporting is disabled, the feature is removed from the main menu and grids, along with the Search Terms report.

    • Enable Search History Collection — depends on the Enable Search History Reporting option above. When Enable Search History Collection is enabled, all search queries are logged into the database. This option allows enabling/disabling certain groups of visitors. For example, you can choose not to log requests from anonymous users by turning off this option at customer group level for Anonymous customers. Exercise care when enabling this option on popular websites as it may result in a large number of records saved to the database.

  2. In the Special Pages section, clear the Use Default check box to configure the empty search results page:

    • Empty Search Result Page — You can configure an Empty Search Results Page, if the product search produced an empty result and there is no custom page configured for that specific combination of a search term and additional search criteria. The web-node selected for this configuration option should be available for all users and cannot have restrictions.

  3. Click Save Settings.

Related Topics