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 [search]

Denotes questions related to the search engine on Magento.

0
votes
0answers
27 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
24 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
15 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
86 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
12 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 ...
1
vote
0answers
9 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
1answer
20 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
39 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
33 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
31 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
9 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
23 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
17 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
15 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
43 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
11 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
11 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 ...
1
vote
0answers
35 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
29 views

Search result : sort by custom category id

how can I change the default sorting order from the position to the order of the category ? In my result, I have some product of the Category 2 that appeared before the Category 1 (probably because I'...
0
votes
0answers
12 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 ...
1
vote
0answers
15 views

Search not only by product name / description

I want to show product that the category name is "Watches", but the only result I have is the product with "watches" in the name or description. How do I show product that the category is "Watches"?
3
votes
1answer
37 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 ...
0
votes
0answers
11 views

How can I return custom products to catalog search result in Magento 2?

I am developing a custom search engine for my Magento 2 store. How can override the products returned in catalog search result with a custom plugin ?, and Can I override the result without changing ...
1
vote
0answers
21 views

Filtering orders by Postcode

In the UK, we refer to our postcodes as either "SW1A 0AA" or "SW1A0AA" (with/without spaces). The issue with this, is that when you Filter your Orders by Shipping Address (backend Sales Order Grid) ...
3
votes
0answers
25 views

on load more click show more products of same category in search in magento2 [closed]

I have load more button in search after user search that load more button is coming on that click show that category products in magento2
2
votes
1answer
54 views

magento 2 Infortis ultimo theme display category tree menu on the left of the search result page

I am using the Infortis ultimo theme, in the included feature, i was able to add the category tree menu on the left bar of each category page, but how can i add it to the search result page? is this ...
1
vote
0answers
55 views

Magento 2 : search into category name

When a user is making a search on my website I would like to search into categories name, for example if the user is searching for "house" I would like to display all products containing "house" in ...
2
votes
1answer
36 views

Is it possible to delete an image from google search results without approval of site owner? [closed]

We have a Magento site with lots of images. Since we have competitors, there is a possibility to delete the images from the search engines like google image search. In this case, I want to know that,...
0
votes
0answers
33 views

Magento 2: Wrong product thumbnail image on search results page

I've noticed in both the backend catalog search and frontend search that incorrect product thumbnail images are being displayed for certain products if they do not have an image associated with them. ...
1
vote
2answers
93 views

Magento 2 : Rest Api for search customer by name

I want to search customer by name. Any options to search customer by name using Rest API in Magento 2
2
votes
1answer
48 views

Magento 2.3 Advanced search giving 404

I'm pretty new to Magento so please accept my apologies if I have done something stupid :) I would like to use advanced search on my home page, it works fine if I click the advanced search link in ...
1
vote
0answers
43 views

Sort product in research result in BO

how can I change the default sorting order from the position to the order of the category ? In my result, I have some product of the Category 2 that appeared before the Category 1 (probably because I'...
2
votes
0answers
33 views

Magento 2 Search not finding SKU with special chars in it

if we search for an sku string with hashtag (e.g. "QW49ES#ABD") search results page shows me many many results (i guess all results with hashtag in it). If i only search for the sku part "QW49ES" i ...
0
votes
0answers
16 views

How to works catalog search?

When I do some searches in the catalog using global search, Magento shows me some weird results of products not related. For example, if I search for "500" string in global search, it shows prodcuts ...
4
votes
0answers
61 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
50 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 ...
1
vote
0answers
51 views

Magento 2 catalog search for SKU with dot not working

our SKU's have dot's like: "120.00085" If I search this string I get all products with "120.XXXX". But the product with exact this SKU is not at the first position in the results. Is there any ...
0
votes
1answer
25 views

Mutiple fields search for products magento 2

I need to implement a multiple field search block on my website, For example a field for brand the next one for model and the last one for year Help me please if you have any idea
1
vote
1answer
74 views

How can I fix block grid reload issues in admin?

<?php namespace vendor\module_name\Block\Adminhtml\Statement\Edit\Tab; class Products extends \Magento\Backend\Block\Widget\Grid\Extended { protected $_productCollectionFactory; ...
1
vote
1answer
61 views

How to remove SKU from product name in search results?

How can I remove SKU from product name in search results? In category view, product name is without SKU but when I search for some product, the results is including SKU in product name.
0
votes
0answers
23 views

Results missing from search via REST API when fields are missing

The short of it - I'm performing a search on multiple fields (two normal fields and 10 custom_attributes fields. If a product is missing any one of those custom_attributes fields it is omitted from ...
0
votes
2answers
35 views

Magento 2. In Search Repeating Error

i tried to override the Search for that my Layout is catalogsearch_result_index.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
3answers
65 views

hiding products for guest user M2

I have one question about showing products. I dont want to show products for guest user. Even when they search for those products they will not get that. Only logged in user will get those. Can ...
0
votes
0answers
43 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
49 views

Magento2 top header section change layout

Currently in my site display this I need search section move to top as look wise below If anyone idea reply me how to search section move in magento2
0
votes
0answers
37 views

How do I better improve the performance of my search function in my Magento 2 website

How do I better improve the performance of my search function in my Magento 2 website. Every time i try searching a key word, such as Mi 8, it doesn't show results with the searched keyword in the ...
2
votes
2answers
47 views

Get product, with 0 quantity, by attribute (sku)

I'm importing products and I want to get product by its sku. This is the code: $product = $this->productFactory->create(); $record = $product->loadByAttribute('sku', '1234'); It works but ...
0
votes
0answers
137 views

Magento 2 - When searching simple products using name or SKU, configurable products appears

I'm having an issue with search, I have simple products added into Configurable products and when I try to search those simple products using the name or SKU the configurable products appears. I think ...