One button in the admin header: rebuilds modifiers, clears the template cache, the system cache, and rebuilds SASS. Works on any page, without reloading.
Why is it needed
You edit a template, style, or install a modifier—and the store displays the old version until you clear the cache. In standard OpenCart, these options are scattered across three places: rebuilding modifiers in "Extensions → Modifications," resetting the theme and SASS cache in "Developer Settings," and manually rebuilding the system cache in storage/cache via FTP.
The module condenses all of this into a single button in the admin header. It's on every page; click it, and everything updates at once.
What the button does
- Modifiers.Rebuilds storage/modification from installed ocmods — like the "Update" button in the "Modifications" section.
- Template cache.Clears compiled Twig templates in storage/cache/template.
- System cache.Deletes storage/cache/cache.* — the cache of product lists, categories, currencies, and Other stuff.
- SASS.Removes compiled bootstrap.css in the admin panel and in all themes in the source code showcase—the core recompiles the CSS.
All this in one click, via AJAX, without leaving the page. A notification is displayed upon completion.
How it works
- Pure modifier (ocmod): no custom controllers, templates, or tables in the database.
- Edits two admin interface files—the header and "Developer Settings." The storefront core is not affected.
- The button is visible on all pages because it resides in the main admin header.
- Both actions are protected by a session token and are only available to authorized administrators.
Installation
- Extensions → Install extensions → Download ocmod archive.
- Extensions → Modifications → "Refresh."
- Refresh page - the "Refresh cache" button will appear in the upper right corner, next to "Exit."
There is no separate settings page; you don't need to install the module in "Modules."
Restrictions
- This button works for users with access to the "Developer Settings" and "Modifications" sections. The "Administrator" group has these sections by default.
- SASS is only rebuilt where the _bootstrap.scss source file is located next to the CSS. The module does not affect the theme without source code.
- Data, settings, and products are not affected—only the cache is cleared.
Technical details
- Module version:1.0
- Compatibility: OpenCart 3.0.x, ocStore 3.0.x. Tested on PHP 8.3.
- Standard installation: downloading the ocmod archive, updating modifiers.
- Pure modifier - does not create its own files in store directories.
- Interface language: Russian.
What's new in version 1.0
Distribution method:
Free
Opencart version:
LiveStore 3.*OCStore 3.*OpenCart 3.*
PHP verision:
PHP 7.0PHP 7.1PHP 7.2PHP 7.3PHP 7.4PHP 8.0PHP 8.1PHP 8.2PHP 8.3
Activation:
Automatic
Getting files:
On site, in the personal account
Protection system:
No
VQmod:
No
Ocmod:
Yes
Events:
No
Uploaded:
31.08.2026
Updated:
31.08.2026
Viewed:
139
To download this free product, you do not need to order it, just
log in.