Reputation: 4767
I'm new to opencart and I had to modify a controller in order to show a list of featured products on the site's header.
The change was very easy, however I think I have to worry about losing the controller's modification if I update open cart.
My question is, what's the best approach to do this kind of modifications?
Thanks.
Upvotes: 1
Views: 37
Reputation: 2008
This problem is very common and is usually solved by VQMod.
VQMod is a PHP script that makes changes "on the fly" by reading XML files. So you describe the changes you want to make using basic "search&replace" functionality into an XML file, without having to edit the original file.
Upvotes: 1