user916520
user916520

Reputation: 39

How to add menu in Header Category menu in NopCommerce 2.20

friends

I am developing Perfume Gallery Store for that I am using NopCommerce 2.20

and In that store there are already some menus are present like Home | Contact Us | ...I want to add some more menus like Men | Women | Brands etc.

these nopcommerce 2.20 is developed in MVC 3

so please help me to add more menus in already existing menu bar.

Upvotes: 1

Views: 2614

Answers (2)

yogihosting
yogihosting

Reputation: 6292

For nopcommerce 3.30 and greater, edit 'Views>Catalog>TopMenu.cshtml'

Upvotes: 0

Abhishek B.
Abhishek B.

Reputation: 5202

You have to add some menues by adding menu in C# code.
there is one user control (it will be HeaderMenu usercontrol) that used to render menu. find usercontrol and goto C# code and add more menus.

you can add this to the Modules/HeaderMenu.ascx something like this.. may be use directly by adding code

<li><a href="<%=Page.ResolveUrl("YourLink")%>">
       <%=GetLocaleResourceString("Content.YourPage")%></a> </li>

ThanKS

Upvotes: 1

Related Questions