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

Integrating HTML and CSS into the OpenCart theme

Once we've made our HTML and CSS ready by performing the preceding steps, we can move ahead to integrate them into our OpenCart theme. For this, we have to start by creating a new folder at catalog/view/theme location. We name it packttheme. Now we can start integrating them from the header, followed by the footer, modules and category pages, product page, and other pages.

Creating a new theme based on the default theme

So far, you've understood some general settings of an OpenCart theme. Now you are ready to create your own custom theme. As we know, OpenCart uses the MVCL pattern, so the view part is different from the core code. Therefore, we can find the OpenCart themes in the view folder. For ...

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