Essentially, we are trying to create similar functionality to the search results of this website:
[url removed, login to view];x=0&y=0
As you can see, when searching for "HDMI Cable" the results include, not only the items that contain the phrase HDMI cable, but the categories that contain items with that phrase also. This just makes it easier for a customer to find the product or related products (in same category)
The intention is that if a user searches for a product using a keyword, the search will first show all categories that contain products matching the keywords to make it easier to find.
The 2nd function we are requesting is that the individual results listed below the categories are grouped and organized by the category they are contained in. This will just make it easier for the customer to find what they are looking for, rather than one big list of items.
The results should be styled to match the attached screenshot as close as possible in design.
Also, note the "see all items in this category" buttons - this should take the user to all the full product listing page for the corresponding category
Please mail with any questions or for clarifications