O'Reilly logo

OpenCart Theme and Module Development by Rupak Nepali

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

The category page

In this section, we will describe the code of the category page.

Hover over Desktops, which shows a dropdown, and click on the See All Desktops category link in the top menu. You will see something like this:

The category page

Now go to catalog/view/theme/default/template and copy the product folder. Then go to catalog/view/theme/packttheme/template and paste the product folder there. We have done this because we are going to change some things in the product folder's files, such as category.tpl, product.tpl, search.tpl. You should always create a copy of the files to which you wish to make the changes. After creating the copy, open catalog/view/theme/packttheme/template/product/category.tpl ...

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