Hello,
I need to show the result of the research based on a customer attribute.
I've done this for the catalog, but I can't find the way to do it for the search result.
I tried to override Result.php, ListProduct.php and Layer.php from the magento_catalog_search module.
In the result.php, if I dump the result (after adding my filter thanks to addAttributeToFilter), it shows me the right result, but only as a dump (only array data, it doesn't affect the layout or the number of result in layered navigation.
How can I do that ?