This is the premium version documentation page. Click here to purchase Checkout Files Upload for WooCommerce.

Introduction

This plugin is an extended version of free Checkout Files Upload for WooCommerce plugin. Pro version lets you add multiple file upload forms to the checkout (and/or thank you; my account pages).

Retrieving Uploaded Files

You can download uploaded files from admin’s “Edit Order” pages (there is “Uploaded Files” metabox in the upper right corner). Alternatively – if you wish to access files directly – uploaded files are saved in /wp-content/uploads/woocommerce_uploads/alg_uploads/checkout_files_upload/ directory on your server. Files are named by concatenating order number and file number (e.g. 1347_1.png, 1347_2.jpg etc.).

If you’re having issues with file upload form displaying on mobile devices, you can fix this by going to “WooCommerce > Settings > Checkout Files Upload > Template” and setting these values:

Before:

<div>

Label:

<p><label for="%field_id%">%field_label%</label>%required_html%</p>

Field:

<p>%field_html%</p><p>%button_html%</p>

After:

</div>

This will change the layout of checkout files form a little, but it should fix any issues with mobile devices.

General Options

Total files
Save changes after you change this number to see new settings sections.
Default: 1
AJAX form
Default: yes
AJAX form: Add progress bar
Default: no
AJAX form: Enable alert on successful file upload
Default: no
AJAX form: Enable alert on successful file remove
Default: no
Max file size (MB)
Leave zero to disable.
Default: 0
Max file size: Allowed file size exceeded message
Message on exceeded. Replaced value: %max_file_size%.
Default:
Allowed file size exceeded (maximum %max_file_size% MB).

Emails Options

Attach files to admin’s new order emails
Default: yes
Attach files to customer’s processing order emails
Default: yes

Form Template Options

Before
Default:
<table>
Label
Replaced values: %field_id%, %field_label%, %required_html%.
Default:
<tr><td colspan="2"><label for="%field_id%">%field_label%</label>%required_html%</td></tr>
Field (Simple)
Replaced values: %field_html%, %button_html%, %image%.
Default:
<tr><td style="width:50%;">%field_html%</td><td style="width:50%;">%button_html%</td></tr>
Field (AJAX)
Replaced values: %field_html%, %image%.
Default:
<tr><td colspan="2">%field_html%</td></tr>
After
Default:
</table>

Styling Options

AJAX “Delete” button style
Default: color:red;

File #X

Enable/disable
Default: yes
Required
Default: no
Accepted file types
Accepted file types. E.g.: .jpg,.jpeg,.png. Leave blank to accept all files.
Default: .jpg,.jpeg,.png

Positions

Checkout page
Possible values: Before checkout form; After checkout form; Do not add on checkout.
Default: Before checkout form
Position order (i.e. priority)
Default: 20
“Thank You” page
Default: no
“My Account” page
Default: no

Labels

Label
Leave blank to disable label.
Default:
Please select file to upload
Upload button
Default: Upload
Remove button
Default: Remove

Notices

Wrong file type
%s will be replaced with file name.
Default:
Wrong file type: "%s"!
File is required
Default:
File is required!
File was successfully uploaded
%s will be replaced with file name.
Default:
File "%s" was successfully uploaded.
No file selected
Default:
Please select file to upload!
File was successfully removed
%s will be replaced with file name.
Default:
File "%s" was successfully removed.

Advanced

Require products
To show this field only if at least one selected product is in cart, enter products here. Leave blank to show for all products.
Default: None
Require product categories
To show this field only if at least one product of selected category is in cart, enter categories here. Leave blank to show for all products.
Default: None
Require product tags
To show this field only if at least one product of selected tag is in cart, enter tags here. Leave blank to show for all products.
Default: None