Questions tagged [search-result]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5
votes
1answer
1k views

Problem in overriding ListProduct on search results

We have overwritten Magento\Catalog\Block\Product\ListProduct to be able to check if displayed products match a certain category. We have set the preference in our module /etc.di.xml like this: <...
4
votes
1answer
286 views

Want to like getCustomAttributes() to my own table

I have created an admin page with a specialised ui component, which renders my custom table "galleries", which has several field "gallery_id", "colour", "background colour" etc. When loading the ...
3
votes
1answer
2k views

Magento 2.3.1 - Issue with catalog search when using php7.2-fpm

When we search any string from the search text box, We have encountered a 500 server error into the search result page in our live web site or search page getting blank. When we check in logs or ...
2
votes
0answers
48 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
39 views

How to create custom tab in search results page magento 2 [closed]

i want search results page like this, and can switch the 2 tabs by clicking, how to make it?
2
votes
0answers
26 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
0answers
658 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 ...
1
vote
3answers
3k views

Magento2 sort products and search result by stock availability

I need to add an option in the Sort By dropdown which sorts the products with based on stock availability of the products. So far i have created a plugin for setCollection methodMagento\Catalog\Block\...
1
vote
1answer
398 views

How to can i change page column layout for search result page when result not available?

I want to make 1 column layout for search result page when result not available. How can i achieve this?
1
vote
0answers
16 views

Magento2 auto search suggestion display issue

Magento2 auto suggestion search result showing special characters any solution? https://i.imgur.com/o2qQboy.png
1
vote
0answers
57 views

Magento 2 : Parent product in result on searching child product sku

I am using magento version 2.3.3 My requirement is when i search with child product sku (which is visibility none) so parent (configure) product show in search result For example Parent product ...
1
vote
1answer
35 views

Search bar giving results like query

Search results for specific words like "to" , "toy" giving results in suggestion like query.
1
vote
0answers
240 views

Magento 2 - To show CMS pages in catalog result pages

How to show CMS pages in following format on catalog result pages. On Catalog search result pages, i want to show second section in the form of CMS pages after product list or grid based on searched ...
1
vote
1answer
22 views

Looking for a plugin for “0 results” pages [closed]

I'm looking for a plugin or extension that will be able to customize and show "realted products"/"best sellers" or catagories if there are no results found. Also be able to customize it with ...
1
vote
0answers
2k views

Modify magento 2 full-text catalog search and filters with my own set of products and filters

I have a set of SKUs which I want to display in the search result and the filters should be displayed according to my set of SKUs. For this I have override the Magento\Catalog\Model\Layer\Search ...
1
vote
1answer
2k views

Magento 2 Layered Navigation on Advanced Search Result Page

I am able to enable 'Layered Navigation' on Catalog Search Result-Page "http://127.0.0.1/catalogsearch/result/index/" (see image below) by just enabling the storefront properties 'Use in Search ...
0
votes
2answers
423 views

Magento 2 : How to check if we are on a search result page?

Is there a way to check that we are on search result page in Magento 2? Any help would be greatly appreciated!
0
votes
0answers
19 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 ...
0
votes
2answers
984 views

Magento 2.2.4 : Way to get search result url (including the parameter)?

Every time I type something something in the search bar, I get redirected to the following url: https://XXXXXX.com/catalogsearch/result/?q=typed_text_on_search_bar Is there a way to get the complete ...
0
votes
1answer
94 views

How to edit / remove tabs in search result page Magento 2

How can I edit or remove the tabs on top of the search result page? I want to show the categories just above the results grid without inside of a tab.