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
Step 1
Go to Extensions -> Installer in admin side and upload your extension.
OR
Unzip your archive and upload the contents of the upload dir into the root folder of your site using ftp client or other 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.
Step 2
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.
Step 3
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.
Step 4
Refresh the theme cache on the Dashboard (main page of the admin area)
Step 5
Go to Extensions -> Extensions to activate and set up the module.
How to install *.ocmod.xml modification
Method 1
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.
Method 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.
4 Comment(s)
Все зробив покроково, але завантажений модуль не з"являється в списку модулів
After successfully installing the theme, Modification not showing in the modification menu, also not listing newly installed theme in the setting>setting>geneal> theme>only visible default theme. Any suggestion. thank you.
Ошибка синтаксического анализа : синтаксическая ошибка, неожиданный '=>' (T_DOUBLE_ARROW) в /home/tool00/lavka.biz.ua/www/vqmod/vqcache/vq2-_home_tool00_lavka.biz.ua_storage_modification_catalog_controller_product_category.php на линии 374
Very helpful blog. Keep writing this kind of informative article.
Leave a Comment