Log in
Model

Advanced

Magento\CatalogSearch\Model\Advanced

What it does

This class handles advanced product search functionality in Magento 2, allowing customers to search products using multiple attribute filters simultaneously (price ranges, dates, SKU, custom attributes, etc.).

Developers use this class when implementing or customizing the advanced catalog search feature, which processes complex search criteria and returns filtered product collections based on multiple attribute conditions.

Public Methods

  • addFilters()
  • getAttributes()
  • getProductCollection()
  • prepareProductCollection()
  • getSearchCriterias()