Configure Search History Settings per Customer Group 


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


You can configure search history globally, per organization, website, customer group, or customer.

Search History enables users to view a history of all searches performed in the storefront.

To configure the search history settings per customer group:

  1. Navigate to Customers > Customer Groups in the main menu.

  2. For the necessary customer group, hover over the More Options menu to the right of the necessary group and click the Configuration icon to start editing the configuration.

Customer group search terms configuration settings
  1. Select Commerce > Search > Search Terms in the menu to the left.

  2. In the Search History section, clear the Use Website check box and configure the following option:

    • Enable Search History Collection - depends on the Enable Search History Reporting option. 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.

  3. Click Save Settings.

Related Topics