Hello!

In opencart there is a modification folder ( system/storage/modification ), I have the moneymaker2 template installed.

The problem is that I need to change the logic of some part of the template, editing the contents of the modification folder gives only a temporary result (until the first reset of all modifications), where can I find the root template files that are not covered by the cache reset?

PS There is no this template in the catalog folder, modification.

    2 answers 2

    In the second version of OpenCart, modifications are stored in the database in the {prefix} _modification table, so that the changes are saved after resetting the caches, corrections must be made there. For more convenient work with modifications from the administrative part of the store, there are additions, for example, Modifications Manager http://www.opencart-templates.co.uk/modification-manager

      To make changes to the opencart files, when using ocMod, it is necessary to work with the original files, but not with their copies of the system/storage/modification . If you make changes to the modification files, naturally everything will be lost after the first cleaning of the cache, since these files will be overwritten based on the original files and the modifications that you apply to them. In the database, in {prefix} _modification, there is data on the specific extensions used in your store build.