Questions tagged [search]

Denotes questions related to the search engine on Magento.

Filter by
Sorted by
Tagged with
0
votes
0answers
9 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
15 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
13 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
29 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
25 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
43 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
50 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
38 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
26 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
23 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
22 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
vote
1answer
29 views

Adding Customer Data in Elasticsearch

I want to Add All my customers Data in Elasticsearch Like Products and Category i want to where should i start and how i can map data Thank you
0
votes
2answers
168 views

Magento 2.4.1 disable Elasticsearch

I want to use Magento 2.4.1 in a shared server, the problem is that the shared server is not support Elasticsearch. Is there any way to can remove the Elasticsearch or to disable the entire search ...
0
votes
0answers
31 views

Magento 2.4.1 search, bulk action, paginition not working properly

I am having 3 problems on magento 2.4.1 Bulk action is in pending. I tried to run the command : php bin/magento cron:run , but it's not working. On catalog page pagination is not showing I am not ...
0
votes
1answer
20 views

How to add static pages in the Magento 2 search result?

I'm using a Magento 2.4 and in my project I have many static pages that I would like to be part of my search results. How could I add Magento 2 static pages in my search results?
0
votes
0answers
17 views

After installing Smile ElasticSuite suggestions doesn't have links

I installed elasticsuite by smile but after the installation suggestions below search bar are only list elements without any link. Do you know why this is happening?
0
votes
0answers
21 views

How to add search result page In all page as it 's magento 2

As per our requirement in magneto 2, User can search any item in site and get the result as per search and that's working fine. But that result stays and showing on all pages in magneto 2. If user ...
2
votes
2answers
71 views

Search Results not using the Product list interceptor class

I needed to make some changes to the product list in magento 2. So I went with this approach. Create a plugin on the Magento\Catalog\Block\Product\ListProduct::toHtml method and do my changes in ...
0
votes
0answers
31 views

Wrong Search Result for the API rest/default/V1/products in Magento 2.3.6

I have 3 websites and each has a store and store-view, the website one has the store_code: default, when I search for products while passing the store_code: default, the search result shows products ...
0
votes
0answers
16 views

Combine Layered Navigation and search by name

I am trying to add a searchbox on my category pages that my users can use to filter (by name) the products in category that they are looking at. It should also work with already existing filters that'...
0
votes
0answers
23 views

How to make shipping address custom dropdown attribute searchable

I have followed tutorials like mentioned in below links: https://www.mageplaza.com/devdocs/add-new-fields-address-form-magento-2.html https://www.fmeextensions.com/blog/add-custom-field-magento-2-...
0
votes
1answer
11 views

Show only filters in layered navigation for search results where all products have that filter populated

I am trying to implement this feature: the filters that are shown in the search results page are only visible if every products in that results page have the attribute linked with the filter populated....
0
votes
1answer
67 views

Magento 2 - Use search criteria to find configurable using attribute of their children

I have product X which is configurable. To product X I have assigned product Y and Z as simple ones. Both simple has attribute "Color". Now product Y has color: 123, product Z has color: 456....
3
votes
0answers
67 views

Magento 2 404 page is redirecting to catalog search page

Magento 2 404 page is redirecting to the catalog search page. Example- www.abc.com/test123 it will redirect to the 404 page but it is redirecting to www.abc.com/catalogsearch/result/?q=test123 How to ...
0
votes
1answer
254 views

Fulltext search throws “The bucket doesn't exist”

Reopening this discussion, as none of the found solutions worked. I have about 60 categories and subcategories, going down 4 levels deep. Number of products is irrelevant, this bug reproduces with 10 ...
0
votes
0answers
31 views

Magento 2 Elastic Search enable but not showing search results

Magento 2 enable elastic and the connection is successful but when search from the frontend it is not showing results Even our elastic search status is green and the index key is also generating Can ...
0
votes
1answer
27 views

How to set search page as home page

I would like to set search page /catalogsearch/result/AVMP as the home page. Anyone have any idea?
3
votes
1answer
499 views

Magento 2 Pagination not working on search results - Porto Theme

Pagination works when I navigate to a page, but when I search, it doesn't. This is inconvenient when there are 100 results, but when there are 1000+, eventually it just times out and throws a 524 ...
3
votes
2answers
270 views

Magento 2.4 - Search by SKU

I'm trying to figure out why Magento 2 Search is working that way. My products have SKUS like 111-222-333. When i'm trying to search by SKU, magento 2.4 returns a product collection of ther product ...
0
votes
0answers
5 views

Can I get whole categories (Item Types) as search results from my website's search bar?

Many visitors of my website search for categories instead of certain items on the search bar. However the store is not configured to show this type of results. What would be the way to define a number ...
0
votes
0answers
19 views

Magento 2 catalog search with apostrophe not working

When I search brand name like L'Occitane and Geather's the search result does not give me the exact result how can I achieve this ? Magento Version 2.3.6 and search engine Mysql
1
vote
0answers
49 views

Call to a member function getLoadedProductCollection() on boolean Search Query issue

im trying to separate the search query text from result.phtml and place it in its own template. So basically ill have the product collection in results.phtml, and then the search query text "your ...
0
votes
0answers
8 views

Show only assigned attribute options in advanced search form Magento 2

i am trying to change the advanced search form layout. I need the multiselect attributes to be shown as dropdown and only assigned options needed to show in it. First task sucessfully done by ...
0
votes
0answers
88 views

Magento 2 search 3 characters with hyphen not working

Magento 2 search 3 characters with hyphen not working Example - product SKU is 4-e - it gives lots of search results instead of related to 4-e results(not giving related with 4-e) there is no ...
2
votes
1answer
105 views

Magento 2 How to print SQL Query when user search from admin product grid

Magento 2.3.4 version using. Can we print SQL query when product search from admin product grid? i can print sql query in our custom or product collection in frontend using $collection->getSelect()-...
0
votes
0answers
27 views

Cannot move the search bar after the logo

I want to move the search bar right after the logo and sign-in, and sign-up link next to search bar. I have used the below instruction in my theme xml file but its not working. <move element="...
3
votes
0answers
37 views

Add search functionality in admin for select

Hi I want to add search functionality in select box in admin form. screenshot: https://nimb.ws/Rj5osS , anyone had any idea? I have this code which creates the field: $baseFieldset->addField( ...
-1
votes
1answer
37 views

Magento 2 Search, result of search should must be searched product first than relevant product

I want the search result to be more accurate when I search a product actual product is result on 3rd page I want searched product result first then all remaining relevant products example when i ...
0
votes
0answers
29 views

Filters are missed in Admin Panel

For some reason filters in Admin Panel are missed. I tried to debug it but it is without any result. Can someone say where this collection is prepared or maybe why is it happens?
0
votes
2answers
178 views

Filter is not working on Custom Values in Magento 2 Order?

I have save my custom data in quote and sales_order table and show data in Admin grid but filter is not working in this as it is search in sales_order_grid table in Magento 2. I have found out a ...
0
votes
0answers
9 views

Disable search by URL GET

Magento2 if i got to mywebsite.it/searchterms Magento2 will open a connection in the db and search the product. I would like to disable this feature because has been used on a DDOS attack. How can i ...
0
votes
1answer
59 views

Magento 2 catalog search not working when letters combine with numbers

Magento 2.3.5-p1 version Suppose the product name is "Super M2" when we search "m2" then it is not showing results on the search page but when the product name is "Super M21&...
0
votes
0answers
66 views

Adding Search Console to Magento 2.3.3

I have a client who is designated owner in Search Console. We are trying to get him verified, BUT adding code in Magento does not work. We were trying to add the code via Content -> Configuration -&...
0
votes
1answer
158 views

Apply Filter not working on Magento 2 for custom column Sales Order

I have save my custom data in quote and sales_order table and show data in Admin grid but filter is not working in this as it is search in sales_order_grid table in Magento 2. my view/adminhtml/...
0
votes
0answers
9 views

Advanced Search Amending Base URL

Using the base URL variable {{config path="web/unsecure/base_url"}} on advanced search page (url/catalogsearch/advanced?) seems to display different results based on whether the variable is ...
0
votes
0answers
6 views

Paginate using API

I'm currently workking with PageSize and searchCriteria for filtering results, is there any endpoint to know exactly how much items are for any type? I mean, know for example how much users or ...
0
votes
0answers
8 views

Show image configurable product when search by size

When I search one product and filter by size in the search... the result not show the image of the product. So ¿its mandatory to add image for all size of product? What can I do so that when an ...
0
votes
1answer
56 views

Is it possible to use Magento 2.4 with Elasticsearch 6?

I know that Elasticsearch 6 is deprecated and we're supposed to use 7.6 or above, but I just went through the process of updating, only to find that my host (Cloudways) doesn't provide access to ...
0
votes
0answers
19 views

Magento 2: is it possible to automatically synonyms word get from product?

I do not want to add any search synonyms word or group here Marketing > SEO & Search > Search Synonyms. but synonyms word or group get from products. Is it possible automatically search ...
0
votes
1answer
70 views

Elasticsearch: Does search in frontend work that way?

I thought my Elasticsearch is configured correctly. 'Test connection' in the admin panel is successful and the quick search there shows many entries as dropdown, as you can see in the screenshot below....

1
2 3 4 5
15