Seamlessly integrate Algolia’s APIs into your LLM workflows with Algolia's new Model Context Protocol (MCP) server. Explore on GitHub.
Integrations / Magento 2

A category page is a pre-filtered product listing page that shows a specific product selection.

An example category page

The Algolia AI Search & Discovery 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.

    Algolia AI Search & Discovery InstantSearch settings

  2. Set Replace categories page to Yes.

    Algolia AI Search & Discovery category page settings

Once you’ve enabled 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.

Instead, if you want to use the API directly or build a custom frontend for your Adobe Commerce and Magento Open Source store, see Category pages.

Algolia Rules

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

Further reading

Did you find this page helpful?