nopCommerce Plugin Class Library Project Template
A simple class library project template to get started quickly with nopCommerce plugin development. This library contains basic content which are required for nopCommerce plugin like Description.txt, plugin configuration file etc.
In nopCommerce project, you just need to right click on Plugins folder and select Add => New Project option as shown below.
It will open up the project dialog. Project template is visible under Visual C# => Windows => nopCommerce menu as shown below.
Select the nopCommerce Plugin Class Library project, give it a name, click on browse button and select the nopCommerce project plugins folder and click on Ok button. After clicking on Ok button plugin project will be added under Plugins folder. This project contains files like Description.txt, default logo image, plugin setting file, a controller, a view and web.config file as shown below.
Build path for the project is also set to Nop.Web\Plugins folder and output path is also set for files like Description.txt, logo image, web.config and view. So that when you build a plugin, content of the plugin will get copied to Nop.Web\Plugins folder as shown below.
Note: You just need to change the version of nopCommerce in Description.txt file according to your nopCommerce project version. By default it is set as 3.70.
When you run the project and go to Plugins section in admin you will be able to see the plugin in admin section under Misc group as shown below.