How does this work in WP terms? Are stores users and authors of the products? If that’s the case, then this is fairly straightforward.
You can use the relevanssi_hits_filter hook to go through all the posts in the results. You can take the author of each post ($post->post_author has the author ID), store it in a global variable and then display that list the way you want on the search results template.
Thread Starter
pctec
(@pctec)
Thank you very much for your quick response. I see that relevanssi is more oriented to programmers and not to the common user, who are far away from having to do everything by code.
95% of Relevanssi use cases work out well without code, but the rest is built with developers in mind, providing very comprehensive coding support. It’s impossible to provide no-code solutions for all possible fringe cases, especially as what you want here is something that goes beyond the scope of Relevanssi – Relevanssi couldn’t modify your search results template in any case, so either it takes code or your theme would have to have this feature built-in (it could, with or without Relevanssi, so perhaps you can ask your theme’s developers to add this feature?).
If you are interested in getting this feature, consider hiring a developer – a skilled WP developer should be able to do this in 30 minutes.