OpenCart allows extending functionality through modules. This document discusses uploading, installing, configuring, uninstalling, and removing OpenCart modules. Modules can be uploaded through FTP or the admin panel extension installer. The file structure of module zip files varies by functionality. To install, go to Admin > Extensions > Modules and click the green plus sign. Uninstalling finds the module and clicks the red minus, then refreshes modifications. Removing first uninstalls then deletes all uploaded module files.
2. What this video series covers
Making hello world module
-- Installing custom module
-- Configuration of module
-- Uninstalling the module
-- Managing layout and position
Workflow or markup to make hello world module
Admin files created to make hello world module
-- Controller creation -- Language file creation -
- Template file creation
Front end files created to make hello world
-- Controller creation
-- Language file creation
-- Template file creation
OpenCart Flow
• Introduction
• Why OpenCart?
• Features of OpenCart
• Prerequisites
• Downloading example code
• Installing OpenCart
-Steps to create custom URL to work locally
• Describing folders and files of OpenCart
• OpenCart Framework:
-Registry, loader, request, response, database,
session , cache, unlimited colors theme, language,
event, Event Register, Config Autoload, Language
Autoload, Library Autoload, Model Autoload, Front
Controller, Pre Actions, Dispatch and Output.
• OpenCart Code flow
• Request and Response in OpenCart
• Database table schema
• OpenCart Library Global Methods
3. https://webocreation.com/blog/uploading-installing-configuring-uninstalling-
deleting-removing-opencart-module
OpenCart is module-based system
that allows us to extend functionalities
with unlimited module instance system.
What unlimited module instance system means is we can show many module of one
module in same page and in many different pages. Let’s take example of Banner
module, we can show multiple banners in multiple places of one page and in other
pages also.
To upload a module I will show you three ways, one through FTP and two through
Admin panel which also need FTP enabled. I am using OpenCart 3.0.2.0. Check this
how to enable FTP https://webocreation.com/blog/opencart-error-ftp-needs-
enabled-settings
4. Uploading OpenCart Module from Admin
section- Extension Installer
• Go to https://webocreation.com/blog/show-module-link-left-menu-admin-opencart-ocmod
• Login and Go to Extensions >> Extension Installer
• Click upload button, choose files that you want to install and click OK
• Your module is ready for modification.
6. File structure to Upload
• File structure of OCMOD compressed zip ocmod.zip files may look like
below but can differ as per the functionalities of the module
7. Uploading from FTP
• Go to https://webocreation.com/blog/opencart-show-selected-
categories-as-featured-module-free
• Extract the files and you will see admin and catalog folders which you
have to upload it respectively. Sometime only catalog folder can exist
or only admin folder, depends on modules
8. Uploading xml file at system/ folder
• Go to https://webocreation.com/blog/opencart-free-extension-to-
add-full-width-position-in-layout
• You can directly upload xml file in system/ folder as well
10. OpenCart Module Installation
• OpenCart is module-based system that allows us to extend functionality. With Unlimited Module
Instance System.
• Go to Administration >> Extensions >> Modules below OpenCart 2.3 and for above Administration
>>Extensions >> then choose Module in filter.
• Green + sign to install, red – sign to uninstall and red delete sign to delete, blue + sign to add
another instance of module and blue pencil sign to edit the module.
11. Uninstalling a module
• Go to Extensions >> Choose Modules
• Find the module that you want to uninstall in the Modules list and
click on the uninstall red minus button.
• Then go to Extensions >> Modifications
• Click on the Uninstall button of the module that you want to uninstall
and click Refresh sign.
• You are set and your module gets uninstalled.
12. Remove a module
• First uninstall the module then you have
to delete every files that you upload when
you install the module to remove a
module.