I have requirement where I need to come up with a webpart with a listbox where user will enter product name/s(multiple items should be allowed).
I am planning to create custom webpart with list box and button and on click of button, I will call SharePoint search query which in turn returns me the search results with required metadata info.
Now my question is how I can bind this results in SharePoint display template or how I can render this results?
Is it good idea to add the template in webpart or can I create new display template? If I create new template how I can map the results from search results?