Integrations / Magento 2

Configure Algolia Query Categorization for Magento

Query Categorization is a powerful Algolia feature that can be used out of the box with the Magento extension.

You can natively use the categories attribute from the product records.

1
2
3
4
5
6
7
8
9
[
  // ...
  "categories" :{
    level0: [ "Men" ],
    level1: [ "Men /// Tops" ],
    level2: [ "Men /// Tops /// Hoodies & Sweatshirts" ]
  }
  // ...
]

Setup the Query Categorization’s settings with this attribute selecting its hierarchical levels in the Query Categorization > Categories settings section of the index configuration within the Algolia dashboard:

Configure Query Categorization settings.

For further information on enabling and configuring this feature, see Query Categorization.

Did you find this page helpful?