Web Analytics

Fill the form & Get Installation Support

Add custom conditions to product collection in Magento 2

To add custom conditions to product collection, you need to override build() function.  I hope you have a custom module with basic skeletons like registration.php and module.xml file,

Path: app/code/Magemonkeys/FilterSearch/etc/frontend/di.xml

Path: app/code/Magemonkeys/FilterSearch/Plugin/CatalogSearch/Model/Search/IndexBuilder.php


Fill the below form if you have any Magento programming need.

    Recent Articles

    Author Info

    Author Image

    Magento Certified Developer

    Hire J. Lakum

    Get a Free Quote

      /* second popup */

      Connect With Us