Installation
Mobile Professional Framework is installed by copying its files to your shop by FTP and installing the module. This chapter covers OpenCart 1.5 and 2.x, updating and uninstalling.
Before you start
- Download the extension from the Download Center.
- Back up your shop files and database. Test in a staging copy of the shop first when you have one.
- Unzip the download on your computer. It contains:
| Folder or file | What it holds |
|---|---|
upload | The files of the extension, for every OpenCart version. |
modifications/oc15x | The VQMod files for OpenCart 1.5, in a vqmod folder. |
modifications/oc2x | The OCMOD files for OpenCart 2.x, in a system folder. |
Install tutorial.txt | A short version of these steps. |
You need an FTP program and the FTP details of your hosting.
OpenCart 1.5
- Install VQMod if your shop does not have it yet.
- Upload the contents of the
uploadfolder to the root folder of your shop, merging the folders. - Open the file
index.phpin the root folder of your shop with a text editor. Find the line// Front Controllerand add this line just before it:
require_once(DIR_SYSTEM . 'library/perfect_mobile_template/init_configuration.php');- Save
index.phpand upload it again. - Open the folder
modifications/oc15xand upload itsvqmodfolder to the root folder of your shop. The two files go tovqmod/xml/. - In the administration go to Extensions > Modules, find Mobile Professional Framework and click Install, then Edit.
- Validate your licence, review the settings and save them. See Licence activation.
OpenCart 2.x
- Upload the contents of the
uploadfolder to the root folder of your shop, merging the folders. - Open the folder
modifications/oc2xand upload itssystemfolder to the root folder of your shop. The three.ocmod.xmlfiles go tosystem/. - Only on OpenCart 2.0 and 2.1: edit
index.phpas in step 3 of the OpenCart 1.5 instructions. OpenCart 2.2 and later do not need this change. - Go to Extensions > Modifications and click the Refresh button.
- Install the module: on OpenCart 2.0 to 2.2 go to Extensions > Modules; on OpenCart 2.3 go to Extensions > Extensions and choose Modules. Find Mobile Professional Framework and click the install button, then the edit button.
- Validate your licence, review the settings and save them. See Licence activation.
After installing
The mobile theme is shown only when the main Status switch is on, together with Status mobile, Status tablet or both. Turn them on in the General tab and save. See General and main menu.
Updating from an earlier version
- Download the new version from the Download Center.
- Back up your shop. If you added your own
custom.cssorcustom.js, keep a copy (see Appearance and modules). - Upload the
uploadfolder and the modification files again, as in the installation steps, overwriting the old files. - On OpenCart 2.x, refresh Extensions > Modifications.
- Open the module and click Save so that your settings are saved with the new version.
Uninstalling
- Open the module, turn off Status and save. Phones and tablets now see your normal theme.
- Remove the modification files: on OpenCart 1.5, delete the two
devmanextensions_perfect_mobile_templatefiles fromvqmod/xml/; on OpenCart 2.x, delete the threedevmanextensions_.ocmod.xmlfiles you uploaded tosystem/and refresh Extensions > Modifications. - If you added the line to
index.php, remove it. Do this before deleting any file of the extension: while the line is there, the shop needs the file it loads. - Uninstall the module in the Modules list.
Still need help?
Open a support ticket from your account and our team will look at your store with you.