Installing Opencart 3.x modules
Installing Openacart 3 modules is similar to installing in opencart 2. However, there are some innovations and restrictions:
- In admin side you only can install modules in *.ocmod.zip format. Instaling *.ocmod.xml modifications is no longer supported.
- FTP is no longer necessary
- The modules installer allows to place files not to all the folders of the site. So some modules will need to be installed manually.
- The structure of a *.ocmod.zip module has been changed:
- The upload dir with files of the module. Can be empty. An optional item.
- The install.xml file. It is a modification. An optional item.
Pay attention, files install.php and install.sql are no longer executed during the installation of the extension. There are modules to return this functionality, but we only consider the default package of the opencart.
Also, you can use vQmod modifications with Opencart 3. The process of their installing is the same as for previous opencart versions: just place the modification into vqmod/xml/.
How to install *.ocmod.zip module
Go to Extensions -> Installer in admin side and upload your extension.
Unzip your archive and upload the contents of the upload dir into the root folder of your site using ftp client or another filemanager.
If there is the install.xml file in the archive, rename it to module_name.ocmod.xml (module_name is the name of your module) and place it into the system dir of your site. Keep in mind, that modifications from the system folder will not be displayed in the modifications list and will be executed primarily.
In admin side, go to System -> Users -> User Groups and set up permissions (access and modify) to administators and/or other groups.
You can skip this step, if you only install a modification.
Go to Extensions -> Modifications and refresh modifications cache. It is necessary even if your module did not contain a modification file. Already installed modifications can modify files of the module.
Refresh the theme cache on the Dashboard (main page of the admin area)
Go to Extensions -> Extensions to activate and set up the module.
How to install *.ocmod.xml modification
Place it into the system dir of your site. Keep in mind, that modifications from the system folder will not be displayed in the modifications list and will be executed primarily. Than follow the installing modules guide beginning from the Step 2.
Rename the file into install.xml and compress it to modification_name.ocmod.zip. Than install it according to to the installing modules instruction.