Questions tagged [search]

Denotes questions related to the search engine on Magento.

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

Adding attributes to OrderItemSearchResult

Sorry for beginner question, but I need to add aggregate field to /V1/orders/items response (2 sum fields) - can you give me a hint how it is usually done?
0
votes
2answers
154 views

Magento 2.4.2 not showing products in category pages after version update

I have updated my Magento from 2.3.0 to 2.4.2, and seems to work fine, but one thing, if I go in any category page, I see no products, and even if I search for, I see no results. On the homepage there ...
0
votes
0answers
5 views

Add specific products, best sellers or recommended products if the search result is empty

Is there a way that when the search returns no results, it will show me suggested products or best-selling products? If possible, what are the steps that I will need to take to achieve this goal? ...
0
votes
1answer
14 views

I want to extend the mobile search on click to the desktop

I want to extend the onclick search bar like in mobile view to the desktop view also, how can i do this.
-1
votes
1answer
39 views

Hide simple product when in configurable

Hide all simple products from Catalog or Search results that are added in the configurable products?
0
votes
0answers
18 views

When we search for a product through the search bar, it is not showing any search results

When we search for a product through the search bar, it is not showing any search results. Upon checking for the issue we have seen the following error : "caused_by":{"type":"...
0
votes
1answer
92 views

Magento 2.4 "Bad Request 400 Exception" when using Elasticsearch

I've recently upgraded my Magento version 2.4 and set Elasticsearch as the catalog search option, testing the connection gives a success message but when I try to search on the site itself I get an ...
0
votes
0answers
17 views

How to display only enable products on search page or auto suggest in magento 2 using search-criteria

Find the below code for your reference but it's showing both enable and disable products. I want to display only enable products. //Code for fetch products based on search term. $this->...
0
votes
0answers
30 views

Magento 2 | Change sort order for search results

I would like to set as the default order in the search results page "relevance" in descending order. How can i do? Thanks
0
votes
0answers
10 views

ajax search in drop-down list

I have a drop-down list populated from database, I need to search on this drop-down list using ajax and see in real time the possible results left in this list.
0
votes
2answers
76 views

Layered navigation not working with search results?

a little help if possible, please. I cannot get layered navigation working with search results i.e. no filters? Works perfectly when browsing the website with all filters showing the correct results ...
0
votes
0answers
21 views

How to add filter for particular field in Product Ordered Report Grid in magento 2

I have added a new custom column in Reports->Products->Ordered Grid and populated the corresponding data by following this link How to debug Reports > Products > Products Ordered ...
0
votes
2answers
22 views

Strange search terms automatically added to Search Query table

Strange search terms appear in Last Search Terms and Top Search Terms which are from Search Query table. What can be the reason?
0
votes
1answer
77 views

Magento 2 high MySQL usage. Same query running over and over

Our Magento 2.3.5 has started to continually use 100% CPU and I found that the below query gets executed over and over for an unknown reason. Any information to what is generating the query would be ...
1
vote
0answers
33 views

Product attribute in Google's product search result description

How to show the product attribute in google's product search result description? Particularly, I want to show the final price of the product. Please check the below-attached image in which amazon ...
0
votes
4answers
278 views

Magento 2.4.3: Magento Default Product Search Not Working

I have upgraded the version of magento from 2.2.6 to 2.4.3 in local, so after that i have check the magento search product functionality, so it's not working as screenshot attached: https://i.imgur....
0
votes
1answer
15 views

Magento products showing on specific store view that are not enabled on

I have 2 store views (Bahrain Store & Saudi Arabia Store, Some products are only enable in Bahrain store, but when browsing in Saudi Arabia store those products are shown still in the search bar, ...
0
votes
0answers
12 views

Product search return results with score value as null

Rest Product Search using, V1/search endpoint with 'quick_search_container' searchCriteria always resurn product with null score value. Any idea? Sample Request /V1/search?searchCriteria[requestName]=...
0
votes
0answers
33 views

Uncaught RangeError: Maximum call stack size exceeded at Object.ctx.nameToUrl in requirejs-min-resolver.min.js in Magento 2 error in console

I am facing this issue after minifying of Js in my magento 2.3.7 at only on category catalog page. 33 VM818 requirejs-min-resolver.min.js:1 Uncaught RangeError: Maximum call stack size exceeded at ...
0
votes
2answers
33 views

Magento Search Not working - Only returns results if I search SKU codes

I have a Magento 2.4.3 installed with Elasticsearch 7.9 They are on separate servers (but I don't believe that is relevant). The reindexing function runs successfully and I can see the index on the ...
2
votes
0answers
35 views

How to get blog result list into catalog search Magento 2

Hello I am currently working on Custom blog extension. Where I want to get blog posts in catalog result. where I am having my_blog_post table with following columns. id title image description ...
0
votes
0answers
39 views

Magento 2.4.2 : Full text search via elastic search customisation

I want to customise an elastic search for full-text search Example Suppose the search term is "maths book" then the search should display results for a product whose name contains both the ...
0
votes
1answer
23 views

Change minisearch bar input width on hover

I am trying to change the search bar input width when it expands on hover. <div class="search-wrapper"> <div class="search-content block block-search" id="search-...
0
votes
3answers
54 views

Magento 2.3.6 search result page no product images

I'm trying to fix a an issue in a store for a customer without success.. Website prochet1861.com is developed with Magento 2.3.6 and running Elasticsearch 7. All work perfect (categories, advanced ...
0
votes
0answers
36 views

How to enable search from product name only in magento 2?

I am new on magento. Please help me to enable search of product according to product name only, on Magento 2.4. Because I am searching diaper and it is showing other products. Please check the below ...
4
votes
1answer
55 views

Magento 2 - Search result not working properly on dropdown attribue

I have a dropdown attribute brand Use in Search is set to "Yes" Search Weight is set to 10, tried with 7 as well In configuration Search Engine is set to MySql There are more than 100 ...
0
votes
0answers
12 views

Magento 2.1.10 - Search Parameter including 'or' doesn't work

I am working on a Magento 2.1.10 project and we have a product called 'Double or Nothing' however if I enter 'double or nothing' in the search input field, I get no results. Interestingly, I can find ...
0
votes
0answers
24 views

Magento 2 DI creates two instances of a class and can't control which is one is being injected

I'm quite new to Magento 2 (.4.2) and I'm debugging some strange issue I'm having. We're facing an issue that it's impossible to sort the search results by relevance and looking at the code and ...
0
votes
0answers
9 views

pressed wrong letter and stucked

I have pressed the v and press enter by mistake and now the page is processing further. Can someone please guide me on how to fix this issue?
0
votes
1answer
27 views

Move element for mobile only

I use the Porto theme. My search bar is in the porto_header container. When I switch to mobile, I want the search to be in header_top. Is there any way to do this with the XML config, or do I have to ...
0
votes
1answer
153 views

Magento 2 search query Customization

I am facing an issue in search Magento 2.4. I want to change the search behavior For example: I search RP-4 then getting products that contained RP-4 string. Then I search RP4 result No record Found I ...
0
votes
0answers
200 views

Your search returned no results after search category or product in the search box error in Magento 2.4.0

As I am searching anything inside the search box like category name or product it is showing not results error in the Magento 2.4.0 version. Can you please how to resolve the issue quickly ?
0
votes
0answers
36 views

Catalog Search is not getting the Accurate Search Result Magento 2.3.5

In Magento 2.3.5 the catalog search result is not accurate i trying to get the accurate search result in the Frontend search. So i tried some ways Catalog reindex Removed the Unwanted attribute ...
1
vote
0answers
54 views

Magento 2.4.2 cacheable search results (past first page)

We have seen that Magento after first page (whenever there is a p request parameter) the code forcibly makes the page un-cacheable. Is there a reason for allowing the first page to be cached and not ...
0
votes
1answer
39 views

Products Disappearing From Search Results

Magento Version: v2.4.1-p1 Elasticsearch Version: v7.10 Products are disappearing from search results on our site. When reviewing the exception.log we are seeing the following error messages: main....
0
votes
0answers
9 views

Magento 2 | Add tier prices to filter advanced search

What I would like to do is filter the advanced search by requested quantity and price. Example: I would like 1000 pcs with a price of $ 0.70 and lower per piece. Is it possible to filter a similar ...
0
votes
1answer
37 views

Magento 2. Where is the catalog search ES index created?

Magento creates an index in ES for various search features. I'm interested where in the code is index created/updated/repopulated? I'm thinking some cron or indexer. I've looked in module-catalog-...
0
votes
0answers
24 views

How to make search results show by name

I am trying to get it so that once a user types in name of product the results will show in order by product name. I have already done Store > Configuration > Catalog > Product List sort by |...
0
votes
1answer
1k views

Magento 2.4.2 Elasticsearch Error: main.CRITICAL: {"error":{"root_cause":[{"type":"query_shard_exception","reason":"failed to create query

Elasticsearch not working with main.CRITICAL: {"error":{"root_cause":[{"type":"query_shard_exception","reason":"failed to create query. I have ...
0
votes
1answer
85 views

Magento 2.4 Rest API need to show filters related search result

Following code fetch the products based on search keyword but the issue is filtering showing all instead of the search result page. I want filters should be shown only related to the search result ...
0
votes
0answers
20 views

Custom module sort and search filter not working

I've created a custom module. The sorting and search filter not working on the grid page. <arguments> <argument name="id" xsi:type="string">testGrid</argument> &...
0
votes
0answers
28 views

Frontend search versus backend search

We upgraded from Magento 1 to Magento 2.3. In M1 the search feature in the frontend could be quite broad, while the search in the backend (looking for a specific product to edit) was fairly narrow, (...
0
votes
1answer
91 views

Search Giving Error 500 Only On Certain Search Terms

Hoping someone can help. I'm running Magento 2.4.1, PHP 7.4 with Elasticsearch 7.10.2. I was using Mageplaza layered nav, but turned this off. Using Porto theme and a few other extensions which ...
0
votes
1answer
155 views

Remove Search By Keyword Box in admin grid

I have to remove this Search By Keyword box in customer grid. I overrided the customer_listing.xml but I dont know the syntax to disable it. <filterSearch name="fulltext"/> Do anyone ...
1
vote
1answer
96 views

Simplify Magento 2 search engine results

new to Magento 2 and this forum for now. In the company I work, we have a website on Magento 2.3.4, migrated from Magento 1 , and cause I know some English the boss here wants me to make some ...
1
vote
1answer
180 views

Magento 2 visibility "catalog" not saving in default store view

Magento 2 visibility "catalog" not saving in "default store view" but when store is "All store view" it is saving "catalog" but in default store view when ...
0
votes
0answers
42 views

Customization of quick search

My Magento version is 2.3 community, What I want to know is how can i detect a full text search not a combined one, Example - when I search the word Apollo plus I want it to show results only for ...
0
votes
1answer
79 views

Advance Search Not Working With Custom Atrtribute

I have modified the advance search form and added only my custom attributes in the form, I have created the Select input with the exact same values from product attributes like: <select name="...
0
votes
1answer
41 views

Make customer phone number searchable in admin

How would I make the customers phone number searchable in admin for orders. Either in main admin search or the search bar in sales order grid. I have a custom column with the customers phone number. ...
0
votes
0answers
118 views

Replace <div> of page with <div> comes from $.ajax response

Problem is written inside the success section. $.ajax({ url : 'path to file', dataType : 'json', type : 'POST', data: data, success : function(res) { // here I want ...

1
2 3 4 5
15