Answer the question
In order to leave comments, you need to log in
What files cannot be modified in OpenCart?
Hello.
I started working with OC and I want to ask this question. I need to write a function that will work with goods.
I want to use functions from the ModelCatalogProduct class. This class is declared in ../catalog/model/catalog/product.php
And the question is, can I write something there at all? Can I append to this file? Or will everything be erased when I want to update the engine?
Would it be better to create a file with its own class and functions in the /catalog/model/catalog/ directory?
The general question is, which files CANNOT be modified on a given system so that my edits are not overwritten when the engine is updated?
At the moment, the engine version is 2.3.0.2.3
Thank you
Answer the question
In order to leave comments, you need to log in
At the moment, the engine version is 2.3.0.2.3
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question