Staging Themes

Multiple themes can be installed on your Maropost Commerce Cloud site, but only one will be your live theme. Other installed themes are often referred to as "staging themes". It is good practice to make any major changes to your website on a staging theme first. This allows you to preview the changes before setting them live and easily roll back to your previous theme if needed.

Create a Staging Theme

To create a staging theme:

  1. Connect to your site using SFTP and navigate to the following path:

    /httpdocs/assets/themes

    This folder contains a list of themes installed on your site.

  2. To create the new theme, you can either:

    • Duplicate your live theme's folder (and all its contents) with a new name.
    • Upload a theme from your local machine.

    You can name your staging theme anything you like, but best practice is to include the year and month the staging theme was created, the original theme's name, and some information of what was changed. Examples of good staging theme names would be:

    • 2018-09-skeletal-homepageredesign
    • 2018-12-bespoke-00123456 (when Maropost Commerce Cloud designers create staging themes, the support or design case number is often included for reference)

Preview a Theme

To preview any theme installed on your site (without setting it live), you can use the nview query string.

https://my-site.neto.net.au/?nview=[THEME-NAME]

For example:

  • https://my-site.neto.net.au/?nview=2018-09-skeletal-homepageredesign
  • https://my-site.neto.net.au/?nview=2018-12-bespoke-00123456

Return to Viewing your Live Theme

The nview configuration will be saved against your browser session as a cookie. You will continue to view your site using the theme specified until you reset the nview for your browser.

To reset the nview configuration for your browser session and resume viewing your live site, specify an empty nview query string on the end of your URL like below:

https://my-site.neto.net.au/?nview=

Set your Staging Theme Live

You can set a staging theme live from the Webstore Settings page using the Site template set dropdown menu. Detailed instructions on how to activate a new theme can be found here.

Was this article useful?

Be notified when this page is updated. Optional.