L
L
Leonid Nimchenko2018-07-12 17:45:36
opencart
Leonid Nimchenko, 2018-07-12 17:45:36

How to modify a modified file in opencart?

Hello. You need to modify a file that is already modified and just need to change part of the previous modification. There are a lot of modifiers on the site and I don't know which of them made previous changes to this file. Tell me how to do it? Is there some mode to modify not the original file, but the modified one from the modification directory?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vasyl Vandych, 2018-07-12
@glossyweb

The modified file is generated based on the modifiers. If you modify it, then after clearing the cache, everything will be lost. And this is the wrong way to solve the problem.
1. disable one modifier and update the cache, and you will find the one you need

Z
zoozag, 2018-07-16
@zoozag

If you need to edit the place that modifies some of the modifiers, then you need to edit the file of this modifier.
Finding it is usually quite simple, search through all the modifiers and find the right piece of code in them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question