Questions tagged [catalogsearch]

Denotes questions related to the Magento catalog search engine

Filter by
Sorted by
Tagged with
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 ?
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 ...
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 ...
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 ...
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 ...
3
votes
1answer
2k views

On Search Result: Group Products by Category

I need the search result page to list products grouped by category name. Example: When searching for nike the result should be viewed like this: Category "Shoes": - some nike shoe - another nike ...
0
votes
3answers
3k views

You cannot define a correlation name 'enable_googlecheckout_idx' more than once

my working site got down last day. I found this problem in reports. I believe there must be a quick fix of this issue. I would highly appreciate any kind of help, clue, hint to fix this issue. Thanks....
3
votes
4answers
4k views

Add category path to breadcrumbs on product view page

By Default Manual Navigation Products breadcrumb looks like, Wanted product detail page: When I reached to product page using by search the breadcrumb looks like, Current product detail page: ...
2
votes
1answer
3k views

Magento2; Advanced Searching (SmartSearch)

I'm trying to create a "SmartSearch" extension for Magento 2.0, but I really can't find out what the next step should be. What I have so far: Working 2.0 Extension (registration.php, module is ...
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
1answer
690 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 ...
2
votes
1answer
2k views

When i enable solr,the magento layered navigation not working

The issue is when i enabled solr (i successfully configured solr and tested successfully) in magento enterprise,the layered navigation filter is not working properly. i.e displaying all category ...
1
vote
1answer
346 views

How to get similar kind of sku in catalog search result?

I have to create new feature such as did you mean, which is shown in google search engine. I have multiple similar product sku like G HT2, G HT3 and G HT4. And When I am going to search product with ...
0
votes
1answer
709 views

Magento 2 EE elastic search module not enabled

I am running Magento 2.1.2 Enterprise Edition instance. I have installed and enabled elastic search on the same. When I click on TEST CONNECTION button it says Successful! Test Again? However the ...
0
votes
1answer
1k views

Category search logic (AND instead of OR)

The default search functionality in Magento doesn't seem to offer the 'AND' operator when searching by multiple categories. Hence drilling down a search result by one category and then another doesn't ...
0
votes
3answers
757 views

Magento 2: How to route the page to catalogsearch/advanced/result/ page with abc/xyz.html Url

I created an observer to catch the event when a new url is requested with <event name="controller_front_send_response_before"> <observer name="brands_index_events_observer" instance="...
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 ...
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:...
0
votes
4answers
5k views

What module do I need to improve magento search?

I would like to improve search functionality on our magento website: AND instead of OR in the default search field. Search suggestions and spelling corrections would be great. Searching for this, I ...
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. ...
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 ...
2
votes
2answers
2k views

How to search specific SKU in magento2?

In search bar when i am searching a product using sku (100.40.10), It displays all the product whose sku is having prefix (100.xx.xx) , But i only want it to fetch whose sku is (100.40.10).
1
vote
1answer
280 views

Search in Magento products error: Invalid filter type

I am using Magento 2.2 and a custom theme. When using the frontend search, I am getting the following exception (URL e.g. /catalogsearch/result/?q=Tshirt) 1 exception(s): Exception #0 (...
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, ...
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?
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, ...
3
votes
2answers
3k views

How to search product programatically in magento 2?

I want to search product in custom page so how search products programmatically in custom controller ? Below Magento 1.x search programmatically $queryText = Mage::helper('catalogSearch')->...
2
votes
1answer
354 views

stop filter block from moving to state block on selecting any filter option

i am not able to keep the filter on page as i select any one from them. On selecting any filter it moves to the state Block. So, what do i do to keep it from moving to the state block?
2
votes
2answers
5k views

How to add other pages to search results besides just products

Does anyone have any idea where I would start regarding having CMS pages show up in search results, not just products on the front end? I know you can do a redirect with a keyword, but I don't want to ...
2
votes
1answer
4k views

Slow queries on catalogsearch_query

I have a site with approx 6500 products. The are constantly running into problems where they run up against the hosting companies PHP Process limit. I have been running a SQL profiler against their ...
2
votes
3answers
2k views

How to get Search Result Count in head.phtml

I am trying to get total number of results count in head.phtml page. I have used following code to get search term. But I am not sure how to get total number of results count here. $term = Mage::...
2
votes
0answers
1k views

Magento Catalog Search - option to change like “OR” to like “AND”

I´m currently working on a search extension for Magento. I´m fairly new to the Magento framework, but I have found a serious feature lack in regards to the Catalog Search. In Magento admin you can ...
1
vote
1answer
100 views

Magento2 enabling elasticsearch empties all categories

I installed elasticsearch and the Magento backend connection test to elasticsearch is successful. If I save settings, clear the cache and reindex as described in the Magento devdocs, all product ...
1
vote
1answer
326 views

Catalogsearch encodes query string for sort/limit in toolbar

If my search contains special chars like ü, ä they are encoded to %C3%BC for example. The strange thing is, it does work correctly in one template, but not in another one. Template 1: simple links .....
1
vote
2answers
4k views

Change default products per page in search results

When a user performs a search the default Magento search result pages offers pagination, it defaults to 9 items per page. I'd like it to default to 30 items per page. How is this done?
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 ...
4
votes
2answers
542 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
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.
3
votes
1answer
42 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 ...
3
votes
2answers
2k views

Search category names in basic search and return matching products

I am associating my products with categories in Magento, and I'd like to modify the basic search so that products from category names that match the search query are included in the results. Is there ...
3
votes
1answer
2k views

Why is re-indexing often required for search to work?

Regularly on our site Magento's search feature stops working and when a user tries to search for a product nothing comes up in the search. Once we re-index Product Flat Data, Category Flat Data, ...
2
votes
1answer
391 views

Catalog Search Sorting Broken With Umlauts / Special Characters

There is a catalog search Magento bug in 1.9.3.0 - 1.9.3.4. You can reproduce it like that: Create a product with an umlaut in the name like "über". Search for the umlaut like "ü" in the frontend. ...
1
vote
0answers
65 views

Catalog Search Issue

When I'm seraching product title "Mixer, Ribbon, 25 CF, 304 S/st, 15 HP, New, HD, (2)" on the website, then getting following error:- 2 exception(s): Exception #0 (Zend_Db_Statement_Exception)...
1
vote
2answers
3k views

Catalog Search Index not changing status “required index”

I ran many time reindex process and system always returning the status "required index". I truncate the table without success.
1
vote
0answers
38 views

Catalogsearch category filter not listing certain sub-sub categories

We have the following category tree: Default Category | Shop categories | Sub category 1 | Sub category 2 | Sub category 3 | Sale Corner | Another category So it's like ...
1
vote
1answer
2k views

Filter Magento 2 product collection with custom text like Catalog Search

I am just trying to filter product collection same like catalog search module, but not couldn't get the succeed with this. For this I tried this, use Magento\CatalogSearch\Model\ResourceModel\...
1
vote
1answer
325 views

Search Query with Umlaut (äöü) not working

Search Query with Umlaut (äöü) not working, what can i do?
1
vote
2answers
2k views

Is there a way to add custom attributes to the Admin side product search?

I am looking to be able to search by a custom attribute's values on the Admin side in Catalog > Product search. By default you can search by a range of product ID's, name, type, attribute set name, ...
0
votes
1answer
2k views

How to exclude specific category id in catalog search result?

I have to some change in magento catalog search result. I have to exclude specific category Id in catalog search result. I had tried in many way but not getting proper result. Please help me asap. ...
0
votes
2answers
688 views

Search issue on Magento 1.9.3.1

I have an extension to replace the default Magento search, but I have always this message no product results. On the previous Magento version was work fine, after upgrade is not work anymore. I add ...