Skip to main content

Opencart 4.X

Opencart is one of the most popular open source e-commerce CMS used by merchants to sell their products online. It uses PHP and follows the MVC(Model-View-Controller) structure.

On 24th May 2022, opencart version was released. It majorly seems like opencart 3.x.x.x but some major changes are introduced within this release which is listed below:

Opencart-4 Requirement Changes:

  • PHP version: supports the PHP version 8.0+.
  • PHP extensions: For below PHP extensions are needed: Database, GD, cURL, OpenSSL, ZLIB, ZIP

Opencart-4 Admin Changes:

Toggled checkboxes & radio buttons: In opencart-4 checkboxes & radio buttons are toggled which looks more beautiful compared to earlier versions.
Brighter Icons & Buttons: Icons & Buttons are more clear & bright in opencart-4 in comparison to previous versions.
“admin” directory rename option: “admin” directory rename option is available in the latest version(4) of opencart. It provides more security to your opencart instance.

Availability of “CKeditor”: Ckeditor is again available in the opencart-4.
Cron Jobs: Cron jobs feature is available in opencart-4 version. You can create cron jobs for scheduling tasks.
More organized store settings: In opencart-4 store settings have the collapsible view and this collapsible view makes store settings more neat & clean in comparison to the previous versions. 
Variant Product: Opencart-4 provides the new feature “variant product” by which you can create new child products based on a parent product and also you can link their stock quantities. Child/Variant products can use the parent product information or hold their own information.

Code Changes:

Separate folder for 3rd party extensions: In opencart-4 all the 3rd  party extensions existed in a separate folder “extension”.

AJAX forms: In opencart-4 all forms are using AJAX.

Namespace for controllers and models: We have to define the namespace in the controller and model file to tell at which path the controller and model classes exist.
Route Changes: In opencart previous versions controller functions are accessed through backslash(“/”) while in opencart-4 controller function can be accessed by pipe(“|”) separator.
Bootstrap version-5:  To design the opencart view bootstrap-5 classes are used within the opencart-4 view files.

OCMOD removed: Opencart-4 doesn’t support the OCMOD. The changes done by OCMOD in opencart previous versions can be done by opencart-4 events.


Popular posts from this blog

Supermax Opencart Point of Sale

Supermax helps the merchant to do the retail transaction of their physical store in a single window. Store owners can easily place orders of their physical store to their opencart online store. As this extension is built on Google Angular Platform so it’s a single page application and works smoothly without page loading in every request. Features Multi-Language and Multi-Currency with RTL Supported.  In-built Progressive web Application (PWA)  Works in offline mode and synced all the offline data automatically after online. Made On Google Angular Framework. Single Page Application. Responsive Design Work On Tablet / Mobile / Desktop / Laptop.  Fast Loading and Easy Search With Category And Product Name.  Quick Checkout With Payment Method Selection.  POS owners can select existing customers at the time of checkout.  Admin can set store details like name, address, email, Tax number, etc. to show in customer invoice.  Separate login panel for the POS terminal.  The

How To Install Magento-2.4 on Windows & LocalHost

Magento is the most popular open-source e-commerce CMS which is written in PHP language and used by merchants to sell their products and grow their online stores. Initially it looks like the installation of magento is a very tough process and for it some expertise is required but by following the below steps you can install magento in your local environment within a few hours.  We can divide magento installation in below 3 steps: Implement Required Settings Before Installing Magento:   Below steps you need to follow before installing the magento: Server Setup: Before installing the magento you need to set up your server. For the local environment you can install XAMPP, WAMP etc. Configure php.ini: Enable the below php extensions which are required to install the magento. bcmath, ctype, curl, dom, gd, hash, iconv, intl, mbstring, openssl, pdo_mysql, simplexml, soap, xsl, zip, ext-sockets   To enable these extensions go to the php.ini file and remove the semicolon(;) before the extensi

Design Thinking

Design thinking is an iterative process in which you seek to understand your users, challenge assumptions, redefine problems and create innovative solutions which you can prototype. Design thinking is a strong approach for solving ill-defined or complicated difficulties by reframing the problem in human-centric ways. The approach varies according to the project's requirements, money, and timeline, but the basic idea is first to assess the problem and comprehend the difficulties of a target audience. Understanding the user's pain and gaining points by creating personas, conducting interviews and surveys, and creating customer journeys is essential for identifying issue areas since the user plays the most important role. Five Phases of Design Thinking Process The design thinking process may be summarised in five steps or phases: empathize, define, ideate, prototype, and test. These five phases are not usually sequential in the sense that they do not have to occur in any particula