Skip to content

catalogsearch

Auto Added by WPeMatico

Slow Catalog Search

Our catalog search was getting very slow. Upon investigation, we discovered the search_query table had over 600k records… There doesn’t appear to be a cron to clean this up. Truncating the table seems to be one “solution”, but I’m wondering… Read More »Slow Catalog Search

Paginator doesn’t work on catalogsearch/result page, site loads all the products; Retrieving SKU and rendering block on frontend

There is 3rd party module that has the class called ExactMatch. public function getExactMatch() { $params = $this->request->getParams(); if (!empty($params[‘q’])) { $sku = strtoupper(urldecode($params[‘q’])); try { $product = $this->productRepository->get($sku); $result = ($product->getStatus() == 1) ? $product : 0; } catch… Read More »Paginator doesn’t work on catalogsearch/result page, site loads all the products; Retrieving SKU and rendering block on frontend