Advance search results pagination not working on Elasticsearch

Issue: All search results products shown in stead of 12/24/36 and pagination not useful working. Solution for 2.3.5, edit: vendor/magento/module-catalog-search/Model/ResourceModel/Advanced/Collection.php change function to public function _loadEntities($printQuery = false, $logQuery = false) { $this->getEntity(); $currentSearchEngine = $this->_scopeConfig->getValue(self::SEARCH_ENGINE_VALUE_PATH); //var_dump($currentSearchEngine); if ($this->_pageSize && ($currentSearchEngine === EngineResolver::CATALOG_SEARCH_MYSQL_ENGINE || $currentSearchEngine == ‘elastic’)) { $this->getSelect()->limitPage($this->getCurPage(), $this->_pageSize); } $this->printLogQuery($printQuery, $logQuery);

Lees meer

Magento 2: Indexer stuck at processing

I’m a busy guy, doing a lot of different stuff, so once in a while I take the time to write these blog messages. Partly as a reminder to myself if I run into a problem later again (“oh hell… been there, what did I do back then?”). And mostly because these issues took me […]

Lees meer

Magento 2 upgrade errors when using Redis cache

Maybe they have fixed it in the meantime, but upgrading the core Magento 2 failed with a lot of errors, when making use of Redis cache. Which, I must say, is a performance booster. So, to prevent that, before upgrading the Magento 2 core, type in: redis-cli FLUSHALL on the command line before upgrading and […]

Lees meer