Latest Articles
So far this was never an issue, there were problems with uploading modules via the installer because of the ftp connection but you could allways install ocmods without any issue. However, some .. Read More
People had this issue so many times I thought I would write a bit about it. The  types of issues with opencart's 2.x modification system that I identified so far are: 1. Old Vqmod .. Read More
This small tutorial will show you how to manually add custom links to the default top menu in opencart. If you dont want to go trough all the hustle and would like to be able to completly customize.. Read More
To enable seo urls in opencart navigate in admin to system > settings , edit the store and on the server tab of the store settings you will find "Use SEO urls", set it to yes. So far e.. Read More
All Articles

How to install an opencart 2.x module

Unlike opencart 1.5.x, the 2.x version comes with its own extension installer accessible in admin at extension > Extension Installer. But in order to install modules directly from the opencart admin you must have ftp enabled in your admin settings and the right ftp credentials added at the ftp settings in admin > system > settings on the ftp tab.

If you have the ftp set up in opencart then installing modules is very easy. You must simply upload the module archive through the admin extension installer page.The archive you are uploading must have its name ending in .ocmod.zip. If it doesnt have a name like that, when you try to install it, you will get an "Incorect file type!" error.

However if you dont have ftp active and configured for admin or if the extension installer gives you errors while trying to install, you can still install the extension manually via a ftp client like in opencart 1.5.x.

First connect to your store via a ftp client (like filezilla, winscp, cuteftp etc) and navigate to the root of youre store (the root is the folder where opencart is installed, usually directly public_html but it can differ).

Next unzip the archive with the name ending in .ocmod.zip.

Usually you will find only an upload folder but if the extension also includes an ocmod then you will also find an install.xml file.

Open the upload folder and from within it, get the contents and upload them to the root of your opencart store via the ftp client.

Now, after uploading the files, and you didnt find an install.xml file in the archive, you are done, the extension has been uploaded and now you can go to admin and start using it. If in the archive you also found an install.xml file then you must also upload this one. This install.xml file its an ocmod and ocmods, in opencart 2.x, can only be installed trough the admin extension installer. But the admin extension installer only accepts files  with name ending in .ocmod.zip (module packages) and .ocmod.xml (ocmods). So go ahead and first rename the file install.xml to install.ocmod.xml.

Now upload the install.ocmod.xml file trough the extension installer in admin. When uploading ocmods trough the extension installer you dont have to worry about ftp settings because the ocmod.xml files get saved in the database.

After uploading the ocmod you must go in admin to extension > modification and at the top of the page click the refresh button. This will refresh the ocmod cache, and it needs to be done each time you install a new ocmod.

Now you are done and you can start using the extension.

 

Posted by Flo

Products related to this article

News / Blog V4.4 - V4.5 - extension for opencart text_reviews
Compatible: Opencart 1.5.2.x to 1.5.6.x + 2.0.1 - 2.0.1.1 - 2.0.2 - 2.0.3.1 - 2.1.0.1 - 2.1.0.2 - 2.2.0.0 - 2.3.0.0 - 2.3.0.2
$12.00
Featured Categories - Wall - Carousel - Selector - List
Compatible: Opencart 1.5.2.x to 2.0 - 2.0.x - 2.1.x - 2.2.x - 2.3.x - 3.0.0.0 - 3.0.1.x - 3.0.2.x
$10.00
FlyOut Mega Menu module v3 text_reviews
Compatible: Opencart 1.5.2.x to 1.5.6.4 - 2.0.1 - 2.0.1.1 - 2.0.2 - 2.0.3.1 - 2.1.0.1 - 2.1.0.2 - 2.2.0.0 - 2.3.0.0 - 2.3.0.2
$15.00 $10.00
Super Mega Menu V2.4 - opencart module text_reviews
Compatible: Opencart 1.5.2.x to 2.0 - 2.0.1.x - 2.0.2.x - 2.0.3.x - 2.1.0.x - 2.2.0.0 - 2.3.0.x - 3.0.0.0 - 3.0.1.x - 3.0.2.x
$15.00 $12.00
SuperTheme 2 - Opencart 2.x responsive template text_reviews
Compatible: Opencart 2.0.1 - 2.0.1.1 - 2.0.2 - 2.0.3.1 - 2.1.0.1 - 2.1.0.2 - 2.2.0.0 - 2.3.0.0 - 2.3.0.2
$35.00 $25.00
SuperHtml opencart module - easily add text, videos and images to your website text_reviews
Compatible: Opencart 1.5.2.x to 2.0 - 2.0.1 - 2.0.1.1 - 2.0.2 - 2.0.3.1 - 2.1.0.1 - 2.1.0.2 - 2.2.0.0 - 2.3.0.0 - 2.3.0.2
$15.00 $10.00

Related Articles

People had this issue so many times I thought I would write a bit about it. The  types of issues with opencart's 2.x modification system that I identified so far are: 1. Old Vqmod version installed which doesnt support ocmod 2. Ocmod cache could not be written due to insufficient folder permission 3. The ocmod cache doesnt get loaded in frontend (ocmod works in admin but not in frontend) The most common I encountered is number 3 because it has to do with the opecart installation method. Some control panel software installers do not properly configure the ope..
0 comments on this article - view comments

1 Comments To "How to install an opencart 2.x module"

Shijo Varghese On 22 Aug 2016
Thank You Flo. its working for me opencart 2.1 x Reply to this comment

Write a comment

Your Name:


Enter the code in the box below:

Your Comment:
Note: HTML is not translated!