Close

Showing the view all link in mega menu

haknesh
9 years ago
#8756 Quote
Avatar
  • 29
Hello,

When selecting the 'Manufacturer in grid(with pictures) in mega menu setting, you don't see the 'View all' link (standard). Is there a easy way to make this?

Thanks in advance.
Deni
9 years ago
#8766 Quote
Avatar
  • Moderator
  • 389
haknesh wrote:
Hello,

When selecting the 'Manufacturer in grid(with pictures) in mega menu setting, you don't see the 'View all' link (standard). Is there a easy way to make this?

Thanks in advance.


Hi, 

The link "View All" is not included in the "Manufacturers in grid" template, because this will break the styling. You can add it easily, by modifying this view: \Plugins\SevenSpikes.Nop.Plugins.MegaMenu\Views\MegaMenu\ManufacturerMenuTemplate.WithPictures.cshtml. Before the closing tag of the <div class="row-wrapper"> add this code:

<div>
  <a class="view-all" href="@Url.RouteUrl("ManufacturerList")" title="@T("SevenSpikes.MegaMenu.ViewAllManufacturers")">@T("SevenSpikes.MegaMenu.ViewAllManufacturers")</a>
</div>


I hope that helped.
Best Regards,
Mladen Staykov
Nop-Templates.com