Disable template caching for development in OpenCart 3

后端 未结 8 592
我寻月下人不归
我寻月下人不归 2020-12-02 01:41

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

8条回答
  •  感情败类
    2020-12-02 02:04

    This is similar to Scott's answer but just on the database/backend. In case you can't rely on the UI and can only access the DB (like me, I'm messing up with the UI) it's on settings table search for 'developer_theme' key and set it to false or 0.

    UPDATE `oc_setting` SET `value` = '0' WHERE `oc_setting`.`key` = 'developer_theme';
    

提交回复
热议问题