Close

Pavilion 3.8 - Mega Menu Options are Gone

officialreseller
7 years ago
#12924 Quote
Avatar
  • 14
is there a way to display simple links (custom links) or individual manufacturers in the side menu?
anton_ivanov
7 years ago
#12929 Quote
Avatar
  • Moderator
  • 277
Hello,

In the following topic I have explained how to make Custom Links (or any other menu item) appear on the side menu in the Pavilion theme. Please check out this topic.

Hope that helps!
Regards,
Anton Ivanov
Nop-Templates.com
officialreseller
7 years ago
#12933 Quote
Avatar
  • 14
but then... using this... root-category-items for a manufacturer.. is showing it in the side menu.. but the problem is the url... url is always pointed to /manufacturer/all ... even though I'm just adding a single manufacturer... Is there a work around for this please?
anton_ivanov
7 years ago
#12936 Quote
Avatar
  • Moderator
  • 277
Hello,

You will just have to add specific manufacturers to your menu rather than the All Manufacturers Menu Item.
You can find information how to do that in our Documentation : Section Edit Menus -> Manufacturers.
Regards,
Anton Ivanov
Nop-Templates.com
officialreseller
7 years ago
#12937 Quote
Avatar
  • 14
Hi,

Can you please try it at  your end once. I tried specific manufacturer itself, but still it just points to all.
anton_ivanov
7 years ago
#12944 Quote
Avatar
  • Moderator
  • 277
Hello,

You are right, that this is a real issue. We have investigated the issue and have fixed it.
Usually, we tell our clients to update their plugins but since in this case the changes to the files are a few you can manually add them to your files and avoid all the work updating the plugins.

You will need to go to ~Plugins\SevenSpikes.Nop.Plugins.MegaMenu\Themes\Pavilion\Views\MegaMenu\MegaMenu.cshtml and on line 63 change the following code:

            if (item.Type == MenuItemType.Manufacturers)
            {
                item.Type = MenuItemType.ManufacturerList;
            }
            
            if (item.Type == MenuItemType.Vendors)
            {
                item.Type = MenuItemType.VendorList;
            }

with :

            if (item.Type == MenuItemType.Manufacturers && item.CatalogTemplate != CatalogTemplate.Simple)
            {
                item.Type = MenuItemType.ManufacturerList;
            }
            
            if (item.Type == MenuItemType.Vendors && item.CatalogTemplate != CatalogTemplate.Simple)
            {
                item.Type = MenuItemType.VendorList;
            }


Regards,
Anton Ivanov
Nop-Templates.com