Questions tagged [catalogsearch]

Denotes questions related to the Magento catalog search engine

238 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
12
votes
0answers
167 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 ...
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
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
1answer
976 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
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....
3
votes
0answers
70 views

Magento 2.3 Result page blank if an item is found

I am trying to search for products on my Magento 2.3 site. When the result is empty (there are no products found) it just shows a page saying there are no products found. Perfect! But when there is a ...
3
votes
0answers
23 views

Search product work wrong in Magento 2.x

i have a problem with searching products in Magento 2. Ex : My store have 2 products, ABC and XYZ. When I search for the keyword "ABC" or "XYZ", it show product ABC or XYZ. But if i search for ...
3
votes
0answers
45 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. --> ...
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
80 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 ...
3
votes
2answers
236 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,...
3
votes
1answer
28 views

When To Use MultiStore Vs. Categories

I'm attempting to hide the "Add To Cart" button for specific stores currently and am having some issues with my lack of experience. It works in each individual store but not when using the search ...
3
votes
0answers
143 views

Magento2: How can search products for specific category via search box?

I want to search products for specific categories though search box. Anyone have an idea for that?
3
votes
0answers
338 views

Magento 2.2.5 Product attribute “use in search” RESETTING after index:reindex

UPDATE:: Today i discover that happen when the cron run index:reindex How can I fix? Today during configuring manufacturer attributes I found a bug or however an anomaly on Magento 2.2.5 I, ...
3
votes
0answers
170 views

Magento Full Text Search through API

I have an API2 REST end point that is trying to do a full text search. The problem is that it's always returning empty results for not specific reason. This is the code i have: $query = Mage::...
3
votes
0answers
610 views

Magento Catalog search returns blank page

I am having a strange issue. I am working on developing a theme based on out of the box Luma theme for a Magento 2 site. For the default page in theme, I am overriding it to use 3-column layout. ...
3
votes
0answers
57 views

Search Problem when “1” is present in query string

Suppose I have 3 products (mix 1, mix 2, mix 3) in my store. Now when I search for "mix" all three products showing. When I search for "mix 2", "mix 2" product is showing, when search for "mix 3", "...
3
votes
0answers
529 views

Magento filter search result by custom text

I have created one module Popular Search. In this module I am adding custom popular keywords like, Shirt Jeans Dress Now on search result page, I want to filter the result with these keyword. I have ...
3
votes
0answers
138 views

Catalog Search Refinement issue on admin login

I trying for this past few hours, but i can't find out the issue. I installed the "Catalog Search Refinement" and checked on front end yesterday. Today I'm tried to login on admin panel and i get this ...
3
votes
0answers
59 views

Excluding Products from Search

I run a webstore selling automotive products. In the automotive industry, it is very common for a single letter in a vehicle's badge to indicate a significant difference (e.g., AWD indicated by an "X" ...
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 ...
2
votes
0answers
34 views

Magento 2 Catalog search results are not correct?

I have migrated data from magento 1 to magento 2. I am searching product name: 4.0ct Round Morganite Diamond Engagement Ring Bridal Set 14k White Gold then it is showing lots of products on result ...
2
votes
0answers
32 views

Magento 2 Elastic search results show different relevant results

We are using Magento 2.1.8 and facing issue with elastic search results, it's returning all relevant results instead of exact results.
2
votes
0answers
32 views

How to override default search result in magento 2

I want to override default Magento search result, as I am not getting idea from which file all data is displayed from which I want to filter the data. Following are the requirements for overriding ...
2
votes
0answers
22 views

Catalogsearch super sub categories products search not working

I tried a lot, but I can't find a solution. In catalogsearch only showing the selected category product, it's not showing the subcategory of the selected category. I tried a lot of suggestion on ...
2
votes
1answer
36 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
0answers
45 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. ?
2
votes
0answers
326 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?
2
votes
0answers
31 views

Search for sku of custom option in shop

I want to configure the search to search for a SKU of a custom option. I got different products with custom options and a related SKU. I want to get it working, that a customer can search for the SKU ...
2
votes
0answers
42 views

Magento 2 search returns 1 product only

I have a problem in my store, the search returns only 1 product shows, I already did the re-index and cleared the cache. The products also have stock and visibility for catalog and search. http://...
2
votes
0answers
450 views

Magento 2 catalog search result

I re-enabled the frontend global search and while the autocomplete suggestion work, any query returns the following error. I do notice the URL search does look like this when clicking any suggestion ...
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).
2
votes
0answers
384 views

How to get search result count in layer/view.phtml file?

I want to place a condition based on product count in layer navigation. I have tried with following code file localtion : app/design/frontend/Custom/goshop/Magento_LayeredNavigation/templates/layer/...
2
votes
1answer
1k views

Magento 2 Catalog Search with Hyphen

All my skus have the following format: XY-NAME-NUMBER, e.g BC-FLUID-0003. Now when I try to search that sku via catalog search in the frontend, I get all kinds of results, much more than I'd like to ...
2
votes
3answers
1k views

Magento 2 Search Rest API

I need to change the response of Search Rest API in Magento 2. Request:rest/V1/search?searchCriteria[requestName]=quick_search_container &searchCriteria[filterGroups][0][filters][0][field]=...
2
votes
0answers
1k views

Custom Attribute Search using SearchCriteria

I have created some custom attribute like city and I need to search how many products I have in a specific city using SearchCriteria. The SearchCriteria I apply does not filter products on my city ...
2
votes
0answers
580 views

catalog search result default sortBy by multiple attributes at once

I want to sort my catalog search result by multiple attributes. For default sorting by price I have added below code in xml file : ... <catalogsearch_result_index> <reference name="...
2
votes
1answer
962 views

Search catalog with less than 3 characters

What is the solution to be able to search Magento 2 catalog with less than three characters. This is what i have done so far from looking at Magento 1 info regarding this issue. Setting "Max Query ...
2
votes
0answers
166 views

Product url with category in magento search

I want to set product url in search page with the product category. But it doesn't show category url. Example:-www.xxxxxx.com/maincategory/subcategory/product_name.html But in search result, it ...
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 ...
2
votes
1answer
416 views

How to filter blank product image from catalogsearch and catalog in magento via observer

I need to filter blank image product in Magento from catalog and catalogsearch. But it working fine on catalog. bt not fine in catalog search. I got error when search product in search.... Column ...
1
vote
0answers
26 views

Magento 2.2.6 Product Pages Not Opening after upgrade

The product detail pages on my site are no longer opening after upgrading from magento 2.2 to 2.2.6 There are no error rather a catalog search results page is loading instead http://mydomain.co.uk/...
1
vote
1answer
94 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
0answers
12 views

Infinite loop search page

While accessing the search url (http://localhost/mage2/catalogsearch/result/ or http://localhost/mage2/catalogsearch/result/index) infinite loop. Is it possible redirect to home page? Thanks.
1
vote
0answers
30 views

Magento 2 : Website Search Functionality is not Accurate

The search functionality is no longer accurate and provide irrelevant products on my Magento2.3 site. For e.g. when one search for 'shirt' other products appear. How can this be solved so that my ...