Questions tagged [search-result]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
41 views

Customizing Magento 2.3.4 Search to Include Product 'Position' from Categories in Result Sorting

I'm working with a Magento 2.3 store and looking to customize the search result logic - fulltext search. Specifically, I want the search results to consider the "Position" attribute of ...
Magento Learner's user avatar
0 votes
1 answer
150 views

Magento 2.4 exclude categories in the catalog product search

I have to exclude some categories from the product search, I have tried many ways but I can't exclude specific categories, I know that a product can be set not to appear in the search result, but I ...
GStiven's user avatar
  • 41
2 votes
2 answers
162 views

hide SKU in search results

How to hide SKU in search results. i want to show only price and description only. i have try to edit this file vendor/magento/module-catalog/view/frontend/templates/product/list.phtml And remove ...
Bayzel's user avatar
  • 187
1 vote
0 answers
100 views

How to exclude category products from catalog search results

What's is the best approach to exclude some category products from search result based on category custom attribute
Anass Hl's user avatar
0 votes
3 answers
276 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 ...
Diego Zanotti's user avatar
0 votes
0 answers
70 views

Magento2 auto search suggestion display issue

Magento2 auto suggestion search result showing special characters any solution? https://i.stack.imgur.com/IUD6D.png
Abhi k's user avatar
  • 1
1 vote
0 answers
176 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 ...
Pradip Garchar's user avatar
2 votes
0 answers
144 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 ...
Vinod Kumar Clix's user avatar
1 vote
1 answer
63 views

Search bar giving results like query

Search results for specific words like "to" , "toy" giving results in suggestion like query.
hasan khan's user avatar
0 votes
2 answers
2k 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!
Purushotam Sharma's user avatar
4 votes
1 answer
3k 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 ...
Emipro Technologies Pvt. Ltd.'s user avatar
2 votes
0 answers
67 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?
TN98's user avatar
  • 931
2 votes
0 answers
33 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 ...
Raj Mohan's user avatar
  • 238
1 vote
0 answers
469 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 ...
Softec's user avatar
  • 2,065
7 votes
3 answers
2k 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: <...
Amir's user avatar
  • 221
2 votes
0 answers
956 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 ...
Banished geek's user avatar
0 votes
2 answers
2k 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 ...
Julian Murillo's user avatar
0 votes
1 answer
170 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.
nuwaus's user avatar
  • 2,314
1 vote
1 answer
23 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 ...
Alex Warren's user avatar
1 vote
1 answer
529 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?
Dipesh Rangani's user avatar
1 vote
0 answers
3k 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 ...
Atul Singh's user avatar
1 vote
1 answer
3k 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 ...
Blackpanther0001's user avatar
4 votes
1 answer
322 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 ...
Benghis Ghrant's user avatar
1 vote
3 answers
6k 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\...
Taral Patoliya's user avatar