Log in
Model

ItemCollectionProvider

Magento\Elasticsearch\Model\Layer\Category\ItemCollectionProvider

What it does

This class provides the product collection for category pages when Elasticsearch is the active search engine.

It resolves the appropriate collection factory based on the configured search engine and applies category filtering.

Developers use this when implementing custom category layer navigation or modifying how products are retrieved for category pages with Elasticsearch.

Public Methods

  • getCollection()