C# HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
NopPluginTemplateVsix/PluginTemplateVsix
Projects/Nop.Plugin.Misc.PluginExample
ScreenShots
.gitattributes
.gitignore
CHANGELOG.md
CONTRIBUTING.md
ISSUE_TEMPLATE.md
LICENSE
NopCommercePluginTemplateVsix.sln
README.md
appveyor.yml

README.md

nopCommerce Plugin Template For Visual Studio 2017

Build status

Download this extension from the VS Gallery or get the CI build.


nopCommerce Plugin project template for Visual Studio 2017. This project contains a simple class library project template to get started quickly with nopCommerce plugin development. It adds basic content which are required for nopCommerce plugin like Description.txt, plugin configuration file etc.

See the change log for changes and road

Project Template

In nopCommerce project, you just need to right click on Plugins folder and select Add => New Project option as shown below.

Add New Plugin Project

It will open up the project dialog. Project template is visible under Visual C# => nopCommerce menu as shown below.

Project Dialog Window

Select the nopCommerce Plugin Class Library project template, give it a name, make sure project location points to Plugins folder and then 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.

Project Content

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 plugin, content of the plugin will get copied to Nop.Web\Plugins folder as shown below.

Compiled Plugin Content

Note: You just need to change the version of nopCommerce according to your nopCommerce project version in Description.txt file. By default it is set as 3.90.

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.

Contribute

Check out the contribution guidelines if you want to contribute to this project.

For cloning and building this project yourself, make sure to install the Extensibility Tools 2017 extension for Visual Studio which enables some features used by this project.

License

MIT