OpenCart. Modification systems conflicts: OCMod vs vQmod

Opencart modification system conflicts ocmod vs vqmod

The following articles will show the differences between vQmod and OCMOD Opencart modification systems.

What is vQmod and how/where it’s used?


vQmod (or Virtual Quick Mod) is one of the Opencart override systems. The developers widely used it to created additional extensions for Opencart 1.5. engine.

It’s specific code modifications specified as separate xml files. vQmod parses the xml files during pages load and applied the modifications to the target files. The result is saved as a temporary modified file, which is then loaded by OpenCart instead of the original one.

This system doesn’t make any direct changes to the actual OpenCart core files. Because of this, the original files are left intact – you can always undo the changes by simply removing the xml file.

The drawback is that vQmod isn’t part of OpenCart – it needs to be installed separately.

OCMOD times?

Opencart 2.x engine release brought the new in-built modification system – OCMOD. That is much simpler and available by default.

Daniel Kerr, the main person behind OpenCart, claimed the following: “The problem also is vQmod, I just don’t like how there are a lot of unnecessary features”.

In fact, OCMOD is basically a stripped down versions of vQmod systems. It works in a similar way – modifications are stored in xml files and uploaded to the store via admin panel, then parsed and applied to OpenCart core code. Unlike vQmod, OpenCart has a built-in OCMOD modification uploader and manager.

OCMOD is missing advanced search/replacement modifiers such as top, bottom, iafter and ibefore, as well as partial line matching and a few other things. In addition to this, OpenCart’s modification cache needs to be refreshed every time there are changes to OCMOD files.

******** Major Differences between Vqmod and Ocmod ***********
1.In Vqmod we Use “Name” for the file full path but for Ocmod we Use “Path”
i.e:-
Vqmod =
Ocmod =

in Ocmod and Vqmod for multiple files in same directory we would use like this:-

2.In Vqmod “Position” we use in “search” tag but in Ocmod we use “Position” in “add” tag
i.e:-
Vqmod =
Ocmod =