Close

Customize instant search to show results with manufacturer priority levels

AcMaxSop
8 years ago
#11855 Quote
Avatar
  • 1
Hi, Our company buy the traction theme, i'm in charge to build the homepage for sales, but i need to know how can i customize the instant search widget for showing results with manufacturer priority levels, not just show the items in real time based in the name of the product or something.we need to write words of a product in the box and see products of our best manufacturer and go down priority.
iliyan.tanev
8 years ago
#11861 Quote
Avatar
  • 347
Hi,

To achieve this you will have to modify the nopCommerce source code. We are using the SearchProducts method in the ProductService (it is located in Nop.Services/Catalog), so you will need to add your ordering logic in there.

I suppose that you will need another sorting option as well, which you can add in the ProductSortingEnum located at Nop.Core/Domain/Catalog.

Hope this helps!
Regards,
Iliyan Tanev
Nop-Templates Dev Team