Hello. I work with a fresh version of opencart. The task is simple - to create your own design, faced the following problem: when you change the .twig file (for example, header.twig), nothing changes on the site itself. By typing, I determined that after changes in the file, you need to go to the "template editor", open the edited file there, save and only then something changes on the site. As you understand, the process is time-and neuro-costly. Apparently, there is something that writes changes to the database, and from there it loads the site later. I dont know. Has anyone come across? Know the solution or can disable this functionality as possible?
1 answer
To solve this problem, you must disable caching of template files (.twig). Link with detailed instructions
|