Rearrange the menu

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 anos atrás
default nopcommerce menu i want to add plugin menu ,

In catalog:-

Is it possible to move “Series & Journals” and “Contributors” under “Products”?
7 anos atrás
Chirag.Jasani wrote:


In catalog:-

Is it possible to move “Series & Journals” and “Contributors” under “Products”?

I'm not sure, what you're talking about! because we cannot see your screen neither we've access of your project.
Please, explain your scenario, and what you want exactly.

For the question you've asked, I've short answer, Yes it's possible!
7 anos atrás
Hello,

If you are using our Mega Menu plugin you can rearrange your menu. If “Series & Journals” and “Contributors” are categories you will automatically have them under the "Products" menu item and if they aren`t you will have to create your own Menu Item and nest them under that menu item.

You can check out our documentation for more information on how to set up the plugin.

Hope that helps!

Regards,
Anton
7 anos atrás
// Add menu to catalog menu
            var seriesjournals = new SiteMapNode()
            {
                SystemName = "Nop.Plugin.PubNiche.Catalog.PubNicheSeriesandJournals",
                Title = "Series & Journals",
                ControllerName = "PubNicheSeriesandJournals",
                ActionName = "List",
                Visible = true,
                IconClass = "fa fa-dot-circle-o",
                RouteValues = new RouteValueDictionary() { { "area", null } },
            };

            var contributors = new SiteMapNode()
            {
                SystemName = "Nop.Plugin.PubNiche.Catalog.PubNicheContributor",
                Title = "Contributors",
                ControllerName = "PubNicheContributor",
                ActionName = "List",
                Visible = true,
                IconClass = "fa fa-dot-circle-o",
                RouteValues = new RouteValueDictionary() { { "area", null } },
            };

            var pluginNode = rootNode.ChildNodes.FirstOrDefault(x => x.SystemName == "Catalog");
            if (pluginNode != null)
            {
                // store wise plugIn check that it is enable or not                
                if (_setting.PubNicheCatalogEnabled)
                {
                    pluginNode.ChildNodes.Add(seriesjournals);
                    pluginNode.ChildNodes.Add(contributors);
                }                
            }

this is my code for adding link in menu but "Series" And "Contributor" Link created at Last so i Won't to change position.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.