Modern modules for OpenCart 3 work through events. The standard Events page shows only a long list of rows: it's unclear who added them, whether they work, and what will happen if you click "Disable". When the store shows a white page after installing a module, you have to dig into the database through phpMyAdmin.
OCT Event Manager replaces that page with a full-featured tool. It shows all store events, finds broken ones, measures how much time each one takes, and helps restore the store to working order in a few clicks. Even when the admin panel no longer opens.
free and works without OCMOD and without core modifications.
What problem it solves
- After a module update, the store shows an error. Safe mode disables all third-party events, and "Restore as it was" enables exactly those.
- The admin panel won't open. An emergency script disables third-party events without logging into the admin panel and without access to the database.
- The site has become slow, and it's unclear why. The profiler shows the time of each handler, and the statistics show each module's contribution to page time.
- You don't know which of 40 events is breaking checkout. Culprit search finds the single event in a few steps.
- You deleted a module, but its events remained. The module finds such events and removes them with one button.
Features
All events at a glance
- Grouping by module or by trigger. By trigger, handlers are listed in the order OpenCart will execute them.
- Checking each event without running code: file, class, or method doesn't exist, syntax error, incorrect arguments, duplicates, overly broad masks.
- Core events and events of deleted modules are marked separately.
Convenient management
- Enable, disable, and delete events. Order is changed by drag and drop.
- New events are added with trigger autocomplete.
- Core events are protected by an additional confirmation.
Nothing gets lost
- Before each change, the module automatically takes a snapshot of all events.
- Any snapshot can be compared with the current state and restored fully or selectively.
- Events are exported to and imported from JSON with a preview beforehand.
- The change log shows who changed what and when, along with changes that other modules made silently.
Profiler and statistics
- The profiler shows which events fired on the page, in what order, and how many milliseconds each handler took. It works in the admin panel and on the storefront.
- Store visitors see nothing: on the storefront, the profiler is enabled only in your browser.
- Event timing is also visible in browser developer tools (
Server-Timing), including for AJAX. - Log mode for a live store collects statistics from some of the requests and turns itself off. It shows the slowest handlers and events that never fire.
For developers
- A map of all triggers you can subscribe to: controllers, models, templates, language files.
- The simulator shows which handlers will run on a trigger.
- A ready-made
addEvent() line and a method stub with the correct signature. - The "Events of this page" button in the admin header shows events related to the currently open page.
- Events whose files are affected by OCMOD modifications are marked.
Diagnostics
- Safe mode for the admin panel, storefront, or the entire store.
- Culprit search, which finds the event breaking the store by halving the list.
- Emergency script: works without loading OpenCart, protected by a one-time key and an attempt limit.
- Support report in Markdown, without domain, passwords, or customer data.
Safe for a live store
- No OCMOD and no changes to core files. The module works only through its own events.
- While the profiler is disabled, the module does not affect store speed.
- Changes require the "Modify" permission, and viewing requires the "View" permission.
- Passwords, tokens, page HTML, and customer data do not get into profiles and reports.
Compatibility
- OpenCart 3.0.4.0–3.0.5.x, ocStore 3.0.4.1.
- PHP 7.3–8.5.
- Languages: Ukrainian, English, Russian.
Installation
- "Extensions → Installer" → upload
oct_event_manager.ocmod.zip. - "Extensions → Modules" → click "Install" next to OCT Event Manager.
- Open "Event Manager" in the "Extensions" menu.
There is no need to refresh modifications.