Friday, October 14, 2016

How to create and install new opencart theme

OpenCart is free open source ecommerce platform for online merchants.

Create and install new opencart theme is very easy just follow these few steps.


Create new folder NewTheme on catalog/view/theme/, the folder tree will be like this:

catalog/view/theme/
|-> default
|-> NewTheme


Make folder and copy some files from default theme, but DO NOT copy all files. Follow this folder tree:


catalog/view/theme/
 |-> default
 |-> mytheme
     |-> image/*.* - copy all image
     |-> stylesheet/*.* - copy all stylesheet
     |-> template
          |-> common
                  |-> header.tpl

Very important otherwise the theme will not work !!!
Now open header.tpl with text editor. Search word default and replace with Newtheme Refresh your frontpage, and everything should be the same as when you used the default theme. To get different visual like changing color etc, you can modificate mytheme/stylesheet/stylesheet.css

No comments:

Post a Comment

Namecheap.com