We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [catalogsearch]

Denotes questions related to the Magento catalog search engine

Filter by
Sorted by
Tagged with
23
votes
9answers
1k views

Providing Site Wide Search for Community Edition

Over the years there's been numerous attempts at improving the Magento's search features. (Solr, Lucene, etc.) In 2013, is there a preferred/dominant way of providing a catalog search in Magento ...
14
votes
1answer
5k views

Catalog Search: If only one result, show product view page insted of list view

My goal is to achieve the following modification in the Magento catalog search. When I search for a product and only one product is returned in the result collection, I want to display to product ...
12
votes
0answers
170 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 ...
9
votes
11answers
19k views

Search does not return results

As i described in the title i don't get any results when i search for a product. I have tried so far: Checking the visibility of the products My products are in stock I have also set the qty to 100 ...
8
votes
1answer
34k views

Magento Search Not Working

I have a new website that is running Magento 1.7.0.2. When you search in the search bar for say "totem" nothing pulls up, instead it says no results can be found. I know there are results, but if ...
8
votes
4answers
3k views

Always show full URL including categories for product

For our Magento webshop (1.7.0.2), we're trying to optimize the URL structure. We've already managed to improve some things, but in one things we didn't succeed. We want to use a full URL (including ...
8
votes
1answer
553 views

Is there any limit on the number of product attributes which can be made is_filterable_in_search = 1 in Magento?

We are using Magento Enterprise 1.10 and SOLR as our catalog search engine. We are facing one major issue in our live website is that whenever we start increasing number of search filterable ...
7
votes
1answer
4k views

Magento Quick Search to look into custom attributes with conditions?

I have a requirement where if any integer is there in Magento quick search string, then do a search looking for product SKU and custom attributes. But if there are no integers in the search string, ...
7
votes
1answer
2k views

Custom /catalogsearch/ filters

Beforehand I have to tell: I'm a total n00b on Magento and what I need to know is more a "common practice" or "standard" about how is something achieved in Magento, since I have to maintain (in record ...
6
votes
2answers
18k views

Show layered navigation on catalog search results page in magento

When I add a specific subcategory to my query string on my search results page I can see the chosen refinements list and filter options for other categories, price ranges, etc. However if I only do a ...
6
votes
3answers
814 views

Searching for SKU without special characters

The Magento front end search is not very good in my experience. I am having an issue when searching for SKUs. I have changed the SKU attribute to be searchable, search settings are combined like and ...
6
votes
2answers
492 views

I faced the error while search any string Magento 2

When I search for any string in Magento2 then there is result page showing blank. I got the exception.log file. "[2018-06-01 08:57:23] main.CRITICAL: SQLSTATE[HY000]: General error: 1191 Can't find ...
6
votes
1answer
3k views

how does magento check if a configure/grouped product is out of stock in the catalog/search

in the setup of magento i have i have set backorders to be on but i only needed them on so that out of stock items could be added to the cart from an order editor i've been making changes to magento ...
6
votes
2answers
1k views

Magento 2: what is the search_engine.xml? How to declare a new search engine?

Some of you may have noticed the presence of the following file app/code/Magento/Search/etc/search_engine.xml: <?xml version="1.0"?> <engines xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
6
votes
2answers
4k views

How to filter product collection by matching string like search in Magento 2?

We have loaded product collection based on category ID, we are further trying to filter the product collection result with query string. We have tried : Query string set and get is working fine ...
6
votes
1answer
815 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 ...
6
votes
1answer
1k views

Magento 2: How to change Advanced Search from “AND” to “OR”?

I'm stuck with this situation: I have 2 select-type attributes: A and B for example In both of the attributes, I have the same list of Options (but they are different option ids) For example In ...
6
votes
2answers
4k views

How to modify the keyword search in magento

I have a list of 600 products in my store. When I use the quick search feautre of magento , it will display products that have the keywords. For example if I search for 'ck' it will display results ...
5
votes
5answers
8k views

Catalog Search indexer process unknown error: There is no such engine: mysql2

I'm using magento 2.1.3 and I'm getting the following error when I try to run the php bin/magento indexer:reindex command Catalog Search indexer process unknown error: There is no such engine: ...
5
votes
2answers
4k views

Magento 2: what is the search_request.xml file used for?

Under app/code/Magento/CatalogSearch/etc/ there's a search_request.xml file with the following content: <requests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
5
votes
3answers
6k views

Modify catalogsearch module to search by attribute values

I have attempted for quite a number of hours to solve this but I can't find the solution. I want to allow users to search by certain attribute values, for example ingredients, brand OR product name. ...
5
votes
1answer
870 views

How to display search results sorted by categories

I need to sort my search results by product categories. If I have Product A and Product B in Category A And I have Product C and Product D in Category B If all products are available in search ...
5
votes
1answer
400 views

How to control search result ordering

Lets say someone searches for "item a" , and 20 items show up, is there a way to control which item shows up first and which item shows up second and so on?
5
votes
1answer
981 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 ...
5
votes
1answer
1k views

Magento2 search like searching using REST API

When using magento search REST API you can search with logical AND search http://devdocs.magento.com/guides/v2.0/howdoi/webapi/search-criteria.html#logical-and-search For example I want to search ...
4
votes
1answer
5k views

Magento 1.9.3: every product is displayed in the search in full text mode

When searching for a product in 1.9.3, every product comes up in the list in fulltext mode. How do I fix that issue ?
4
votes
6answers
10k views

Improving Magento search results (either via extension or free)

I'm trying to get search working on my Magento installation (200,000SKUs); we are wholesale so most products are just an SKU. Of course with Magento you can type in part of the SKU and a bunch of ...
4
votes
2answers
527 views

Manually specifying top search results for a specific search query

I'm looking for a way to manually force certain search results for certain search queries. For example, if the customer searches for "T-Shirt", I'd like to be able to manually select 4-5 products ...
4
votes
1answer
10k views

Change the layout of the search results?

Currently the search results page is in the 2coloums-left but I want to make it centred just to display the results, I tried editing the catalogsearch.xml of the theme file and the Settemplate tag, ...
4
votes
3answers
922 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 ...
4
votes
2answers
4k views

Include category in search result

When we search any text in default magento it shows only products in the search result but I want to show the categories also when someone searches for a query string. Like if query string is like ...
4
votes
2answers
6k views

Adding new page to Front end

UPDATED I am trying to add new page on front end. I am doing as following. I have a form, where I am using my action to load the view. On button click it never goes to controller, please help me, ...
4
votes
1answer
2k views

How can I add meta noindex to all catalog search result pages in Magento2?

As the title states: How can I add meta noindex to all catalog search result pages in Magento2? I am hoping for an XML Layout solution.
4
votes
2answers
723 views

Display the Search Query Along With the Breadcrumbs

In my site I need to display breadcrumbs like this. Home / Search results for: 'laptop' / Lenova G50 Laptop I am searching any products (like above "laptop") in site. After get result I click any ...
4
votes
2answers
543 views

Magento 2 - Plugin issue in catalogsearch

I've created a plugin to override getProductPrice() method of Magento\Catalog\Block\Product\ListProduct class. This is my app/code/vendorName/moduleName/etc/di.xml: <?xml version="1.0"?> <...
4
votes
3answers
10k views

What is the minimum php version for magento 1.9.1

i finished my website with magento in PHP 5.5 and the website work correctly but when i moved the website online to my server that run in php 5.3 some errors appeared in search and i did all ...
4
votes
1answer
691 views

Is it possible to display OOS products in last even product sort by name/price etc

We have to display all In stock products in starting position even if we sort by name or any other criteria, we have to display out of stock product in last position. How can we do this in all type ...
4
votes
1answer
5k views

How can I change the search page column layout in Magento 2.1 to one column?

I've been searching for a while and I am only finding answers DevDocs that tell me that in order to modify the column layout for the search results page is to change the xml found in app/design/...
4
votes
2answers
2k views

Magento catalogsearch_fulltext reindex

I am trying to renidex (through CLI) magento catalog but the routine is hangs (or executing very slow) on catalogsearch_fulltext. I am tried to wait more 8 hours, but it didn't finish. There are 18k ...
4
votes
1answer
202 views

Search Bar and Fractional Sizes

I'm using Magento ver. 1.9.0.1 In the store I manage, many products are differentiated by fractional sizes. We sell 1/2", 5/8", 3/4", etc. When customers search these terms in the search bar, the ...
4
votes
1answer
1k views

Magento 2 - Search title/product name only

Magento 2.1.2 We disabled the default Search value (YES/NO) of "Description" and "Short Description" to "NO", we will search only in the "Product Name" - but if the Search Keyword is "live" it does ...
4
votes
0answers
40 views

Sort by price is not working on magento 2

This is a website link https://magento-202257-609939.cloudwaysapps.com/catalogsearch/result/index/?product_list_dir=asc&q=wera I am developing for my client and after a search of any product when ...
4
votes
0answers
91 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 ...
4
votes
0answers
166 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, ...
4
votes
0answers
336 views

Magento & ElasticSearch- Issue on SKU search

I'm reading tons of Google search, but I cannot reach my goal. I've a M1.9.x website with ES. I've a custom module based on Smile Elastic Search (found on GitHub). I need to search with PARTIAL sku....
4
votes
0answers
173 views

Display Advanced Search/Search on home page [closed]

Currently there is no search option on my home page, just categories are displayed. I tried to add search option by following Marius's post, on Home page I got search option as shown in 1st pic, when ...
3
votes
6answers
5k views

remove category filter on catalog search

If I add product to a category the catalog search works perfectly. But I dont want to use category filter on this. Actually I dont use category in my project. Edit: I want to show category-less ...
3
votes
1answer
9k views

How to get Search result Product collection outside result.phtml

I need to get current product collection (actually I just need all Product IDS of products in current search result) of search result page in outside result.phtml, because I'm going to do something on ...
3
votes
1answer
3k views

Search Products that are NOT in any categories

It is easy to find out what products are in a category. Is there a way to find out what products are NOT in a category? Is there a way to find out what products are NOT in any categories? My ...
3
votes
1answer
227 views

Magento fast search API [duplicate]

I am not sure if this question can be asked here. Though i am am asking after doing some research on google. Basically i want a search like Ebay, Amazon or Flipkart. Which should be faster and easy ...