Opencart .twig File Not Showing Changes
Solution 1:
In OpenCart 3.0.2.0 there is button with a gear icon in admin dashboard. It open up a modal that allow you to clear cache or disable cache.
Solution 2:
First of all, Its better to use the OC's builtin Theme Editor
to make any change in any template file. In-case you want to change something directly using FTP Client or a file-manager, you must know the OpenCart Structure a little :-)
Anyway, bellow are the few things that can be helpful for anyone looking for the solution.
1) You have enabled the cashing, you can clean it as described by @DigitCart - Alternatively, you can clear all the files in following folder YOUR_STORAGE_DIRECTORY/cache/*
(Don't remove the cache folder)
2) Probably you are trying to make change in a file that is modified previously by an Extension, You can find the modified files under YOUR_STORAGE_DIRECTORY/modification/*
You can make a small extension and install it through Extensions > Installer
to make changes in these files. OR, you can change these files directly via FTP, but its not recommended.
Solution 3:
Sometimes, depending on the file you want to edit, you have to Rebuild The Modification Cache. Simply go to Extensions -> Modifications, and click the "Refresh" button at the top of the panel.
Post a Comment for "Opencart .twig File Not Showing Changes"