Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

FlexiOcmodSort - OCMOD Sort Order Manager

PaulKravchenko ☆☆☆☆☆ 0 reviews 32 завантажень 1,867 02/19/2026
1.0.1 Ioncube Loader: Ні
Безкоштовно
OpenCart3.0
ocStore3.0
License typeДоменів не обмежено
Activation methodБез активації
Ioncube LoaderНі
Get request to server of developerНі
Downloads32
Submitted02/16/2026
Updated02/19/2026
File Size11.47 kB

User Feedback

FlexiOcmodSort - OCMOD Execution Order Manager

What the Module Does

Adds a Sort Order column to the Extensions → Modifications page with inline editing capability. The sort order value affects the actual execution order of OCMOD modifications when the Refresh button is clicked.


How OCMOD Execution Order Works (Default Behavior)

First - the file system/modification.xml (built into OpenCart)

Then - files system/*.ocmod.xml (alphabetically by filename)

Last - records from the oc_modification table (alphabetically by the name field)

The order described in step 3 is not controlled by standard OpenCart tools. This module solves that problem.


How the Module Works

  • Creates a separate table oc_modification_sort_order (does not modify the oc_modification table)

  • During modification cache refresh - database results are sorted by sort_order (ascending), and by name when values are equal

  • Default value = 0 (all modifications have equal priority)

  • Negative values - execute earlier

  • Higher values - execute later


Installation

  1. Upload flexi_ocmod_sort_x.x.x.ocmod.zip via Extensions → Installer

  2. Go to Extensions → Modifications and click Refresh (blue button)

  3. Go to Extensions → Modules, find FlexiOcmodSort, and click Install (green + button)

  4. Refresh the theme cache (gear icon on the dashboard)

Important: Step 3 creates the database table. Without it, the Sort Order column will be displayed but values will not be saved.


Usage

  1. Go to Extensions → Modifications

  2. A new Sort Order column will appear next to the actions column

  3. Change a value in the field - it is saved automatically (AJAX, debounce 500ms)

  4. Green highlight = saved, red = error

  5. After configuring the order, click Refresh to rebuild the modification cache

  6. Use Enter to navigate between fields


Technical Details

  • Does not modify the oc_modification table - uses a separate table

  • Does not modify model/setting/modification.php - avoids the Cannot redeclare class issue

  • Sorting is implemented via usort() in the controller after retrieving data from the model

  • Compatibility: OpenCart 3.0.x (tested on 3.0.3.x Maintenance)

  • Requirements: PHP 7.0+ / 8.0+


Compatibility with Other Modules

The module uses OCMOD to modify the controller and template of the modifications page. If you already have extensions installed that modify the same page (for example, OCMOD Editor, OCMOD Downloader), conflicts may occur.

Характеристики

System requirementsOpenCart 3.x PHP 7.0+
License typeДоменів не обмежено
Activation methodБез активації
Ioncube LoaderНі
В продажеДа
OpenCart3.0
ocStore3.0
Get request to server of developerНі
If the developer server is unavailableДополнение работает
СкидкаNo
Template compatibleDefault
AdaptationПлатна
LocalisationУкраїнська, Англійська
Версія1.0.1
File Size11.47 kB
Submitted02/16/2026
Updated02/19/2026
  • +1 1

PaulKravchenko's Other Downloads


  • Recently Browsing   0 members

    • No registered users viewing this page.
Guest
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.