Close

How To Modify Manufacturers Link Dropdown Content?

nopadmin
9 years ago
#9496 Quote
Avatar
  • 13
Just a quick question - I have a client who is using the shop all theme, and he wants to replace the manufacturer dropdown on the menu and instead show 'Shop By Industry' text on the link and display Industry labels which are embedded in Product Tags, such as 'Medical' or 'Gifts' or 'Building',etc.   Is there a way to do that without source code or will we need to come up with a workaround?
iliyan.tanev
9 years ago
#9497 Quote
Avatar
  • 347
Hi,

Can you give us a concrete example ? 
We will appreciate a screenshot that shows the changes you want.

Thank you!
Regards,
Iliyan Tanev
Nop-Templates Dev Team
nopadmin
9 years ago
#9501 Quote
Avatar
  • 13
Sure please see this example here
hristian.dimov
9 years ago
#9524 Quote
Avatar
  • Moderator
  • 386
nopadmin wrote:
Sure please see this example here


Hi,

This is not available out of the box. The only way of doing this is to customize the MegaMenu.cshtml file. 

You can call @Html.Action("YourAction", "YourController", Model.YourModel) and this should return a view which will display the Industry labels with the appropriate markup. You can take for example, the manufacturers markup from ManufacturerMenuTemplate.WithoutPictures.cshtml.

Hope this helps!
Regards,
Hristian Dimov
Nop-Templates.com
nopadmin
9 years ago
#9533 Quote
Avatar
  • 13
Hi, thank you for the update on how to accomplish this objective.   

Kind Regards
Shawn