Close

2 different product buttons in MegaMenu

xtsiliv
11 years ago
#1735 Quote
Avatar
  • 12
Hi!

i want to have two 2 different buttons each with different product items in nopshopAllTheme
i add this code in MegaMenu.cshtml

@Html.Raw(Model.CategoriesHtml) and i had 2 same buttons

i cant put other product categories in the second button. is it possible alla this? im new!!

Thanks!
IvanStoyanov
11 years ago
#1738 Quote
Avatar
  • 269
xtsiliv wrote:
Hi!

i want to have two 2 different buttons each with different product items in nopshopAllTheme
i add this code in MegaMenu.cshtml

@Html.Raw(Model.CategoriesHtml) and i had 2 same buttons

i cant put other product categories in the second button. is it possible alla this? im new!!

Thanks!


Hi xtsiliv,

It is possible but it needs a lot of customization. You need to customize the CategoryMenuTemplate.WithoutPictures.cshtml and CategoryMenuTemplate.WithPictures.cshtml views. The customization is quite hard to do and error prompt. The views are located in Plugins\SevenSpikes.Nop.Plugins.MegaMenu\Views\MegaMenu

PS: There is a setting for the Mega Menu Show categories in a single menu. If you uncheck it the Mega Menu will show a menu item for each top level category.

Ivan Stoyanov
Thank you for choosing our products! Your feedback is important to us!
xtsiliv
11 years ago
#1741 Quote
Avatar
  • 12
thank you!