Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [catalogsearch]

Denotes questions related to the Magento catalog search engine

0
votes
0answers
2 views

Change Magento 2 catalog search result

I need to change catalog search result product, but I am not able to change result. $block->getProductListHtml() Above line displayssearch result, I tried to pass product collection and product ...
2
votes
1answer
24 views

Magento2.3 - How to Sort Products Based on Attribute Category

Is it possible to add an order by category attribute in the search catalog? I would like to add search relevance based on category positions. For example if I search Iphone the result returns to me: ...
2
votes
1answer
36 views

M2 Catalog Search: Getting ERR_TOO_MANY_REDIRECTS when trying to access a 'search term' assigned to an URL

I am trying to fine tune my catalog search. From the backend I've assigned, for example, to the following search term 'iphone camera' the following URL: https://example.com/catalogsearch/result/index/?...
1
vote
0answers
27 views

Add category attribute in collection filter (search)

I've created an attribute for my categories (it's displayed on back-office and I can save values). In sur php file Result.php for the research process, I want to add this attribute as a filter. how ...
0
votes
0answers
9 views

How to customize the keyword search query in magento1

Example - Suppose if Product name is "abc-def" then search result will come who start with that name(abc-def) but i need if user search "abcdef" then my result would be come which product name start ...
3
votes
2answers
45 views

How to check observer called from search page?

I am accessing observer (controller_action_layout_render_before) through this: app/code/Vendor/Module/etc/events.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/...
3
votes
1answer
31 views

Sort order by category id (or custom order)

i'm struggling on that simple point. How can I order my catalog search by categories ? i want to order my catalog search result like this : Categorie 1 / Category 2 / Category 3 I tried changing ...
1
vote
0answers
16 views

Magento 2.1.8 dev site catalog search and products listing redirecting to live site

I have setup my magento 2.1.8 EE live site on staging for development. The homepage, admin and cms pages are working fine. But my prduct pages are redirecting to live site and catalog search also ...
9
votes
0answers
54 views

Warning: call_user_func_array() expects parameter 1 to be a valid callback Magento 2.3

I have installed Smile_Elasticsearch extension.It is working fine with the default mode but when I enabled developer mode it is showing an error. Warning: call_user_func_array() expects parameter 1 ...
2
votes
0answers
31 views

Smile Elastic search extension does not working in custom theme Magento 2.3 [closed]

I have installed smile elasticsearch extension and i am using Magento 2.3. Everything configured fine from server side and admin side both. If i enabled luma theme from backend and check for ...
3
votes
0answers
29 views

Error: category.product.addto.wishlist is not a child of catalogsearch.product.addto

Magento 2.2.6 ### Steps to reproduce (*) <!--- Important: Provide a set of clear steps to reproduce this bug. We can not provide support without clear instructions on how to reproduce. --> ...
1
vote
0answers
44 views

CatalogSearch is not working after upgrading to Magento 2.3

Recently I've upgraded from Magento 2.2 to Magento 2.3. After upgrading, CatalogSearch is redirecting to Home page of the website. Previously I /catalogsearch/result was working and shown all ...
5
votes
1answer
78 views

Elasticsearch 5.0+ not working magento 2.3

I have installed elasticsearch in my local server successfully.I am not able to reindex the catalog search indexer.Please check attached screenshots. When i click on the test connection then it shows ...
2
votes
1answer
24 views

catalog search engine is mysql and database engine is mariadb

I've recently migrated database from EC2 to RDS. On EC2 Database engine was MySQL version 15 distribution MariaDB version 10.0.37. On RDS Database engine is MariaDB version 10.1.14. And magento ...
1
vote
1answer
26 views

Magento 2. How do i put out of stock products to the end in catalog search result collection?

I tried to do it via layer collection : $collection->getSelect()->order('is_salable DESC'); It works for catalog, but does not sort the result in search .
4
votes
0answers
53 views

Magento 2 - Product names with number/digits & special characters are not searchable

I have product names like ' 8" X 6" cards ' they contain measurements i.e. numbers and characters. when I try to search these products on the frontend. the Ajax search returns the product fine and ...
3
votes
0answers
17 views

Magento 2.1.16 - Search only returning 1 page of results

Since updating to 2.1.16 our search results now only return one page of 30 results. There is no option to view other results or other pages of search results. Where can I investigate further? ...
3
votes
0answers
37 views

Disable catalog search module - Magento 2.2.2 EE

we are trying to disable the modules "Magento_Search & Magento_CatalogSearch" because we are using algolia search not default magento search. But, we can't disable the module, it has dependency ...
0
votes
0answers
26 views

Elastic search working only when we type 3 letters

I am using Wyomind Elasticsearch Module. When I search with 3 letters it is working fine. But if I search with 1 or 2 letters No results found. Is there any condition in Elastic search? My Magento ...
2
votes
0answers
39 views

Magento2: Class not found error

Product category page is not working. My Magento v2.0 Got the error below. use Magento\Framework\EntityManager\MetadataPool How can I solve the issue. ?
1
vote
1answer
11 views

Search product will give nothing in magento1.9

I am facing an issue that whenever I searched a sku (the attribute is searchable - yes), no result found. My catalogsearch_query has Null for that query string "redirect" column. https://prnt.sc/...
2
votes
0answers
36 views

Catalog Search not working in magento 2.2.4

No search result in catalog search. I have reindex data still getting no result. When i look in data base, i found that my catalogsearch_fulltext_scope1 table is empty. is there any issue with this?
0
votes
1answer
26 views

Search type in Catalog don't search by Product's Name

I'm changed catalog search configuration to : System > Configuration > Catalog Search Type => Combine (Like and Fulltext) Product Listing Sort by => Name But when I search by name, the product ...
0
votes
0answers
41 views

Magento 2. How to Override Search (CatalogSearch)

I want to hide the specific product which I select from Configuration using Categories in the Search. e.g if I select Gear Category in configuration then If I search the Product of the Gear I want to ...
0
votes
0answers
19 views

Remove specific product from Solr core while deleting product in magento 1.9

Is there any better way to deleting the product from Solr core while deleting the product from Magento admin. When I delete a product , it doesn't actually reflected or removed the product from Solr ...
0
votes
1answer
100 views

How to change layout of catalog search page if results are empty

Wanted to change from two columns to the one column xml when catalog search results returns zero counts. Using Magento 2.3 version of the community. Showing empty sidebar on the left side.
0
votes
2answers
62 views

Magento2.1 different mobile view

I want to see search results in list mode by default in desktop, and see it on grid mode on mobile. What should I do? Right now I edited catalog search list.phtml to show list mode by default on ...
1
vote
0answers
23 views

Magento 2 - To show CMS pages in catalog result pages

How to show CMS pages in following format on catalog result pages. On Catalog search result pages, i want to show second section in the form of CMS pages after product list or grid based on searched ...
3
votes
2answers
96 views

Product not found when searching by Title

There are some products in my store that are not displayed in search results, when searching by product name. Same products are found in search results when searching by sku. I have tried re-indexing,...
1
vote
0answers
34 views

Catalog search show all products - Magento 1.9

When I do a search it does not give me a result based on my input but it shows me the whole catalog. Which is a problem because my catalog contains over 85,000 products, and it takes a lot of time to ...
1
vote
0answers
20 views

Magento 2.1.9 Community Edition Catalog Search page not displaying results

Magento 2.1.9 Version Community Edition. My Catalog search page is not displaying any results as show below. So far what has been done as testing.But still not working. Re indexed still not ...
1
vote
1answer
40 views

Magento 2 Wrong products count on Advanced Search & Catalog Product List

I am using Magento 2 and have noticed a wrong products count on Advanced Search & Catalog Product List. For example for Advanced search it may show 3 products and total count will say 10. Same ...
1
vote
0answers
21 views

Magento 2: To set 301 URL in Magento URL rewrites for this particular search

How to set 301 URL in Magento URL rewrites? From https://www.example.com/catalogsearch/result/?q=%7Bquery%7D To https://www.example.com/catalogsearch/result/?q=query I have tried with below ...
1
vote
0answers
30 views

Catalog search result problem

I have a catalog with over 85k articles, when I do a search as a result I always find the usual 4 products. I have also installed the Amasty Search Pro extension and it is able to find all the ...
1
vote
0answers
17 views

Magento1.9 URL Issue for Duplicate Name Products

I am facing an issue where On my store more than 2 products have the same name things are going fine on a low range of products, As Magento will update URL on saving in the catalog_url_rewrite table ...
3
votes
0answers
85 views

Indexer stuck at processing Design Config Grid, Customer Grid, and Catalog Search

My indexer always stuck at processing for Design Config Grid, Customer Grid, and Catalog Search i already ran php bin/magento indexer:reset , but when the cron indexer run the result still the same, ...
1
vote
0answers
72 views

How to find custom catalog search in magento2?

We checked the following url in http://localhost/magento2/search/ajax/suggest/?q=tes&_=1545813701256 In this url, how to customize the response from that url. My file path: app/code/Magento/...
1
vote
2answers
57 views

Magento2: Catalogsearch Result Page change to 1column doesnt work

Want my search results only in 1 column. After updating my catalogsearch_result_index.xml with layout="1column" I got a blank site with a Error 500. Clearing cache, deploy static files was done. (...
1
vote
1answer
36 views

cataloginventory_stock_status randomly has missing entries

What could cause cataloginventory_stock_status to have missing entries I have to fix manually? It makes the product appear out of stock even though it isn't. I've tried replicating by flushing, ...
1
vote
1answer
109 views

CatalogSearch results looking for partial SKU

I need to be able to search by partial string of a SKU, for example, if a SKU of a product is "CUS123.5NYS" the customer may also be able to search by "123.5N", but currently, it only works if I ...
0
votes
0answers
15 views

How to overide search autocomplete model for Restricting only pick 5 item from collection

I need to restrict search autocomplete results. I want to Restrict that only 5 item pic for query. I did this Search/suggest.php controller. But this is not a good way , i want to modify collection ...
2
votes
3answers
312 views

Get search result count in Magento 2

How to get Search result count and keyword in result.phtml in magento2. I have overriden the Magento_CatalogSearch/templates/result.phtml file. I need to show the count returned from the search ...
5
votes
1answer
419 views

My Search result not showing relevance products properly Magento 2

When i search for any string, the relevance search result not working properly.Can you guys please look into in the attached image? I have enable name and sku for the search. To reproduce this issue ...
0
votes
2answers
206 views

How to disable ElasticSearch using terminal?

I was using ElasticSearch in my old server and then I migrate the server for a new one that it's not using it anymore, so I'm receiving this issue message below. Exception #0 (Elasticsearch\Common\...
0
votes
0answers
21 views

M2 Search Result Not Displaying Correct Result/Products

I've a multi-store setup using multi-website approach. For some products, when I run a search query, I am not getting correct results, instead completely unrelated products are getting displayed. ...
0
votes
0answers
17 views

Magento 1 Search - No Results After Update

Hi guys we dropped the latest magento core over our installation to update everything as it was a little out of date. Since then the search has been returning no results. I have done all of the ...
0
votes
0answers
29 views

Why Magento catalogsearch catalogsearch/result redirect to shop home page

We have tried the product search option in shop frontend, so executed the below URl (GET method) https://www.example.com/catalogsearch/result/?q=searchvalue Search result output are displayed ...
0
votes
0answers
19 views

Searching a category with many items very slow?

This is my search URL after sending a search: https://example.com/catalogsearch/result/?cat=575&q=mysearchterm As you can see, I am searching for mysearchterm in category 575. This is extremely ...
0
votes
0answers
99 views

Sort by Filter in category search page is not working in mobile devices

I have Edited the drop down of sort by the filter. It Works fine in PLP page. but not working in category search page. <?php /** * Copyright © Magento, Inc. All rights reserved. * See ...
0
votes
1answer
23 views

Magento Search System Issue

I`m having a strange issue with catalog searching. Performing this simple search returns 35 products : catalogsearch/result/index/?q=bac However, when I refine it by category, I still receive the ...