Bestseller Documented

Checkout Files Upload for WooCommerce

(4 customer reviews)

From: $39.99 / year

Let your customers upload files on (or after) WooCommerce checkout.

$39.99 Single site1 year of updates and support30-day money-back guaranteeBuy
$79.99 Unlimited sites1 year of updates and support30-day money-back guaranteeBuy
Clear

Checkout Files Upload for WooCommerce plugin lets your customers upload files on (or after) WooCommerce checkout.

Features

  • Set fields position on the checkout page.
  • Set if file upload is required.
  • Add field to Thank You page.
  • Add field to My Account page.
  • Add custom label to the field.
  • Set accepted file types.
  • Set max file size option.
  • Set custom Upload and Remove buttons labels.
  • Set custom “Wrong file type”, “File is required”, “File was successfully uploaded”, “No file selected” and “File was successfully removed” messages.
  • Select cart products, product categories or product tags to show the field.
  • Add uploaded files to admin and customers emails.
  • Optionally enable AJAX form for file uploads.

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).

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

Checkout Files Upload for WooCommerce - Admin Settings - 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

Checkout Files Upload for WooCommerce - Admin Settings - 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

Checkout Files Upload for WooCommerce - Admin Settings - 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

Checkout Files Upload for WooCommerce - Admin Settings - Template 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

4 reviews for Checkout Files Upload for WooCommerce

  1. Polo

    Hi,

    Is there a way to download the orders files in bulk (I have to manually download the files from 100+ orders daily…)

    Thanks, works like a charm, only missing this feature…

  2. matias099 (verified owner)

    I’ve installed your Checkout Files Upload for WooCommerce plug-in, and I’m writing this error when I upload a file:

    Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/mh023500:/usr/share/pear) in /home/mh023500/www_root/wp-content/plugins/checkout-files-upload-woocommerce-pro/includes/class-alg-wc-checkout-files-upload.php on line 256

    Warning: move_uploaded_file(): open_basedir restriction in effect. File() is not within the allowed path(s): (/home/mh023500:/usr/share/pear) in /home/mh023500/www_root/wp-content/plugins/checkout-files-upload-woocommerce-pro/includes/class-alg-wc-checkout-files-upload.php on line 257

    Can you please help me?

  3. Ricky

    Very nice plugin, just wondering with the Pro version, it is possible to show the upload form at thank you page only if a specific payment method has been selected? Thanks.

  4. Sabine

    Nice plugin! I only want to change the color of the buttons…

    • algoritmika

      Hi,

      You can style the buttons by adding something like this to custom CSS:

      #alg_upload_checkout_file_1 { color: red; background-color: blue; }
      #alg_remove_checkout_file_1 { color: white; background-color: yellow; }
      #alg_upload_checkout_file_2 { color: red; background-color: blue; }
      #alg_remove_checkout_file_2 { color: white; background-color: yellow; }

      Best regards,
      Tom

Add a review

Your email address will not be published. Required fields are marked *

Free version

This plugin is a premium version of free "Checkout Files Upload for WooCommerce" plugin.

Changelog

2.1.4 - 2022-06-02

  • FIX: add nonce checks to AJAX actions.
  • UPDATE: updated .pot file for translations.

2.1.3 - 2022-05-10

  • FIX: escape filenames on order confirmation/thank you pages.

2.1.2 - 2021-12-23

  • FIX: potential XSS vulnerability (thanks to Vlad at Patchstack).
  • FIX: minor display bug in settings due to WooCommerce update.

2.1.1 - 2021-09-16

  • UPDATE: PHP 8 now officially supported.
  • UPDATE: updated .pot file for translations.

2.1.0 - 2021-04-15

  • NEW: added optional minimum/maximum number of files requirement.
  • NEW: added more options to "validate image dimensions" setting: "greater than or equal", and "less than or equal".
  • NEW: added button to delete file attachments on admin "edit order" page. (If you don't want the ability to delete files, you can use the filter wpwham_checkout_files_upload_allow_admin_delete_files to disable it).
  • FIX: check if server's temporary directory is writeable. If not, display an error message. (Solves an issue with 0-byte files being uploaded).
  • FIX: bug where sometimes 0-byte files were attached to order emails.
  • UPDATE: for text labels/notices, made it possible for a translated string to take precedence over stored settings. (Previously it was the other way around. This should now make things easier if you use a translation plugin like LocoTranslate, Polylang, etc).
  • UPDATE: performance improvement -- load our admin assets only when needed.
  • UPDATE: updated .pot file for translations.

2.0.4 - 2021-01-12

  • FIX: clean output buffer before downloads (solves conflict with some 3rd-party plugins which interfere with the output buffer, causing downloads to appear as empty or corrupt).

2.0.3 - 2020-09-17

  • UPDATE: display our settings in WC status report.

2.0.2 - 2020-08-21

  • FIX: upload button translation issue (removed old label settings, added new ones).
  • UPDATE: updated .pot file for translations.
  • UPDATE: updated updater.

2.0.1 - 2020-06-17

  • FIX: issue with upload button not working in certain themes.
  • FIX: user permissions issue incorrectly preventing downloading of images from the WP admin side.
  • FIX: JS typo.

2.0.0 - 2020-06-11

  • NEW: added support for multiple files uploads in one button -- it's no longer necessary to add separate buttons for each file.
  • NEW: Breaking Change the Form (simple) template has been removed, and Form (AJAX) is now the standard template. Form (AJAX) has been the default since v1.4.0 (2018-08-25), so for most people this change will have no effect. However, if you were using Form (simple), or if you had customized either template, please double check your settings to make sure things look correct. Or, you can reset the settings to get a fresh start.
  • NEW: Breaking Change in template settings, the variable %field_html% which previously contained BOTH the field html AND the upload button itself, has been split into separate variables %field_html% and %button_html%. Your template settings will be updated automatically to reflect this.
  • NEW: image thumbnails will be shown by default. The image feature has existed since v1.4.0 (2018-08-25), but some people didn't realize this and/or didn't know they needed to add %image% into the template to enable it. Now %image% is included in the template by default. If you don't want this, simply edit your template settings and remove the %image% variable.
  • NEW: show spinner when processing, and prevent checkout form submission before upload is completed.
  • UPDATE: change the way we handle sessions -- only start them when needed, not on every page load.
  • UPDATE: extensive code refactoring.
  • UPDATE: updated some styling and text. For example, progress bars (if enabled) are now green.
  • UPDATE: updated .pot file for translations.

1.5.4 - 2020-01-14

  • FIX: fix issue with certain checkout page positions (like "after billing details") not working.
  • UPDATE: add new filters 'wpw_checkout_files_upload_form_html' and 'wpw_checkout_files_upload_form_ajax_html'.
  • UPDATE: wrap checkout page file upload controls in

<

div>.

1.5.3 - 2019-11-22

  • UPDATE: added more checkout positions to choose from.
  • UPDATE: updated .pot file for translations.

1.5.2 - 2019-11-15

  • UPDATE: bump tested versions

1.5.1 - 2019-09-12

  • UPDATE: bump tested upto versions

1.5.0 - 2018-10-08

  • NEW: implement software licensing system; allows for one-click updates of the Premium version
  • FIX: php notice
  • UPDATE: updated .pot file for translations

1.4.5 - 2018-10-01

  • Dev - [alg_wc_cfu_translate] shortcode added and do_shortcode() is now applied to each file's "Labels".

1.4.4 - 2018-09-13

  • Dev - Emails - "Additional Emails Options" subsection added.
  • Dev - "Raw" input is now allowed in all textarea admin settings fields.
  • Dev - Code refactoring - "Reset" function re-written.
  • Dev - Code refactoring - custom_number_checkout_files_upload settings type removed.
  • Dev - "Your settings have been saved" admin notice added.

1.4.3 - 2018-09-10

  • Dev - "Author URI" updated.

1.4.2 - 2018-09-10

  • Dev - "Contributors" updated.

1.4.1 - 2018-08-27

  • Fix - %image% in AJAX form fixed on "Thank you" and "My Account" pages.
  • Dev - "Validate image dimensions" options added for each file.
  • Dev - Minor code refactoring.
  • Dev - Minor admin settings restyling.

1.4.0 - 2018-08-25

  • Fix - User file download fixed on "Thank you" and "My Account" pages.
  • Dev - %image% replaced value added.
  • Dev - "AJAX form" now is enabled (yes) in settings by default.
  • Dev - Code refactoring.
  • Dev - Minor admin settings restyling.
  • Dev - Plugin URI updated.

1.3.0 - 2018-06-09

  • Fix - Case insensitive comparison of the "Accepted file types" options.
  • Fix - Default values fixed for all get_option() calls.
  • Dev - "AJAX form" options added.
  • Dev - "Max file size" options added.
  • Dev - Filter rewritten.
  • Dev - Admin settings - "Reset settings" section added.
  • Dev - Admin settings - Files settings added as separate sections.
  • Dev - Admin settings - Minor changes: restyling; select option type changed to wc-enhanced-select; settings array saved as main class property.

1.2.0 - 2017-05-10

  • Fix - Call to undefined function is_shop_manager() error fixed.
  • Dev - WooCommerce v3.x.x compatibility - Order ID - using function instead of accessing property directly.
  • Dev - load_plugin_textdomain moved to constructor from init hook.
  • Dev - Plugin link changed from http://coder.fm to https://wpcodefactory.com.

1.1.1 - 2016-12-07

  • Dev - alg_current_filter_priority() modified for compatibility with WordPress since v4.7.
  • Dev - Language (POT) file updated.
  • Dev - Checking for Pro modified.

1.1.0 - 2016-11-28

  • Dev - "Form Template Options" settings section added.
  • Dev - Language (POT) file added.
  • Dev - "Emails Options" settings moved to separate section.

1.0.0 - 2016-09-05

  • Initial Release.