Posted In: Tutorials


How to display hidden column left, column right in mobile

February 4, 2015 - By 

By default, in the default theme of OpenCart 2, the column left and column are hidden in mobile.

You can see it in this demo in your mobile: The category menu is lost. It is too confusing for us.

Don’t worry about that. You can follow this guide to display them on mobile:

Step 1: Install our own extension Custom JavaScript

Step 2: Go to admin > System > Settings > Edit store > tab Custom JavaScript and add code below:

 Step 3: Check on your mobile again. The problem will go away.

Hope that the developer of OpenCart will fix it in the next version.


Extra Positions for the default theme of OpenCart 2

February 4, 2015 - By 

The default theme of OpenCart 2 has 4 built-in positions: Content Top, Content Bottom, Column Left, Column Right. It is hard for us to display products and another things like banner, slideshow, … complexly. For example if you want to display a fullwidth slideshow after the top menu, this task can not be done with the 4 positions.

To improve it, viethemes has just created a free extension Extra Positions which add more positions to the default theme:

– Header Top
– Menu
– Promotion
– Footer Top
– Footer Content Top
– Footer Content Bottom
– Footer Bottom

See it in action here:

If you like it, you can download Extra Positions on

If the above positions does not meet your need, please note that viethemes also created a premium extension Extra Positions PRO to add more positions than Extra Position.

Hope with this extension, you can set up your site layout complexly.


How to fix error SyntaxError Unexpected end of input OK when editing order in OpenCart 2

February 1, 2015 - By 

Recent days I have encountered many reports about the error SyntaxError: Unexpected end of input OK when editing order in OpenCart 2. The error looks like as image below:


Read More


Explore Extension Installer & Modification System of OpenCart 2

February 1, 2015 - By 

OpenCart 2 was released with many new awesome features. Now it is the time for us to investigate inportant features of OpenCart 2 closer. In this post I will introduce about Extension Installer & Modification System.

1. Extension Installer

In OpenCart 1, when you want to install extension you have to use FTP client or CPANEL to upload files of extension to your site. This is complicated for us, right?

OpenCart 2 added the functionality Extension Installer to help us with this problem. This functionality allow us to upload extension and install it directly.

Extension Installer will accept two types of extension: Single Extension and Package Extension.

Single Extension

Single Extension is a xml file which follows the structure of OCMOD and the name of file has the extension .ocmod.xml.
Read More


Live Theme Editor – Change text color, background color & image, font of the OpenCart 2 default theme

February 1, 2015 - By 

OpenCart 2 has just released on October 2014. So there are not many of themes which support OpenCart 2. But you still want to use OpenCart 2 because it has many new awesome features to improve your online business.

Don’t worry about that, viethemes has just created a extension Live Theme Editor to help you customize the default theme of OpenCart easily.


Live Theme Editor extension customizes the OpenCart theme completely with key features below:
– Powerful live preview
– Boxed layout & full width layout support
– Custom copyright
– Change colors, background images, fonts completely
– Custom CSS
– Custom JavaScript
– Multi-stores support
– RTL support

Read More