Documentation
Back to website >

How to update a plugin

Once you download your plugin package from Nop-Templates.com and install the plugin in your nopCommerce store, you might need to update the plugin at some point later for the same nopCommerce version.

Why should you need to do this?

When there are any bug fixes or new improvements to one of our plugins we do release a newer version for it. The new version of the plugin is included in the downloadable package of the plugin available on our web site. This means that if you download the zip package again from our web site you will find the very latest version of the plugin with all the latest bug fixes and improvements.

How to do the update? - Version 4.0 and above

Once you have downloaded the latest package you need to update your plugin installation following the steps below. Lets assume you want to update the Nop Anywhere Sliders plugin and that you haven't done any modifications to the Razor views and the styling of the plugin. 

Please note: If you have changed any of the Razor views (.cshtml) files or the styling (.css) files or images then you need to back up and then merge them after step 5.
  1. Go to Administration -> Configuration -> Plugins -> Local Plugins
  2.  Click on the Upload plugin or theme button
  3. A popup will appear asking you to choose a file to upload. Click on the Choose File button, navigate to the downloaded zip file and select it.
  4. Click on the Upload plugin or theme button.
  5. Restart your website, so that the new version is loaded and used by your nopCommerce installation.
Note: In some cases you might also need to modify your Global.asax file by adding some extra empty spaces in it and save it. 
Note: When uploading the plugin packages directly through the nopCommerce administration your old plugin files be deleted before the new ones being uploaded. This means that all of your code changes to our code will be lost. We suggest you back up your old files before uploading the new ones.
Note: After you upload the new plugin's package you can merge any code modifications you did to our products. 
Note: It is not recommended to use the Upload plugin or theme functionality in nopCommerce 4.00 if you are hosting your web store in Azure. You can find more information here.

After the update, your nopCommerce installation will load and use the latest version of the Nop Anywhere Sliders plugin.

Please note that this update will not modify your existing data. For example if you have already created any sliders or have translated some resources they will not be affected.

 

How To Do The Update? - version 3.90 and below

Once you have downloaded the latest package you need to update your plugin installation following the steps below. Lets assume you want to update the Nop Anywhere Sliders plugin and that you haven't done any modifications to the Razor views and the styling of the plugin. 

Please note: If you have changed any of the Razor views (.cshtml) files or the styling (.css) files or images then you need to back up and then merge them after step 4.
  1. Go to the Plugins folder of your nopCommerce installation.
  2. Delete the SevenSpikes.Core and SevenSpikes.Nop.Plugins.AnywhereSliders folders.
  3. Copy the same folders from the latest package and paste them in the Plugins folder.
    Note:  Always delete and copy the new folder of the Core plugin !
  4. Restart your web site, so that the new version is loaded and used by your nopCommerce installation.
  5. Optional: Now merge any changes you have done into the Razor views, css or images.
Note: In some cases you might also need to modify your Global.asax file by adding some extra empty spaces in it and save it. 

After the update your nopCommerce installation will load and use the latest version of the Nop Anywhere Sliders plugin.

Please note that this update will not modify your existing data. For example if you have already created any sliders or have translated some resources they will not be affected.