Best eCommerce Hosting Tips - Adding a Menu Item into Administration Area in nopCommerce from a Plugin
Ethan Jackson 02:43
If you’re a nopCommerce developer, you’ll end up using nopCommerce plugins in your Best nopCommerce Hosting to add your custom features into the nopCommerce to support your online store. Whereas nopCommerce IAdminMenuPlugin doesn’t enable to feature your custom menu things beneath its default menu items, you'll still add your custom menu items into Plugins menu.
Administration menu is build from the Sitemap.Configuration file that is found in Nop.Admin folder. To add your custom menu items in nopCommerce administration panel, you'll add it by extending SitemapNode class of nopCommerce.
To do constant, you'll use following sample code that you wish to add in your plugins’ cs file, once your plugin’s Install and Uninstall technique.
In the on top of code, you'll notice comments wherever you wish to switch values betting on your needs. Moreover, the above code additionally explains however you'll add a child menu items within main menu.
After finishing the guidelines mentioned above, if you continue to have a ecommerce web host in your mind, then it ought to be worth trying. Or if you currently feel confused and want some suggestion, then you'll read our previous article regarding nopCommerce hosting recommendation.