M
M
Muvka2018-04-14 13:56:35
opencart
Muvka, 2018-04-14 13:56:35

How to properly change the OpenCart 3 theme?

Hello. I'm making my own theme for the store. I have a question - how to edit twig files correctly. The problem is that if you turn off the cache, then the changes to the page are applied, but when I turn it back on, all the changes I made disappear. Manual cleaning of the cache folder helps. But at the same time, in the admin panel in the templates, my changes are not applied. Do I understand correctly that you need to manually edit the twig file, and then go to the admin panel in the template editor and copy the code from twig to the appropriate template? I hope my question is not too confusing...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Lyskov, 2018-04-14
@Vlatqa

sort of like settings -> add-ons, the cache is cleared there,
you can also disable the cache for development time, in config.php comment out the line with DIR_CACHE

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question