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

Magento 2 Products

Magento 2 is an open-source E-commerce platform and is the most used CMS (Content Management System) to create online stores. There are two versions of Magento 2: the Community version and the Enterprise version.  In the Magento 2 community and enterprise, there are six product kinds. Over the Community version, Magento 2 Enterprise provides a number of beneficial features. One of these extra features is Gift Card, the seventh product category, which is not included in the Community version. Each type of product with an example is explained below: 1. Simple Product Simple Product is the most popular product of a store. In Magento, it is also defined as its name, which means that this type of product is sold in every single item ( non-variation). Every single product has its own SKU (Store Keeping Unit) code. For example, a single bag that is only sold in a fixed size, weight, material, etc. 2. Configurable Product The configurable product includes many simple products. The collection o