Start by creating a controller, view and a language file for your theme in the admin
https://github.com/opencart/opencart/blob/master/upload/catalog/controller/event/theme.php#L13 not obvious as theu use "theme_default" everywhere and say that to create a theme you have to duplicate the default theme. so you start duplicating it as theme_example and in the end it turns out that they hardcoded a condition to rename "Theme_default" to default you should've called your theme just "Example"
No comments:
Post a Comment