I want to know how to make a custom admin panel page in opencart.
Requires login with the controller - the admin panel does not seem to use the same controller as the normal site. I know how to make custom pages with opencart (but this is not for the admin)
A simple Hello World example would be great
The path names have changed in OpenCart 2 - you will want to create
admin/controller/extension/module/hello.php admin/language/en-gb/extension/module/hello.php admin/view/template/extension/module/hello.tplThen the route becomes
I found out how to do this. OpenCart uses the MVC pattern. I recommend reading about How to be an OpenCart Guru? post about learning how the system works - this Admin workflow should also suffice for customer end.
1) Create a new file in
Your filename and controller name should be the same in desc order:
2) Create a new file in
3) Create a new file in
4) You then need to enable the plugin to avoid permission denied errors:
Select and Enable the Access Permission.
To visit your page go to