Is there a better way then using VQMOD
/OCMOD
to change OpenCart's
core files?
Is there some "overrides" folder exists so that I can simply create any PHP
file corresponding to the file structure and simply override a core file? (Like it is possible in PrestaShop
and Magento
).
VQMOD
/OCMOD
is highly inconvenient.
Does someone use any hacks & tricks to achieve the result?
I don't want to touch any core files to keep the system clean and manageable.
Thanks a lot!
If you want to call your function within the system which follows the OC structure, avoid the search/replace mods, try using the new Opencart Events (a.k.a. hooks) instead:
https://github.com/opencart/opencart/wiki/Events-System
Or, you can still use the Opencart override engine (by a 3rd-party developer) though.