Ka Extensions for OpenCart 4

This documentation applies to Ka Extensions for OpenCart 4.x only. It is not compatible with OpenCart 3.

How To Install Ka Extensions

Ka Extensions is installed as a standard OpenCart 4 extension. The archive is called

ka_extensions.ocmod.zip

Download the latest version from the Releases page of the GitHub repository.

OpenCart 4 uses the archive name as the extension code and the directory name (extension/ka_extensions/ ). Do not rename the archive.

Requirements

OpenCart 4.1.0.3 or newer 4.1.x version (store_version_min and store_version_max in install.json ). Older OpenCart 4 versions (4.0.x) are not supported.

Installation Steps

  1. Log in to the admin area under an administrator account and upload the archive on the Extensions > Installer page.
  2. In the list of installed extensions on the same page click the Install button next to Ka Extensions .
  3. Open Extensions > Modifications and enable the Ka Extensions Ocmod modification.
  4. Reload the Modifications page two times.

On the first load the Modifications page adds a few lines to system/framework.php (a backup copy framework.php.<random>.bak is saved next to it). Since then OpenCart loads the OCMOD-modified copy of framework.php that starts kamod (see OCMOD in OpenCart 4).

Verification

  • The Ka Extensions item appears in the Extensions menu. If it does not, reload the page or restart the browser.
  • An ambulance icon appears in the admin header. A red counter on the icon shows the number of kamod errors (kamod.errors.log in the logs directory).
  • The storefront works.

The Ka Extensions page is always available to administrators with the modify permission on the User Permissions page. Other user groups can be given access there as well.

Updating

OpenCart 4 does not accept an archive of an extension that is already installed, and it does not uninstall Ka Extensions while modules based on it are installed. For now Ka Extensions is updated by uninstalling and installing again:

  1. Uninstall the modules based on Ka Extensions: first on the Extensions > Ka Extensions page, then on the Extensions > Installer page (see Removing Ka Extensions). Uninstalling a module on the Ka Extensions page deletes its settings, save them before.
  2. Uninstall Ka Extensions on the Extensions > Installer page and delete the old archive from the list.
  3. Install the new archive of Ka Extensions as described above.
  4. Install the modules again and restore their settings.

Search results