O'Reilly logo

OpenCart 1.4 Template Design Cookbook by Tahsin Hasan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Changing header of module

We have placed our featured module on the left side of our store front. It has the default layout structure. In this recipe, we are going to change its layout structure.

Getting started

To change the layout structure, we will go to the OpenCart folder of our document root, that is, Xampp|htdocs. Then, we will go to our project folder. We will copy the module folder of the default template to catalog\view\theme\shop\template.In the catalog\view\theme\shop\template\module, we will see feature .tpl file. This one is for left/right column and if we set featured products on the middle of the homepage, there will be another file named feature-home.tpl. For now, we will change the featured tpl file for the left/right column. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required