=== Product File Upload for WooCommerce ===
Contributors: addonsplugins, rednumber
Tags: woocommerce file upload, product upload, woocommerce product upload, ajax upload, drag and drop
Requires at least: 4.0
Tested up to: 6.9
Stable tag: 2.2.8
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Professional AJAX Drag & Drop file upload for WooCommerce product pages. Allow customers to upload images, documents, and files instantly.

== Description ==

**Product File Upload for WooCommerce** is the ultimate solution to collect files from your customers directly on the product single page. Whether you sell personalized mugs, custom t-shirts, or professional services that require document submissions, this plugin makes the process seamless and professional.

With **AJAX background uploading**, your customers don't have to wait for the page to reload. Files are uploaded the moment they are dropped, ensuring a smooth and conversion-friendly checkout experience.

[youtube https://www.youtube.com/watch?v=uhUg3FMFAWQ]

### Key Benefits:
*   **Background AJAX Uploads**: Files upload instantly upon selection, preventing timeouts and form submission issues.
*   **Multiple File Support**: Let customers upload one or many files with ease.
*   **Order Integration**: Uploaded files are automatically linked to the WooCommerce order, visible to both customers and admins.
*   **Responsive & Mobile-Ready**: Works perfectly on desktops, tablets, and smartphones.
*   **Daily Cleanup**: Automatically manages temporary storage to keep your server clean.

**DEMO**: [View Live Demo](https://demo.add-ons.org/product/demo-product-upload-file/)
**PRO VERSION**: [Upgrade for Pro Features](https://add-ons.org/plugin/file-upload-on-woocommerce-product-page/)
**DOCUMENTATION**: [Setup Guide](https://add-ons.org/document-file-upload-for-woocommerce-product-page/)

== Features ==
- **Modern Drag & Drop UI**: A beautiful, intuitive upload area that fits any WooCommerce theme.
- **AJAX Progress Bar**: Real-time feedback for file upload status.
- **Individual Product Control**: Enable or disable the upload field specifically for certain products.
- **File Type & Size Validation**: Restrict uploads by extension (JPG, PDF, ZIP, etc.) and set MB limits.
- **Image Thumbnails**: (Pro) Show instant previews of uploaded images.
- **Multilingual Support**: Fully compatible with WPML, Polylang, and Loco Translate.
- **Email Attachments**: Send uploaded files directly as email attachments to the store admin.

== Installation ==

1. Log in to your WordPress Dashboard.
2. Go to **Plugins** > **Add New**.
3. Search for "Product File Upload for WooCommerce".
4. Click **Install Now** and then **Activate**.
5. Navigate to **WooCommerce** > **Settings** > **Products uploads** to configure global settings.
6. (Optional) Edit any product to override global upload settings for that specific item.

== Frequently Asked Questions ==

= Can I see the uploaded files in the order? =
Yes, once a customer completes an order, the links to the uploaded files appear in the Order Details page on the admin side and in the customer's "My Account" area.

= Does it support multiple file uploads? =
Yes! You can configure the "Max files" limit in the settings to allow customers to upload multiple files per product.

= Can I restrict specific file types? =
Absolutely. You can define allowed file extensions (e.g., jpg, pdf, docx) in the plugin settings to ensure you only receive the types of files you need.

= Does it work with Variable Products? =
Yes, it works perfectly on both simple and variable WooCommerce product types.

== Screenshots ==

1. Professional Drag & Drop area on the product page.
2. File upload progress and success feedback.
3. Uploaded files listed in the WooCommerce Order details.

== Changelog ==

= 2.2.8 =
- FIXED: Required file upload not working on product page.

= 2.2.6 =
- IMPROVED: Refactored internal code for better performance and security.
- UPDATED: Optimized readme for SEO and better user guidance.
- FIXED: Improved AJAX file handling and multi-file count stability.

= 2.2.5 =
- FIXED: Resolved arbitrary file deletion vulnerability.

= 2.2.1 =
- UPDATED: Fully compatible with WordPress 6.9 and WooCommerce 6.0+.

= 1.0.0 =
- Initial Release.