Skip to content
OpenCart · User manual

Mobile Professional Framework

Version 3.0.0 Product page
Chapter 2

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

  1. Download the extension from the Download Center.
  2. Back up your shop files and database. Test in a staging copy of the shop first when you have one.
  3. Unzip the download on your computer. It contains:
Folder or fileWhat it holds
uploadThe files of the extension, for every OpenCart version.
modifications/oc15xThe VQMod files for OpenCart 1.5, in a vqmod folder.
modifications/oc2xThe OCMOD files for OpenCart 2.x, in a system folder.
Install tutorial.txtA short version of these steps.

You need an FTP program and the FTP details of your hosting.

OpenCart 1.5

  1. Install VQMod if your shop does not have it yet.
  2. Upload the contents of the upload folder to the root folder of your shop, merging the folders.
  3. Open the file index.php in the root folder of your shop with a text editor. Find the line // Front Controller and add this line just before it:
require_once(DIR_SYSTEM . 'library/perfect_mobile_template/init_configuration.php');
  1. Save index.php and upload it again.
  2. Open the folder modifications/oc15x and upload its vqmod folder to the root folder of your shop. The two files go to vqmod/xml/.
  3. In the administration go to Extensions > Modules, find Mobile Professional Framework and click Install, then Edit.
  4. Validate your licence, review the settings and save them. See Licence activation.

OpenCart 2.x

  1. Upload the contents of the upload folder to the root folder of your shop, merging the folders.
  2. Open the folder modifications/oc2x and upload its system folder to the root folder of your shop. The three .ocmod.xml files go to system/.
  3. Only on OpenCart 2.0 and 2.1: edit index.php as in step 3 of the OpenCart 1.5 instructions. OpenCart 2.2 and later do not need this change.
  4. Go to Extensions > Modifications and click the Refresh button.
  5. 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.
  6. 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

  1. Download the new version from the Download Center.
  2. Back up your shop. If you added your own custom.css or custom.js, keep a copy (see Appearance and modules).
  3. Upload the upload folder and the modification files again, as in the installation steps, overwriting the old files.
  4. On OpenCart 2.x, refresh Extensions > Modifications.
  5. Open the module and click Save so that your settings are saved with the new version.

Uninstalling

  1. Open the module, turn off Status and save. Phones and tablets now see your normal theme.
  2. Remove the modification files: on OpenCart 1.5, delete the two devmanextensions_perfect_mobile_template files from vqmod/xml/; on OpenCart 2.x, delete the three devmanextensions_ .ocmod.xml files you uploaded to system/ and refresh Extensions > Modifications.
  3. 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.
  4. 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.