Documentation
Back to website >

How to install a nopcommerce theme

How to install a theme - NopCommerce version 4.0 and above

  1. Go to Configuration -> Plugins and click the Upload plugin or theme button
  2. 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.
  3. Click on the Upload plugin or theme button
  4. After the plugins finish uploading find the Seven Spikes Core plugin and click Install. 
  5. Install all other SevenSpikes plugins.
  6. Find Nop Theme Name plugin and click Install.
Note: If you are using the Nop Ultimate Theme Collection you will need to unzip the downloaded zip file and upload the packages for each theme separately.
Note: If you are planning to use more than one theme on your store you will need to manually upload our products to your store like described in HOW TO INSTALL A THEME - NOPCOMMERCE VERSION 3.90 AND BELOW.
Note: The Core plugin has to be installed before you can install any other plugins and the Theme plugin has to be installed last as it contains theme specific settings that override some of the other plugins settings.
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.

Now your theme is ready to be used and you can set it as the current theme of your store.

How To Install A Theme - nopCommerce version 3.90 and below

When you download a theme from Nop-Templates it comes in a zip package with the name of the theme and the exact product version i.e NopThemeName_X.X.YYY.ZZZZZ.zip.

Product version - NopThemeName_X.X.YYY.ZZZZZ.zip i.e NopThemeName_3.7.100.13000.zip

  • X.X - corresponds to the nopCommerce version i.e 3.7 means nopCommerce version 3.7.
  • YYY - corresponds to the Build number i.e 100 means internal build number 100.
  • ZZZZZZ - corresponds to the revisions i.e 13000 means revision 13000.

You need to extract the NopThemeName_X.XX.YYY.ZZZZZ.zip file.
There are two important folders -  Plugins and Themes.

Copy the content of the Plugins folder into the Plugins folder of your nopCommerce installation. This folder contains all the plugins that come with the theme as well as the plugin for the theme.

Copy the content of the Themes folder into the Themes folder of your nopCommerce installation. This folder contains the actual theme files like images, fonts, css, javascript and razor files.

Note: If you are using the source code version of nopCommerce you need to copy the content of the above two folders into Presentation\Nop.Web\Plugins folder and Presentation\Nop.Web\Themes folder.

 Now login to your website and go to the Administration to install all the plugins that come with the theme and the theme plugin.

  1. Go to Configuration -> Plugins and click Reload list of plugins.
  2. Find Seven Spikes Core plugin and click Install. 
  3. Install all other SevenSpikes plugins.
  4. Find Nop Theme Name plugin and click Install.
Note: The Core plugin has to be installed before you can install any other plugins and the Theme plugin has to be installed last as it contains theme specific settings that override some of the other plugins settings.

Now your theme is ready to be used and you can set it as the current theme of your store.

How to use theme demo data

First, you will need the demo data. You can download it for any theme:

  1. Go to My Downloads page
  2. Select the version for your theme
  3. Click on the DEMO DB button under Downloads

After you have the theme demo data you need to do the following things:

Let's say you already have nopCommerce up and running and you have installed the theme as per the instructions in the documentation.

Now you want to make your web site to point to the Demo Database to see how it is setup.

You need to do the following steps:

  1. Create a new database i.e DemoDatabase.
  2. Restore the backup into the DemoDatabase. You can achieve that through software like Microsoft SQL Server Management Studio for example. Some hosting providers have a feature for restoring a database from .bak file with a few clicks (check with your hosting provider).
  3. In your nopCommerce installation find the App_Data folder.
  4. Backup the appsettings.json (dataSettings.json or Settings.txt file in nopCommerce 3.9 and below), so that you can later restore to your store database. Then modify the appsettings.json (dataSettings.json) file by changing the name of the database to DemoDatabase.
  5. Backup the plugins.json file, so that you can later restore the same plugins of your store database. Then delete the plugins.json file and add plugins.json (or installedPlugins.json) from the demo database package. This is needed so that the upgrade database migrations are run properly.

Now when you restart nopCommece it will load the data from the DemoDatabase.

You can see how the various plugins are set up and make the same setup (if you want) in your store.