This plugin enables you to add files to WooCommerce order emails. You can add the files as download links embedded within order emails or as email attachments. Files can be added globally or on a per product basis.
Features
Product Attachments
- Attach files to individual WooCommerce products
- Option to use WooCommerce’s built-in downloadable files feature
- Support for multiple file types (PDF, DOC, DOCX, TXT, JPG, JPEG, PNG, GIF)
- Drag and drop file upload interface
- Secure file storage with .htaccess protection
- Display attachments on product pages for customers
Email Attachments
- Automatically attach product files to WooCommerce emails
- Global email attachments for all orders
- Configurable email types (new order, completed order, etc.)
- Choose between attaching files directly to emails or embedding download links
- Secure download links in email content
- Professional email styling
Admin Interface
- Easy-to-use admin settings page
- Global attachment management
- Email type configuration
- Email attachment method configuration (direct attachment vs download links)
- Customizable email download section title
- File upload with progress feedback
Installation
- Upload the plugin files to
/wp-content/plugins/email-attachments/
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Ensure WooCommerce is installed and activated
- Go to WooCommerce > Email Attachments to configure global settings
Usage
Adding Attachments to Products
- Edit any WooCommerce product
- Scroll down to the “Product Attachments” meta box
- Choose between custom attachments or WooCommerce downloadable files
- For custom attachments: Click “Upload Files” or drag and drop files
- For WooCommerce files: Use the standard WooCommerce downloadable files feature
- Save the product

Configuring Global Email Attachments
- Go to WooCommerce > Email Attachments
- Choose email attachment method (direct attachment or download links)
- Customize the email download section title (optional)
- Upload files in the “Global Email Attachments” section
- Select which email types should include attachments
- Save settings

File Security
- All uploaded files are stored in
/wp-content/uploads/email-attachments/
- Files are protected by .htaccess rules
- Download links include security tokens
- Access is restricted to order owners and administrators
Security Features
- File type validation
- Secure file uploads with unique filenames
- Nonce verification for all AJAX requests
- Access control for file downloads
- .htaccess protection for uploaded files
Support
For support and feature requests, please contact the plugin developer using the form below.
Reviews
There are no reviews yet.