manojkulkarni30 / nopCommercePluginTemplate2017

nopCommerce Plugin Project Template For Visual Studio 2017

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

nopCommerce Plugin Project Template For Visual Studio 2017

License:MIT License


Languages

Language:C# 45.2%Language:HTML 36.0%Language:CSS 18.8%