How to Decode ionCube PrestaShop Modules
Guide to decoding ionCube-encrypted PrestaShop 1.6, 1.7, and 8.x modules for customization and maintenance.
PrestaShop's addon marketplace includes many ionCube-protected modules. This guide covers how to decode them.
ionCube in PrestaShop
Premium PrestaShop modules commonly protected with ionCube include:
- Payment modules (Stripe, PayPal, etc.)
- Shipping calculators
- SEO optimization tools
- Import/export tools
- Admin panels
- Themes with PHP logic
How to Decode PrestaShop Modules
Step 1: Locate Module Files
# PrestaShop 1.7/8.x
ls modules/yourmodule/
# Look for .php files that can't be read as text
# PrestaShop 1.6
ls modules/yourmodule/
Step 2: Create ZIP
cd modules/yourmodule/
zip -r module.zip . -include "*.php"
Step 3: Upload and Decode
Upload ZIP to our decoder. All PHP files processed automatically.
Step 4: Deploy
Replace encoded files with decoded versions. Clear PrestaShop cache:
- Back Office > Advanced Parameters > Performance > Clear Cache
- Or:
rm -rf var/cache/*
PrestaShop-Specific Notes
Module Structure
PrestaShop modules follow a standard structure:
yourmodule.php— main module filecontrollers/— front and admin controllersclasses/— helper classesviews/— templatesconfig.xml— module configuration
The decoder preserves this structure. Only PHP files are affected — templates and XML stay unchanged.
Hook Registration
Decoded files retain all PrestaShop hook registrations:
$this->registerHook('displayHeader');
$this->registerHook('displayFooter');
Multi-shop Compatibility
Decoded modules work correctly with PrestaShop's multi-shop feature.
PrestaShop 1.6 vs 1.7 vs 8.x
PrestaShop 1.6 modules — typically older ionCube versions (v10–v13), PHP 5.6–7.1.
PrestaShop 1.7 modules — ionCube v12–v15, PHP 7.1–8.1.
PrestaShop 8.x modules — ionCube v15, PHP 8.1+.
Our decoder handles all combinations.
Testing Decoded Modules
- Staging shop — test on a copy of your production shop
- Module install/uninstall — verify the module can be reinstalled
- Checkout flow — test payment and order processing
- Admin panel — verify configuration pages work
- Multi-language — test translations still work
Conclusion
Decoding PrestaShop modules follows the same process as any ionCube file. Upload, decode, clear cache, and test.
Decode your PrestaShop modules — free trial available.
Update: SourceGuardian support is now included
PHPDecompile now supports both ionCube and SourceGuardian protected PHP files. If your project contains a mix of protected vendor files, abandoned modules, or legacy PHP packages, you can use the same upload, trial preview, progress tracking, and download workflow for both supported encoders.
Related Articles
ionCube PrestaShop Module Source Recovery
Own an ionCube-protected PrestaShop module? Recover clean, readable PHP source so your team can audit hooks, fix bugs, and keep your shop maintainable.
SourceGuardian PrestaShop Module Source Recovery
Recover readable source from a SourceGuardian PrestaShop module you own, so you can maintain hooks, patch bugs, and stay compatible across PrestaShop upgrades.
PHPDecompile for ionCube and SourceGuardian Files
Use one online PHP decoder for ionCube and SourceGuardian protected files, with trial previews, secure uploads, and clean source recovery.
Decoder Guides
Ready to decode ionCube and SourceGuardian files?
Try PHPDecompile free. No credit card required.