Upgrade

IMPORTANT!

It is recommend to always backup your system before making any upgrades or changes. A database backup is highly advisable.

Upgrade OpenCart

Firstly, make sure Pavilion supports the OpenCart version you want to upgrade to. The Pavilion package itself does not upgrade your OpenCart installation to higher version.

The .zip archive from themeforest contains only Pavilion related files. If you want to upgrade to higher OpenCart version, you must download the new OpenCart update from the official OpenCart site and then apply it (don’t forget to run /install/upgrade.php, after you put the new OpenCart files).

It is recommended to disable the Pavilion theme (select the default theme) while upgrating to newer OpenCart version. Follow this link for more thorough explanation on how to upgrade Opencart.


Upgrade Pavilion

Download the latest version of Pavilion from your themeforest account. Make sure it supports the OpenCart version you are currently using.

To upgrade is similar to the installation step 1 – unzip the downloaded package and re-upload the files to the root OpenCart directory, overwriting the existing ones.

Do not forget to clear the cache (if it is turned on) from the admin panel after upgrade. It is also recommended to re-save the admin panel settings after upgrade.

OpenCart 2.0.x theme OC mod update

1) Go to Admin > Modifications and delete the “Pavilion theme” modification.

2) Go to Admin > Extension Installer and reinstall the theme modification. You can find it in Theme Package/OpenCart_v2.0.x/tb_themes/pavilion/config/data/theme.ocmod.xml

3) Go back to Admin > Modifications and click on the “Refresh” button.


General Hints

If you have done custom modifications to the theme and you don’t want to re-upload and overwrite all of the files, you can take a look at the files changelog. You could copy only these files which have been changed since your last update. If you have hard times comparing and updating the changed files, check how you can easily compare two files.

If you want to upgrade OpenCart and Pavilion at once, you must first upgrade OpenCart and then Pavilion. After upgrading OpenCart, make sure everything works fine with the default theme. This will help you to distinguish the eventual OpenCart issues from Pavilion issues.