=== Checkout File Upload for WooCommerce – Drag and Drop File Upload === Contributors: addonsorg Tags: woocommerce checkout block, checkout file upload, woocommerce upload, checkout field Requires at least: 5.0 Tested up to: 7.1 Stable tag: 3.1.0 Requires PHP: 7.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Boost your store conversions by allowing customers to upload design files, patterns, images, or documents directly on the checkout page. == Description == **Checkout File Upload for WooCommerce** is a lightweight yet powerful plugin that adds a professional file upload area to your WooCommerce checkout. Whether you run a print-on-demand shop, a personalized gift store, or a service-based business, this plugin makes it easy for customers to send you the files they need to complete their order. [youtube https://www.youtube.com/watch?v=fo3vM5VgPpI] ### Why Choose This Plugin? * **Modern Checkout Block Support**: Fully compatible with the new WooCommerce Checkout Block (Cart & Checkout blocks). * **Classic Checkout Support**: Works seamlessly with traditional WooCommerce checkout pages. * **Drag & Drop Experience**: A smooth, intuitive interface for users to literally "drop" their files. * **Automatic Attachment**: Uploaded files are automatically linked to the order and included in admin/customer emails. **DEMO**: [View Demo Store](https://demo.add-ons.org/cart/?add-to-cart=203&quantity=1) **DOCUMENTATION**: [Step-by-Step Guide](https://add-ons.org/document-woocommerce-drag-and-drop-multiple-files-upload-on-checkout-page/) **PRO VERSION**: [Upgrade for Advanced Features](https://add-ons.org/plugin/woocommerce-checkout-drag-and-drop-file-upload/) == Features == - **Classic & Block Support**: Works with all WooCommerce checkout styles. - **Include/Exclude Products**: Display the upload field only for specific products or categories. - **Image Preview**: Instant thumbnails for uploaded images so customers know they picked the right file. - **File Type Control**: Specify which extensions are allowed (JPG, PNG, PDF, DOCX, etc.). - **Size Limits**: Set a maximum file size to protect your server. - **Multi-File Upload**: Allow customers to upload multiple files at once. - **Email Integration**: Send files as attachments or direct links in order emails. - **Responsive Design**: Works perfectly on mobile, tablets, and desktops. - **Translations Ready**: Fully localized for multi-language sites. == Pro Version == Unlock the full potential of your checkout: - **Priority Support**: Response within 2 business hours. - **Advanced Image Previews**: Higher quality thumbnails and zoomed views. - **Storage Options**: More control over where and how files are stored. == Installation == 1. Go to your WordPress Dashboard > **Plugins** > **Add New**. 2. Search for "Checkout File Upload for WooCommerce". 3. Click **Install Now** and then **Activate**. 4. Navigate to **WooCommerce** > **Settings** > **Checkout Uploads** to configure your field. 5. If using **Checkout Blocks**, the upload area will appear automatically in the order meta section! == Screenshots == 1. Modern Drag & Drop interface on the Checkout page. 2. Comprehensive settings panel in WooCommerce backend. == Changelog == = 3.0.1 = - FIXED: Email attachment. = 3.0.0 = - SECURITY: Implemented secure two-stage temporary uploading mechanism (upload to tmp/, move to permanent upon checkout). - SECURITY: Enhanced path traversal checks, sanitization, and restricted file deletion. - SECURITY: Implemented rate-limiting for file uploads (max 50/hour/IP). - SECURITY: Removed client-side parameter tampering vulnerabilities. = 2.3.4 = - FIXED: Small bug in email attachment. = 2.3.3 = - ADDED: Full WooCommerce Checkout Block compatibility. - FIXED: Security patches for file handling (CVE fixes). = 2.3.1 = - ADDED: Feature to include/exclude specific product IDs. = 1.0.0 = - Initial Release.