Close

Adding Category names to dropdown

guclu
7 years ago
#12552 Quote
Avatar
  • 6
Hi ;
I wantto modify .cshtml file of InstantSearch in otrder to add category names to dropdown list.

What I want to do is;
when you search for keyword book;
Iwant to list in doropdown
-Lord of the Rings
-Guilty
-books (category name)

When user clicks books I want to redirect to books category.

Is it possible?
If We have the InstantSearchModel fileds list maybe I can add category manualy.
Boyko
7 years ago
#12570 Quote
Avatar
  • Moderator
  • 1570
guclu wrote:
Hi ;
I wantto modify .cshtml file of InstantSearch in otrder to add category names to dropdown list.

What I want to do is;
when you search for keyword book;
Iwant to list in doropdown
-Lord of the Rings
-Guilty
-books (category name)

When user clicks books I want to redirect to books category.

Is it possible?
If We have the InstantSearchModel fileds list maybe I can add category manualy.


Hi guclu,

Please note that the Nop Instant Search plugin searches only for products and not categories.
So you can't have categories as part of the search results.
Regards,
Nop-Templates.com Team