- New
The module allows you to add custom attachments to emails sent to customers based on the order status.
Our module automatically adds attachments to emails sent to customers based on
the order status. A simple, quick, and effective solution for any e-shop.
What does the module do?
It automatically attaches files to customer emails when the order status changes:
- **Order Confirmation** → Terms and Conditions + GDPR
- **Shipped** → Product manual
- **Delivered** → Warranty certificate + Complaint procedure
- **Payment Received** → Invoice + Thank You certificate
Who is this module for?
✅ **E-shops with physical products** - automatic manuals, certificates
✅ **E-shops with digital products** - PDF books, licenses, software
✅ **B2B stores** - automatic invoices, price lists, catalogs
✅ **International stores** - multilingual documents
✅ **Multistore** - different attachments for different stores
Fixed:
Fixed MD5 hash values in all translation files to match the PrestaShop system.
All texts in the administration are now correctly translated (order status, file name, store, date added, all stores, active, etc.).
Translations are now working correctly in the admin interface.
Complete translation of all admin fields (order status, shop, attachment, active, etc.)
Update:
Updated all translation files with complete texts of the admin interface
Module accessible through the standard configuration link (not as a separate tab in the menu)
Added languages: Czech, English, German, French, Italian, Spanish
Fixed
Completely rewritten implementation of hooks for reliable attachment sending.
Added several hooks for better compatibility: actionEmailSendBefore, actionOrderStatusPostUpdate.
Improved order status recognition with multiple fallback methods.
Enhanced store context processing for multistore.
Better file reading with error handling.
Added missing class CustomEmailAttachment ObjectModel
Fixed ClassNotFoundError in AdminController
Updated admin controller to use ObjectModel methods instead of direct database queries
Administrative controller for managing email attachments
Function to upload multiple file types (PDF, DOC, DOCX, XLS, XLSX, TXT, JPG, PNG, GIF, ZIP)
Sending attachments based on the order status
Support for multiple stores (all stores or a specific store)
Active/inactive status of attachments
### Fixed
- **CRITICAL:** Fixed MD5 hash values in all translation files to match the PrestaShop system.
- All texts in the administration are now correctly translated (order status, filename, store, date added, all stores, active, etc.).
- Translations now work correctly in the admin interface.
### Changes
- Updated all 7 translation files (sk.php, cs.php, en.php, de.php, fr.php, it.php, es.php) with the correct MD5 hashes.
### Fixed
- Complete translation of all admin fields (Order Status, Store, Attached File, Active, etc.)
- All 7 languages now have complete translations (31 strings per language)
### Added
- Additional translations for error messages
### Changes
- Updated all translation files with complete texts for the admin interface
- Module accessible via the standard configuration link (not as a separate tab in the menu)
### Added
- Czech translation (cs.php)
- English translation (en.php)
- German translation (de.php)
- French translation (fr.php)
- Italian translation (it.php)
- Spanish translation (es.php)
### Fixed
- Completely rewritten hook implementation for reliable sending of attachments.
- Added several hooks for better compatibility: actionEmailSendBefore, actionOrderStatusPostUpdate.
- Improved recognition of order status with multiple fallback methods.
- Enhanced handling of store context for multistore.
- Better file reading with error handling.
### Changes
- Author changed to konverzio.com
- Improved hook registration in the installation method
- Added a static variable to store the order status between hooks
- Added missing class CustomEmailAttachment ObjectModel.
- Fixed ClassNotFoundError in AdminController.
- Updated the admin controller to use ObjectModel methods instead of direct database queries.
- First stable version
- Full compatibility with PrestaShop 1.7-9
- Complete set of features
- Slovak localization
Yes, you can add an unlimited number of attachments for a single order status. All active attachments will be included in the email.
The default maximum size is 5MB. You can change this value by adjusting the PHP settings `upload_max_filesize` and `post_max_size`.
No! The module works without any override files. It only uses hooks.
1. Go to Configuration → Custom Email Attachments
2. Click on "Add New"
3. Select the order status (e.g. "Paid")
4. Upload the file
5. Activate the attachment
6. Save
Yes! When creating the attachment, select a specific store. Or select "All stores" if you want to use the attachment for all stores.
- Documents: PDF, DOC, DOCX
- Spreadsheets: XLS, XLSX
- Text: TXT
- Images: JPG, JPEG, PNG, GIF
- Archives: ZIP