Skip to main content
Category pages are pre-filtered product listing pages that show specific product selections. The visual editor for category pages in the Algolia dashboard The Algolia extension lets you create category pages using InstantSearch widgets. Choose from: price range, sorting, pagination, hierarchical menu, and filter widgets.

Enable category pages

  1. Go to Stores > Configuration > Algolia Search > InstantSearch Results Page. Magento InstantSearch settings
  2. Set Replace categories page to Yes. Magento category page settings
After enabling category pages, the following happens:
  • During indexing, Algolia adds a new categoryId attribute to each record. This attribute is an array containing the category page IDs for each product. You can use these page IDs to create rules for pinning, hiding, boosting, or burying records.
  • InstantSearch widgets display the category pages.
  • To display the category page, send an empty string as a query and the relevant categories as facetFilters in the frontend code.
If you want to use the API directly or build a custom frontend for your store, see Category pages for more information.

Algolia Rules

You can use Algolia Rules to change how records display in search results:

Further reading

I