Questions tagged [search]

Denotes questions related to the search engine on Magento.

Filter by
Sorted by
Tagged with
0
votes
0answers
21 views

Magento 2: Add an attribute to global search

Is it possible to add an attribute from a custom module to the global Magento 2 search system? For context I've got a couple of custom attributes added to the sales order records (an external legacy ...
0
votes
1answer
24 views

Magento 2 search suggestion showing some character and symbols

My search is not working fine, when i try to search, it shows some unknown and irrelevant charters in the suggestion.
0
votes
0answers
23 views

Magento 2 Query to get Product with SKU also

I'm using an extension called M-Connect Autocomplete Search, I'm facing a problem that when user tries to search product by SKU like 3-SC, 3-SC-10, 3-SC-BL, 3-SC-BL-C but can't get any result, maybe ...
0
votes
0answers
14 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 ...
0
votes
0answers
11 views

breadcrumbs after using research

My issue is the following (I'm hesitating on posting it on Github) In this example, I have 2 products, in different categories : product1 in cat1/cat2/cat3 and product2 in cat1/cat4/cat5 The start ...
0
votes
0answers
23 views

Magento2: how to add fulltext search query in block page

Magento2 : How to add a full-text search query in a block's function within a custom module? This is what I am trying so far: $postCollection->addFieldToSelect('*'); if($search != '') { ...
0
votes
1answer
34 views

How can I add categories to search suggestions in magento 2.3

Am using elastic search as the search engine. Can anyone tell me how can I extend the search suggestions in Magento 2.3.1 to add the categories in search suggestion? Any small help or clue will be ...
0
votes
0answers
22 views

Magento 2.3.2 Elasticsearch issue with multi language(Greek)

I am using Elasticsearch 6.8.1 with magento 2.3.2 instance. Although in English store my search is working fine, in Greek store I am having some issues with the words having accents. This happens only ...
0
votes
1answer
17 views

How to get products with the available dates?

I have created product attributes "Available from" and "Available to" with the input types date. I want to get products from the available dates while searching. How can I achieve that result? ...
0
votes
0answers
18 views

Magento 2.3 - Does default search suggestion doesn't suggest product names?

Can anyone tell me what does the default magento 2.3 search suggestion suggests? Am using default elastic search engine for search. Can I able to suggest product names?
0
votes
1answer
35 views

Search is not working by product attributes

We have added couple of products on our Magento 2 site. In the home page of the site, we have a search form and there we have put input boxes as product name, from, to and location. We want to display ...
0
votes
0answers
17 views

How to search the products by location?

We have a search form in a banner. In the form, we have three tabs and each tab have input boxes like "what you want", "location", "from", "to". We have created this form to search the products based ...
0
votes
0answers
13 views

magento 2 how to add search box to fronted for a custom table contents

How to add a frontend search box for a custom table contents. When the user enters three letters of a name then get data in pop up. Anyone Can help? Thank you in advance.
3
votes
0answers
41 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 ...
2
votes
0answers
16 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 ...
0
votes
0answers
20 views

Magento2 - Have two search bars on same page

Currently, the client is wanting a search bar in the header, and also one in a banner/cta for a landing page on Mage 2.3 When I successfully move the search form header -> content, I have not figured ...
0
votes
1answer
17 views

Magento2: How to get product collection by full text search?

How to get product collection by full text search? $query = $this->queryFactory->get()->getQueryText(); $collection = $this->_productCollectionFactory->create(); ...
2
votes
0answers
26 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.
1
vote
0answers
19 views

How to Extend Algolia_AutoSearch extension in my own custom extension. Magento 2

I want to create a custom Module in which I want to use Algolia_AutoSearch extension Like my extension is about Search like Algolia extension do but my search will be about the orders i.e. customer ...
2
votes
0answers
14 views

Create new tabs search results and find customer in magento 2

I created a tab in search results like this. The problem is that when I click on the "B" tab it will find what I want to find, ex as customer. Please help me create it step by step. I think i should
0
votes
0answers
13 views

Magento2: How can customize search box in product admin grid?

I want to search products by any text if it related to product. please find screenshot: https://prnt.sc/o2w458 When I search by "bolt kit" then it is showing results but when I search by Kit bolt ...
2
votes
1answer
26 views

Refined search queries

I am currently making a Magento 2 store, and have two separate searches; the first one is just a normal query that searches the whole product database. However, it's the second one that I'm having ...
0
votes
0answers
12 views

Search results not showing in main results screen, but are being returned

We are running Magento 2.3. I have been doing some API work (NO internal magento changes) to update products, but have been using the same code for weeks without issue. All of a sudden, searching ...
0
votes
0answers
19 views

Image not displaying in Algolia search magento2

I have installed Algolia search extension in our magento2 store. The extension is working properly but one issue is that images are not displaying when the search is made. In all other pages like ...
0
votes
1answer
17 views

Magento 2: Product URL Suffix problem with search (2.3.1)

We removed the values for url suffix from the configuration (removed .html). After rebuilding cache and reindexing from CLI the store works correct but the search function for some reason doesn't. The ...
1
vote
0answers
18 views

Magento2 | How to change the main search site?

Sorry for my English I currently have a full-text index and when the search is in progress, it does not look for a substring. How to make a search to work as %LIKE%? I have this hdd with serial ...
0
votes
1answer
23 views

Magento2: Created Date search result wrong in french but right in English admin site

I have create a custom module for creating the orders report.Add Created Date TO 2 FROM Filter its working fine in English language . like : But when i change Interface Locale french : Then created ...
0
votes
0answers
20 views

magento2. How create correct search

Sorry for my English When I do a search on the site, Magento himself changes the search. How to remove it? For example i search "wd5000aaks V0 TJ 2011" but Magento himself changed my search. I do ...
0
votes
1answer
33 views

magento2. Get SQL string frontend search

When a user makes a search on a site(where search product), I would like to see SQL request this search. How can I see him?
2
votes
2answers
29 views

Magento 1 location of search bar code

I am trying to move my search bar bar into the white bar so that I can delete the tan bar: But I don't know where to look to find the code for the search bar either in the admin panel or in code.
0
votes
0answers
14 views

Category Missing from Backend and Frontend Menu but in search category showing it's products also showing

Any Help Category Not showing on Backend and Frontend Menu but in search category showing it's products also showing magento 2
2
votes
1answer
61 views

Magento 2 extend $.mage.quickSearch Widget

I don't seem to be able to extend quick search module widget form-mini.js found in module/path: ../vendor/magento/module-search/view/frontend/web/form-mini.js How can I extend in my custom module $....
0
votes
0answers
56 views

Search by keyword is not working properly magento 2

When i search by full name of product the result in grid of product does not show the product. So is there a problem to fix and how to make search by sku product functionnal any help please and thanks ...
2
votes
0answers
29 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 ...
0
votes
0answers
59 views

Category page take too much time to load because of search_tmp_* table

my sites category page slows down because firing query for search_tmp_* table take more than 1 second and it runs saveral time on one page load here is the query : 7624 ## QUERY SQL: INSERT INTO ...
0
votes
1answer
202 views

Magento 2 Products not showing in categories and search (visible in backend)

Got an issue with displaying the products in frontend although they all can be seen in backend. Products also can't be searched but can be accessed via url e.g. example.com/catalog/product/view/id/...
1
vote
0answers
14 views

Show one category products at the end of product search results page

I have a category "pre-order". How can I have the products from this category shows at the end of product search results page? i found this plug-in to have the out of stock display in the ned, how to ...
3
votes
1answer
21 views

How to use multiple keywords search back end of Magento 2

I have a product called: Volvo XC70 Polar Navigation XS2 I would like to search in the back-end on Volvo Polar but it gives no result. I can't use multiple keywords. Is there anyway to make that ...
1
vote
0answers
24 views

Update Magento 2 Search With Images

Hoping someone can help, I am guessing I am missing something simple. When I currently search on the site it shows a dropdown with the product and image beside. I have recently added new products ...
0
votes
3answers
41 views

Magento2.2: How to change the default functionality of search in visibility

I want to change the default functionality of search in visibility. When product Visibility is set to Search or Not Visible Individually it should not appear in the search dropdown, search results, or ...
3
votes
2answers
40 views

How to move Magento 2 Search bar to be centered

Here is my current search bar: And here is my expectation: I still don't understand about how to make centered search bar like that ? here is my html (from inspect element): <header class="page-...
0
votes
1answer
37 views

magento 1.9.4.1 Mage_CatalogSearch_Model_Resource_Fulltext::getFoundData()

I have problem with search products on magento 1.9.4.1 i have this error AH01071: Got error 'PHP message: PHP Fatal error: Call to undefined method Mage_CatalogSearch_Model_Resource_Fulltext::...
0
votes
0answers
19 views

How to search/filter for ONLY empty fields in the admin panel?

I'm looking for orders that specifically did not use a coupon code, and therefore have no visible value in the "coupon" field. Which value do I search for? I tried "NULL", ""(as in, two quotation ...
0
votes
2answers
17 views

when the searched product does not exist in database then how to show that searched product?

In the search engine i have searched one product.that product not in the database but product is moving to add to cart page and store in the database and it will show the message not in stock but in ...
0
votes
0answers
24 views

How to create select form to choose categories in Magento 2.3.1?

I would like to create a search by selecting the categories in select form. So there will be four select forms and search button. &1 SELECT TYPE and there will be categories to select: ...
1
vote
0answers
27 views

Magento 2.2.8 exact search in backend

In the admin backend on the order grids we used to be able to do an exact search like, "Firstname" in Magento 2.2.5 Now i have upgraded Magento to 2.2.8 and the exact match doesn't work anymore. It ...
0
votes
0answers
30 views

Magento 2.2.6 quick search is not working for sometimes

I am trying to search a product through a quick search using the product name and its brand name. But it does not work for all product. Only for some product. E.g if I search products of brand "XYZ" ...
0
votes
0answers
60 views

Magento 2 searches by words inside the text

How to customize the search so that it searches by words inside the text I tried <queryReference clause="must" ref="search" />, but it didn't help. We have part numbers in our catalog and the ...
0
votes
0answers
13 views

Search sorted by weight categories

I'd like to display search results sorted by category weight. For example if I search iPhone, magento2 returns Case iPhone (accessory category) and after Apple iPhone (telephony category) I would ...
0
votes
0answers
12 views

Alter search query by adding attribute

I need to filter the result of my catalog search (thanks to the search form so, not through the catalog only) based on a customer attribute. What file should I override to do this ? Or what event ...