Category pages
A category page is a pre-filtered product listing page that shows a specific product selection.
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
-
Go to Stores > Configuration > Algolia Search > InstantSearch Results Page.
-
Set Replace categories page to Yes.
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:
- Pin records to the top of the search results
- Hide records
- Boost or bury search results
- Create banners.