WooCommerce Upload Files


Add any file of any measurement on the product, cart, checkout, thanks, and/or order particulars pages! Preview photographs, add extra prices, charges, and plenty of extra choices!

LIVE DEMO (please report if not working)

url: https://www.codecanyondemo.work/wcuf/wp-admin/
consumer: demo
go: demo



The best way to robotically replace the plugin

To obtain computerized updates simply set up and configure the Envato updater plugin: https://goo.gl/pkJS33 .The official information that explains methods to configure it may be discovered within the following hyperlink: https://envato.com/market-plugin .


The shopper will have the ability to add a number of information on the Product web page, Order Element web page, and/or through the checkout course of in accordance with the bought gadgets …all achieved utilizing visible progress bars!
All of the uploads will likely be bounded to the order and optionally to particular merchandise

The store admin will discover these uploads instantly on the backend Order element web page or as an elective characteristic they are often despatched to the store admin e-mail tackle.

Observe: The plugin helps solely native WooCommerce product varieties (easy and variable), it doesn’t have any help for customized product varieties carried out by third social gathering plugins.


It’s quite simple! To configure a brand new add area go to Add information Configurator menu and add a brand new Add area.
As soon as created, the admin has simply to configure on which web page the sphere must be displayed (Product, Cart, Checkout, Order particulars) and configure its “visibility” in accordance with the filtering standards (enabled/disabled for particular merchandise, classes, or for each merchandise).
This may create one add area for each matching product (and optionally additionally for each single variant in accordance with some restrictions within the case of the Product web page) displayed within the chosen pages!
Moreover, for extra deep customization, can also be doable to specify another choices like:

  1. Discipline title
  2. HTML/CSS description
  3. HTML/CSS textual content confirmed after the add has been accomplished (it’s additionally doable to make use of some particular shortcodes to show the file record with picture/audio preview)
  4. max uploadable file measurement
  5. max and min photographs width, peak, and DPI (works provided that uploaded information are jpg/png. DPI knowledge is learn from picture EXIF. If it has no legitimate EXIF knowledge the add gained’t be permitted)
  6. allowed file varieties
  7. e-mail notifications
  8. allow a number of information add per single area
  9. …and way more!

You may optionally allow the choice to make use of safe hyperlinks. On this means, file hyperlinks will likely be masked and entry will likely be granted solely to the store admin and the shopper that owns the file. Observe, nonetheless, that within the case of cloud storage service, the direct hyperlink to the file will likely be nonetheless accessible by anybody. In case
of visitor prospects checkout, the file will likely be nonetheless accessible to anybody even when utilizing the masked URLs.


WCUF now permits you to save uploaded information in your DropBox or Amazon S3 account!

As soon as enabled the particular possibility on the plugin Choices menu, each time an order is positioned on the checkout (or when the shopper saves the uploads on the Order web page), all of the short-term uploaded information will likely be moved from the server to your DropBox/S3 account!

The plugin will create a folder in your DropBox account below Functions -> WooCommerce Add Information -> site_name -> {order_id} the place information will likely be saved. In case the add are bounded to prouct, you can see an extra sub listing product_id-variation_id.

In case of connection errors with DropBox…don’t worry! Information will likely be usually saved on the native server and you can be usually in a position to handle them by way of the order particulars web page! You’ll obtain a notification e-mail reporting error particulars.

NOTE: Take into account that short-term information are nonetheless saved in your native server, they are going to be deleted as soon as moved to DropBox. Guarantee that max_execution_time (script max execution time) PHP setting is correctly configured, in any other case
File transfer course of from native server to DropBox might fail in case of massive file dealing with.

Add limitless variety of information with out file measurement restriction

WooCommerce Add information mean you can add a limiteless variety of information, with none file measurement restriction. Due to its revolutionary chunk add know-how, it might probably add any file with out restriction.


As Store Admin, do you need to be notified each time a consumer uploads a file and also you need to obtain the obtain hyperlink instantly by way of e-mail? Now you possibly can!
For every add area, now you can allow an “E mail notification” possibility.
In case you like it’s also possible to obtain the uploaded information instantly in your inbox, because of the “Connect uploaded file” possibility. Moreover it’s also possible to specify a number of recipients e-mail addresses!

NOTE: Some servers have restrictions stopping wp_email() to ship attachments larger than 5MB. In case you are experiencing this type of drawback, you possibly can merely set up any SMTP emailer plugin. This sort of plugin will allow you to use any exterior e-mail companies (like Gmail, Outlook, or any SMTP server) to ship emails.


The WCUF plugin embeds a crop picture editor that enables your prospects to crop a picture earlier than importing it.
To allow the embedded editor, the store admin has simply to allow the choice within the Picture media file part within the
add area configuration software and set the Cropped picture width and Cropped picture peak values. These values are the sizes that the picture could have after the cropping course of.

Observe on rotation and max dpi: rotation course of is carried out server facet. In case of huge photographs, make it possible for your server has sufficient allotted reminiscence in any other case the rotation course of might fail. To extend server reminiscence attempt
enhancing the wp-confing.php file inserting the next assertion: outline( ‘WP_MEMORY_LIMIT’, ‘1024M’ ); (the place 1024M is the reminiscence you want to allocate, attempt growing whether it is no sufficient) or edit the PHP.ini file growing the memory_limit setting. Cropped photographs could have a max dpi of 96.


Optionally, is now doable to add information additionally earlier than including an merchandise to the cart! (on this case, some options will not be out there)

Store admin can configure the add fields to be seen instantly on the Product web page!
On this means, your prospects can add a file (or a number of information in accordance with the “a number of information for single area” possibility) instantly from the product web page.

NOTE: Add fields by default are related to distinct merchandise in cart. So if the consumer is including for instance Product 1 (amount 3) and you’ve got created 2 add fields, the plugin will show solely 2 add fields not 6 (as a result of there may be just one product within the cart with amount 3, not 3 distinct merchandise).
If you wish to add the identical product a number of instances to the cart (on this means the plugin will affiliate distinct add fields for every merchandise within the cart) use the Particular person merchandise characteristic defined subsequent.

In case of variable product web page, if the sphere has been configured to be seen earlier than including to the cart and checked the Allow one add area for each single product variation possibility, it will likely be confirmed solely as soon as a variation has been chosen.
Extra intimately: The consumer has to decide on a variation on the product web page and as soon as achieved, the plugin will present the related add area.

Moreover can also be doable to specify the place the uploads fields field must be displayed (earlier than/after variable choices dropdowns, product description, and so forth.) or utilizing the particular [wcuf_product_page_upload_form] you possibly can render the add kind inside any product textual content space supporting shortcodes!

NOTE: Be certain the theme used is utilizing all of the requirements woocommerce product web page template hooks.
If the [wcuf_product_page_upload_form] is used the usual add area administration for Product pages MUST been disabled (to try this Choices -> Pressured disabling add fields commonplace administration -> Product pages )


Would you want so as to add the identical product at completely different instances to the cart to be able to add distinct information? For instance, you need to promote Enterprise playing cards so that you want to enable your prospects so as to add that product a number of instances to the cart after which add distinct information for every merchandise? Now you possibly can!
Utilizing the Particular person merchandise configurator you have got simply to pick the product and/or the classes you want to be offered as a person. On this means every time the customers add one of many chosen merchandise,
the plugin will add to the cart as a definite product. On this means, the shopper will likely be in a position di add completely different information for every merchandise within the cart.


Each add will be configured to be seen on the cart, checkout, and order pages! Examine plugin choices to ultimately change area positioning!


Store admin may allow the required possibility. On this case on the store web page for all of the merchandise matching the add area, the Add to cart buttons are disabled and changed by a View button
that forces the Buyer to enter the product web page.

Within the product web page if the sphere has been configured to be seen earlier than the product is added to the cart, the plugin will attempt to disguise the add to cart button (with some theme not 100% WooCommerce compliant this characteristic couldn’t work). So the consumer is compelled to add information earlier than he is ready to the merchandise to the cart.

Moreover, on Checkout web page, if all not the required uploads haven’t been carried out, the shopper will be unable to position the order! The plugin will show a discover letting the Buyer know which uploads are lacking.

In case you have got configured the add area to be displayed after the product is added to the cart or if the merchandise was within the cart and the consumer deletes a required add, the plugin will attempt to deny the web page go away exhibiting a warning message till all of the required information haven’t been uploaded! (NOTE: some browsers, for safety causes, might not allow this denial).

For a much less aggressive requirement examine, go to Choices and within the Enable consumer to go away web page in case of required area choose Sure possibility. Doing so the consumer will likely be prompted solely at first-page go away with a warning message on the subsequent attempt he’ll have the ability to usually go away the web page.


Fields can optionally be seen/invisible in accordance with the present consumer function!


Fields can optionally be seen/invisible provided that the consumer selects particular fee gateways and/or delivery strategies!

NOTE: This area is just out there for fields displayed in Order particulars Thanks and Checkout pages.


Utilizing the Choices menu you possibly can select the place the add fields need to be positioned within the Product, Cart, and Checkout pages! (That is achieved utilizing the usual WooCommerce hooks, NO customized positioning)


By default for each area is feasible to add solely a single file, however optionally WCUF provides additionally the likelihood to add a number of information utilizing a single add area. On this case, can also be doable to configure the utmost variety of uploadable information and file measurement.

As soon as information are uploaded, WCUF will create a .zip file containing all of the uploaded information.
The variety of uploadable information for a single add area may also be “bonded” to product amount on the cart or bought (Choice will not be out there for Product web page if the “present add area earlier than including an merchandise to the cart” possibility is enabled), on this means the shopper can not add greater than X information for a area (The place X is the amount of the merchandise bought/in cart).

NOTE: A number of information for single area add characteristic requires the PHP characteristic “ZipArchive” generally out there in most internet host companies. If not lively, this characteristic will likely be not out there.


In case of a number of information add for a single add area, enabling the particular possibility by entering into Add information Configurator -> Choices menu and the choosing Sure possibility on the Allow amount choice part,
For every uploaded file will likely be enabled an enter field that may enable the shopper to pick a amount worth.
For instance, a printing service that’s promoting a 100×100 print service. A buyer is shopping for 5 gadgets of 100×100 print and he want to print 3 copies for the primary file and a couple of for the second.
Due to the amount possibility, he can set as amount for the primary uploaded file as 3 and a couple of for the second!

Product cart amount in accordance the variety of uploaded information

By way of the Choices allow the particular possibility that may robotically set the product cart amount in accordance with the variety of uploaded information (and their portions in case of a number of information fields)! This characteristic
is especially helpful if you wish to set particular reductions or assign product costs in accordance with the cart amount!

In case you want a software for that, give a watch to my WooCommerce Pricing & Reductions! plugin!

Product cart worth in accordance with the related additional prices

Is now doable to dynamically assign a worth to a cart merchandise in accordance with the additional prices related to its add fields! For instance, is now doable to assign a worth to a product in accordance with the variety of uploaded information!


WCUF permits setting additional charges for each uploaded file. It really works additionally if the a number of file uploads for the one area possibility have been enabled. The store admin can select to overcharge a hard and fast worth or a proportion of the unique worth (like an extra 20% additional for each uploaded file).

Moreover is feasible to set additionally an “Overcharge restrict” past which the shopper is not going to be overcharged for extra uploads and set “Additional value free” for the primary N uploaded information (together with amount).

For audio/video information (the commonest extension) can also be doable to overcharge an additional value per second (the media file has to have nicely encoded ID3 data, in any other case the plugin can not detect the wanted data)!

For PDF is now doable to compute additional prices in accordance with the variety of pages of the uploaded information. The store admin may set what number of free pages and the utmost variety of additional chargeable pages.
NOTE: The PDF file should be a legitimate PDF encoded file.

To use a Low cost for every uploaded file you have got simply to set a damaging worth within the additional value worth! On this means, the plugin will apply a damaging payment to the cart to use the low cost!

Checkout subtotal proportion discout

For every add area, it’s doable to use a proportion low cost to the Checkout subtotal if no less than one file has been uploaded.


Utilizing the Textual content menu voice is feasible to customise button texts used to add, delete, crop, and so forth. information.
In case your website is utilizing WPML, you possibly can set button texts for every language! You’ve solely to change languages utilizing the WPML language selector after which set texts!


Add area titles, descriptions, disclaimer texts, and so forth. will be translated utilizing the String translation WPML menu and deciding on the woocommerce-files-upload-field-text area!


Add Fields in Cart, Checkout, Order and Shortcode pages are actually responsive. They’re grouped and displayed in a row and the row component’s width will be set by way of the choices menu. By default, the plugin
shows one add area per row.


Would you want to indicate the add fields kind solely on a selected web page? or perhaps would you wish to render the add kind in a customized space or in a textual content space through the checkout course of? Now you possibly can!
WCUF plugin exposes the next shortcodes for use in accordance with your wants:

  1. [wcuf_upload_form]: It’ll render an add kind with all of the add fields that match the merchandise at present added to the cart in any space supporting the shortcode system. It CAN NOT be used within the Merchandise, Cart, or Checkout pages.
  2. [wcuf_product_page_upload_form]: It’ll render the Product web page add kind in any space supporting shortcode system. It may be used ONLY on the Product web page.
  3. [wcuf_cart_page_upload_form]: It’ll render the Cart web page add kind in any customized space supporting shortcode system. It may be used ONLY on the Cart web page.
  4. [wcuf_checkout_page_upload_form]: It’ll render the Checkout web page add kind in any customized space supporting shortcode system. It may be used ONLY within the Checkout web page.
  5. [wcuf_upload_form_last_order]: It’ll render an add kind with all of the add fields that match the merchandise purchased within the final order for the at present logged consumer. It CAN NOT be used within the Merchandise, Cart, or Checkout pages.

The particular shortcode for Product, Cart, and Checkout pages are helpful if you wish to present the add fields in a customized space like tabs or textual content area (each of them should help the shortcodes system).

NOTE: With the intention to use [wcuf_product_page_upload_form], [wcuf_cart_page_upload_form] or [wcuf_checkout_page_upload_form] you should disable the usual add area administration by going to Choices -> Disable add area commonplace managment and
choose the pages during which you might be utilizing the shortcode. The shortcodes can be utilized just one time per web page.

My Account web page and computerized add fields show for final order

WCUF can optionally present add fields for the final positioned order instantly from the My Account web page! To allow this characteristic, it’s important to allow this show possibility from the Choices common menu.


WCUF permits additionally to show a picture preview (just for commonplace jpg/png compressed information) and audio preview (mp3/wav information) for the uploaded media information. to try this, it’s important to use the particular shortcode [file_name_with_media_preview] within the “Textual content confirmed after the add is accomplished” area through the add area configuration.

Cart and Checkout product desk preview

You may optionally show uploaded photographs preview (just for commonplace jpg/png compressed information) for every product contained in the product desk displayed on each Cart and Checkout pages!

Moreover, on the cart web page, product thumbs will be changed with the preview of the uploaded photographs… simply allow the particular choices you want by way of the choices menu!


From the Choices menu is feasible to permit the show of the uploaded information record within the Cart, Checkout, and/or Order particulars web page.


The plugin provides a brand new column “Add counter” to the orders desk. This may allow you to to simply observe the variety of uploads made by the customers for every order.


Optionally, the store admin for every add area can allow the suggestions textual content and a “Disclaimer” possibility. On this means, the consumer will have the ability to save suggestions related to the uploaded information, and ultimately, he will likely be compelled to just accept the disclaimer earlier than with the ability to add the information.


Give some suggestions to your customers! Throughout file add on the order, the web page will likely be displayed a progress bar.


Instantly from the Orders record, you possibly can delete all of the uploads for the chosen orders.

WC Multivendor

For WC Multivendor customers, uploaded information will be additionally downloaded from the Vendor frontend order particulars web page!


optionally if no less than one add is carried out from Order particulars or the Thanks pages, the order standing will be robotically modified to the one chosen by way of the choices menu!
To allow this characteristic, simply use the Choices menu!


On order deletion, each add is deleted too.

WooCommerce template compliance be aware

In case you are utilizing a theme/third social gathering plugin implementing a customized add to cart capabilities on the product web page (like including the product to the cart with out reloading the web page) or that alters the requirements Checkout, Cart, Order and Thanks pages, the WooComerce Add Information plugin might not work. It has been designed to work on commonplace templates so altering its construction or conduct might trigger the plugin to not work as anticipated or sudden behaviors. In case you are utilizing any customized template, restore its commonplace conduct earlier than utilizing the plugin.

Motion and hooks

  1. wcuf_order_sub_folder_name (filter): triggered when creating order folder containing uploaded information. By default, if information are bounded to product, the subfolder has to following title construction {product_id}_{variation_id}. The motion permits customizing that title. Use the next signature for the handler: your_function_name($folder_name, $product_id, $variation_id) and hook utilizing the next: add_filter(‘wcuf_order_sub_folder_name’, ‘your_function_name’, 10, 3);


The plugin has been designed and examined just for the desktop model of Chrome, Firefox, and Edge. It hasn’t any official help for cell browsers. The plugin, to correctly work, requires totally HTML5 compliant browsers in any other case it couldn’t work as anticipated and result in sudden conduct.

Within the case of cell browsers, be sure to are utilizing a completely HTML5 compliant browser (like Chrome) and the newest model of the OS. In case of any concern (for instance: because of the correct help of HTML5 requirements because of the utilization of an outdated model of the browser, of the OS, or as a consequence of poor {hardware} assets or every other interference) there isn’t something that may be carried out to repair these third social gathering points. Guarantee that the information are correctly saved regionally, if you’re utilizing any third social gathering controller
to go a reference to a distant file, will forestall the browser from correctly offering the file data required by the plugin to be able to carry out the add course of.

The plugin requires the browser to be totally working. In case any browser suffers from a selected concern (like a cell browser that in a selected model will not be able to a number of deciding on information as a consequence of a bug that stops its native controller from correctly working) stopping the plugin from correctly working, report back to its developer or swap to a completely working one. I’m can not maintain accountable for third-party software program points.

WooCommerce Add Fields screenshots




[file_name] and [additional_costs] shortcodes in motion on “Already uploaded” textfield

Pictures preview after add




















= 68.9 - 08.09.22 =
* Crop controller: photographs are actually loaded with zoom 0

= 68.8 - 07.09.22 =
* Fastened a problem associated to the "The computed payment will likely be used as product cart worth" possibility in case of a number of file add

= 68.7 - 05.09.22 =
* Minor enhancements

= 68.6 - 31.08.22 =
* Minor bugfix

= 68.5 - 25.08.22 =
* Minor bugfix

= 68.4 - 25.08.22 =
* Fastened a problem that prevented the plugin to be correctly activated

= 68.3 - 25.08.22 =
* Fastened a problem that prevented the plugin to be correctly activated

= 68.2 - 24.08.22 =
* Fastened a battle with the ACF plugin

= 68.1 - 16.07.22 =
* Fastened a problem associated to the amount selector

= 68.0 - 10.06.22 =
* Fastened a problem associated to the attribute choice

= 67.9 - 30.05.22 =
* Optin to override the "Product cart amount because the variety of uploaded information" possibility by way of the add fields

= 67.8 - 21.05.22 =
* CSS bugfix

= 67.7 - 21.05.22 =
* Fastened a problem associated to the amount selector

= 67.6 - 18.05.22 =
* Added choice to override the worldwide "amount selector" possibility

= 67.5 - 11.05.22 =
* Minor bugfix

= 67.4 - 17.04.22 =
* Improved Amazon S3 help

= 67.3 - 29.03.22 =
* Improved DropBox assets administration

= 67.2 - 29.03.22 =
* DropBox library replace

= 67.1 - 08.03.22 =
* Inner library replace

= 67.0 - 05.03.22 =
* Minor UI Enhancements

= 66.9 - 03.03.22 =
* Fastened a problem because of the amount was not being correctly set

= 66.8 - 16.02.22 =
* Minor UI repair

= 66.7 - 08.02.22 =
* Fastened a problem that prevented correctly computing pdf pages

= 66.6 - 05.02.22 =
* Minor bugfix

= 66.5 - 29.01.22 =
* Minor bugfix

= 66.4 - 29.01.22 =
* Improved visitor session administration

= 66.3 - 27.01.22 =
* Improved session administration

= 66.2 - 26.01.22 =
* Fastened a problem that prevented checkout to be correctly carried out

= 66.1 - 24.01.22 =
* Session administration enchancment

= 66.0 - 24.01.22 =
* Minor enchancment

= 65.9 - 22.01.22 =
* Session administration enchancment

= 65.8 - 19.01.22 =
* Improved S3 cloud storage administration

= 65.7 - 17.01.22 =
* Minor enhancements

= 65.6 - 13.01.22 =
* Fastened a problem that prevented file kind and measurement restriction checks to be correctly carried out on
  the order particulars web page when importing a single file

= 65.5 - 04.01.22 =
* Fastened a javascript concern that stops information to be correctly uploaded

= 65.4 - 30.12.21 =
* Minor enhancements

= 65.3 - 09.12.21 =
* Fastened a problem associated to the picture rotation (crop)

= 65.2 - 30.11.21 =
* Minor CSS enhancements

= 65.1 - 23.11.21 =
* Minor replace

= 65.0 - 19.11.21 =
* Fastened a problem with the shopper facet cropper

= 64.9 - 13.11.21 =
* Fastened a problem associated to the "delete information" button textual content

= 64.8 - 12.11.21 =
* Minor visible enhancements to the choices menu
* Added choice to disable the auto add characteristic within the Thanks and Order particulars pages

= 64.7 - 09.11.21 =
* Minor enchancment associated to the cart web page administration

= 64.6 - 08.11.21 =
* Fastened a problem associated to the Woocommerce Checkout Location Picker raised on the checkout web page

= 64.6 - 29.10.21 =
* Added a brand new possibility to pick the crop picture rotation methodology

= 64.5 - 22.10.21 =
* Added french translation

= 64.4 - 19.10.21 =
* Minor enchancment

= 64.3 - 18.10.21 =
* Added new javascript occasion "onSingleFileDeleComplete" raised after a single file has been deleted

= 64.2 - 13.10.21 =
* Added choice to exclude fields from the "Product cart amount as variety of uploaded information" possibility

= 64.1 - 07.10.21 =
* Added new customizable texts

= 64.0 - 06.10.21 =
* Improved picture preview show on automobile desk

= 63.9 - 04.10.21 =
* Typo
* Amount is now displayed additionally within the cart desk previews

= 63.8 - 30.09.21 =
* Necessary uploads: possibility to cover or disable the "add to cart button" 

= 63.7 - 27.09.21 =
* Fastened generic preview not exhibiting for tiff photographs

= 63.6 - 19.09.21 =
* Fastened a problem associated to the activator

= 63.5 - 16.09.21 =
* Fastened a problem associated to the activator

= 63.4 - 01.09.21 =
* Minor enchancment

= 63.3 - 01.09.21 =
* Spanish translation up to date (thank to wiorma)

= 63.2 - 24.08.21 =
* Fastened a problem with the DPI restriction

= 63.1 - 23.08.21 =
* Fastened a problem associated to translation

= 63.0 - 23.08.21 =
* Libraries replace

= 62.9 - 27.07.21 =
* Up to date inside libraries

= 62.8 - 22.07.21 =
* Added new "wcuf_upload_completed" filter that passes the trail to a simply uploaded file

= 62.7 - 20.07.21 =
* Fastened a problem when rotating a picture, the web page was scrolling on the highest of the web page

= 62.6 - 15.07.21 =
* Added new customizable textual content

= 62.5 - 10.07.21 =
* Fastened the entire reported on the Order particulars web page

= 62.4 - 08.07.21 =
* Fastened a problem associated to the necessary possibility and the add to automobile button show

= 62.3 - 07.07.21 =
* Fastened a problem that prevented audio information to be correctly uploaded

= 62.2 - 07.07.21 =
* Fastened a javascript concern associated to the audio file administration

= 62.1 - 02.07.21 =
* Fastened some javascript points

= 62.0 - 30.06.21 =
* Minor enhancements



Related Posts