This block is added via Twig Manager. Just like in OpenCart 3.x you can also modify the twig files directly from the admin panel.

Twig Manager

Twig is a powerful theme engine and is implemented in Opencart v3.x This means you have to create two different extensions to work on OC2.x and OC3.x or do you? We have created Twig manager so that you could develop your extensions in twig and then port them to OC2.x. Focus on development, not compatibility.

Q. How is the twig support implemented?

A. There is a small ocmod file that adds 2 lines of code to your system/engine/loader.php file. It checks if there is a twig file available for the rout and passes that file through the twig compiler. If it doesn't find a twig file, it falls back to .tpl.

Q. When I uninstalled twig manager, it broke my site. I see a 500 error!

A. Just clear the modification cache via FTP at system/storage/modification - delete all files. This happens when you delete the code but not the modification. In the latest versions, we added a check to avoid this error, in case such a delete happens.

Q. Can I use this in my development and sell my extensions with this module?

A. Absolutely. You are free to use this extension as you please. You can create and sell extensions using twig manager.

Q. Is support included?

A. Yes, we always help our users. Visit https://dreamvention.ee/support