Page 1 of 1

Best version control for Opencart

Posted: Tue Jun 10, 2025 8:05 am
by talentive
Hi,

I am an experienced developer, new to opencart. Previously I have always used some form of version control for my code, mainly git. So, I know exactly what was changed and when.

But Opencart is different as there isn't any change in core files and modifications are managed by ocmod. So, even if I connect my website code to git, core files won't be changing. And ocmod changes are stored in DB so no use of got there.

I have understood ocmod and do modifications through that system but I was just wondering, as modifications grew, over time I won't be able to keep track of which file is affected by what modification and would be in a mess while writing new code. Because in single XML, you can add modification for multiple files of opencart.

So, I am just wondering if there are any best practices for this issue among Opencart community. OC used is 3.0.3.8

Re: Best version control for Opencart

Posted: Mon Jun 16, 2025 11:57 am
by halfhope
Hi! You may use my modification editor script

https://github.com/halfhope/oc_modification_editor

It's a standalone script, not extension.

You also can use some extensions which can extend your modifications section. Like this one.

Re: Best version control for Opencart

Posted: Wed Jun 25, 2025 11:54 pm
by talentive
Thanks for the script. As I am new to this, can you please guide how to use it?