cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.4 catalog search search for products by name attribute only

Magento 2.4 catalog search search for products by name attribute only

Hello, I need help. If you can help me I would really appreciate it. I need the magento search engine to only take into account the "name" attribute to perform the search, could someone help me please?

I found a way to modify the search parameters with the file "vendor/magento/module-catalog-search/etc/search_request.xml", but I can't find how to pass it to a module and modify it.

 

Thank you for your attention if you help me I will be very grateful