di.xml <type name="MagentoCatalogModelResourceModelProductCollection"> <plugin name="beforeproductCollectionPlugin" type="VendorModulePluginCollectionPlugin" /> </type> CollectionPlugin.php class CollectionPlugin { /** * Remove product which price is less than one. * * @param Collection $subject * @param bool $printQuery * @param bool $logQuery */ public function beforeLoad( MagentoCatalogModelResourceModelProductCollection $subject, $printQuery = false, $logQuery = false ) { if […]