But the installer doesn't allow no other than '.ocmod.zip' extensions (line 138):You can apply modifications either by uploading a single modification file or a compressed file containing XML, PHP and SQL scripts. Both of these approaches use the Extension Installer as a way to be imported into an OpenCart system.
OpenCart modification files follow a strict naming rules. In order for your modification to be accepted by the installer and uploaded to the system it should have a file extension of .ocmod.xml. Here is an example yourmodifcation.ocmod.xml
Code: Select all
if (substr($this->request->files['file']['name'], -10) != '.ocmod.zip') {