Opencart modification only for admins
I’m trying to create an ocmod for the admin panel. Basically, I want to add 2 buttons in the dashboard sidebar but only visible for users with administrator permissions.
I’m trying to create an ocmod for the admin panel. Basically, I want to add 2 buttons in the dashboard sidebar but only visible for users with administrator permissions.
I am making changes in my theme templates in OpenCart 3. Due to template caching I have to clear cache every time under “storage/cache” directory. It is very annoying when working and previewing changes frequently during development. Please provide some solution how we can configure caching according to production and development environment.