Skip to content
OpenCart · User manual

Mobile Professional Framework

Version 3.0.0 Product page
Chapter 8

Troubleshooting

How to preview the mobile theme on a computer, and fixes for frequent problems with Mobile Professional Framework.

Previewing the mobile theme on a computer

Add demo=true to the address of a page of your shop, for example https://www.example.com/index.php?demo=true or index.php?route=product/category&path=20&demo=true. The page opens with the mobile theme on a computer. This works even while Status is off, so you can prepare the theme before showing it to visitors. The parameter applies only to that address: links you follow from it open the normal theme again.

You can also use the device mode of your browser's developer tools, which presents the browser as a phone.

Phones still see the normal theme

  • Check that Status and Status mobile (or Status tablet) are on, and save.
  • On OpenCart 1.5, 2.0 and 2.1, check that the line from the installation steps is in index.php, before // Front Controller.
  • Check that the modification files are installed: on OpenCart 1.5 in vqmod/xml/; on OpenCart 2.x in system/, followed by Refresh in Extensions > Modifications.
  • If the visitor chose the desktop version from the menu, the shop keeps showing the desktop version for the rest of their visit. They can return with the Go back mobile version button, or by opening the shop in a new browser session.
  • Clear any cache system of your shop or server.

An extension does not work in the mobile theme

The mobile theme has its own templates. An extension that adds files or code to the templates of your normal theme does not add them to the mobile theme. Add the CSS and JavaScript it needs in Custom HEAD code (see General and main menu). If that is not enough, open a support ticket with the name of the extension; adaptations are quoted separately.

A module does not appear on mobile

Turn it on in the Modules tab. Only modules placed on a layout of the normal theme are listed. See Appearance and modules.

The texts of the mobile theme are in English

The texts that belong to the mobile theme itself, such as Go up or Related Products, ship in English in the file catalog/language/english/perfect_mobile_template/default.php. To translate them, copy the file to the same path in the language folder of each of your other languages and translate the texts between quotes.

The shop stops working after installation

Usually the line added to index.php points to a file that was not uploaded. Check that system/library/perfect_mobile_template/init_configuration.php exists on your server. If it does not, upload the upload folder again, or remove the line from index.php.

On OpenCart 1.5, if a problem appears after installing, remove the two VQMod files from vqmod/xml/. On OpenCart 2.x, remove the three .ocmod.xml files from system/ and refresh Extensions > Modifications.

The module keeps asking for the licence

The licence check needs cURL and outgoing HTTPS access to devmanextensions.com. If the domain of the shop changed, the licence may be registered for the old domain. See Licence activation.

Getting help

If the problem continues, open a support ticket. Include your OpenCart version, your normal theme and the address of a page where the problem appears.

Still need help?

Open a support ticket from your account and our team will look at your store with you.