4906 comments found.
Hello,
I have some problems with the latest version of woocommerce upload files. When i upload a file with a product in my cart, the plugin seems to upload the file and says “Done” but the file is not attached to the order and can’t be seen in the order overview, nor is it sent to the set-up receiver email.
Can you please assist?
Kind regards,
Floris
To receive support you have to renew your support license. Once done I can try to perform some analysis on your installation to see if it possible to try to figure out the cause of the issue.
Meanwhile, go to the Options menu and under the Checkout – Files to order association method option select the When order is placed option to see if it fixes the issue.
Hi! Thanks for a great plugin
I need some file renaming. Currently our users are uploading files with not-masked characters like
(, #, ), /, etc., and shop admin is unable to open such files from wp-admin afterwards. Can we filter these characters somehow? TIA.
actualy the plugin already removes some “bad char” (like ’, “). If you want to add more char, edit the wcuf-frontend-cart-checkout-product-page.js you find inside the js folder and look for the wcuf_replace_bad_char function. Add for example the following statement
text = text.replace(/{/g,"");
to remove the { char. I hope this helps
thank you so much!
You’re welcome
If you have enjoyed my support and/or my plugin please consider leaving the 5 stars, I would really appreciate! 
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate to your purc
Very nice plugin, thank you. One question, i have: I want to activate the upload only for one product. How can i adjust it?
Thnx Frank
Ooops sorry, i found it. Its in the Uploads field options… ;o)
You’re welcome
If you have enjoyed my support and/or my plugin please also consider leaving the 5 stars, I would really really appreciate! 
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate to your purchases)
We have experienced a small bug in the plugin we think, and although easy for us to rectify wanted to ask you to fix it for future releases. It’s an easy fix and can apply it manually but it’s ‘best’ that the author of the plugin does it so that when the next release comes out fixing any other bugs we don’t have to manually track the things we’ve patched ourselves.
The error appears on the “order complete” page
Error as follows-
Error message; Notice: Undefined index: name in /home/reflexstage/repo/web/app/plugins/woocommerce-upload-files/classes/com/WCUF_Media.php on line 60 var_dump of $field_data inside get_media_preview_html() returns array(13) { [“id”]=> string(6) “0-1445” [“title”]=> string(155) “Upload Artwork Here – 1)select desired files 2)click UPLOAD SELECTED FILES 3)Proceed to checkout (A4 Table Top Roller Banner)” [“quantity”]=> array(1) { [0]=> string(1) “1” } [“absolute_path”]=> array(1) { [0]=> string(77) ”/home/reflexstage/repo/web/app/uploads/wcuf/3547/1445-0/59015_landscape-2.jpg” } [“url”]=> array(1) { [0]=> string(106) “http://reflexexhibitions.stage.christopherdarling.co.uk/app/uploads/wcuf/3547/1445-0/59015_landscape-2.jpg” } [“original_filename”]=> array(1) { [0]=> string(21) “59015_landscape-2.jpg” } [“source”]=> array(1) { [0]=> string(5) “local” } [“num_uploaded_files”]=> int(1) [“user_feedback”]=> string(0) ”” [“is_multiple_file_upload”]=> bool(true) [“ID3_info”]=> string(4) “none” [“upload_field_id”]=> string(23) “wcufuploadedfile_0-1445” [“tmp_name”]=> array(1) { [0]=> string(77) ”/home/reflexstage/repo/web/app/uploads/wcuf/3547/1445-0/59015_landscape-2.jpg” } }
I would expect it just needs [‘name’] changing to [‘original_filename’]
Look forward to hearing your thoughts
Kind regards
Richard
Hi,
thank you for reporting the issue, however int he WCUF_Media.php file on line 60 I do not find that statement. It could be due to the fact you are running an old plugin version. Could you try updating to the latest 31.8 version?
You can manually updating by redownloading the plugin from codecanyon or automatically by installing the Envato updater plugin: http://envato.github.io/wp-envato-market/dist/envato-market.zip. To activate the plugin, click on
Envato Market menu voice -> Settings and then click on the generate a personal token, follow the on-screen instruction and then paste the generated token.
Once done you will be notified in case of plugin updates and in case you will be able to automatically update them.
Once done report me if you still experience the issue!
Hello,
How easy is it to move the ‘upload file’ into its own section of the product page. I’d like to be able to have the ‘upload file’ option at the bottom of the page, in a tab system.
If so, i’d be purchasing today 
yes you can do that by following these two steps:
- use the [wcuf_product_page_upload_form] shortcode inside the product page in the place you wish to render the upload area
- in the Options menu, under the Disable upload field standard managment area select the Product pages option (this is mandatory otherwise the first step won’t work)
This feature cannot be tested on the demo site (I disabled the second option) however if you send me a private message (click on my name then use the low-right box) reporting your email I can send you the access to a private demo site where you can test that feature before purchasing to be sure it actually fits your needs and expectations!
Hi! I’ve sent the email, thank you 
Got it, I’ll answer shortly with login data.
Hi,
Image crop/rotation is not working correctly for images with transparency like .png images. When rotating the images all transparent pixels are converted to black pixels.
Steps to reproduce:
Note: These steps are reproducible in your demo.
1. Enable the ‘Crop Editor’.
2. Upload an image with transparent pixels.
3. Rotate the image (left or right)
Expected result:
The image is rotated with the original transparent pixels intact.
Actual result:
The image is rotated but all original transparent pixels are converted to black pixels.
After some investigation it seems like the plugin converts all images to jpg, regardless of original mime type.
woocommerce-upload-files/classes/com/WCUF_Media.php
function ajax_rotate_image()
{
$file = $_FILES["image"]['tmp_name'];
$degrees = isset($_POST['direction']) && $_POST['direction'] == 'right' ? -90 : +90;
$source = imagecreatefromjpeg($file);
$rotate = imagerotate($source, $degrees, 0);
ob_start();
imagejpeg($rotate);
$data = ob_get_contents();
ob_end_clean();
echo 'data:image/jpeg;base64,' .base64_encode($data);
imagedestroy($source);
imagedestroy($rotate);
wp_die();
}
And it seems that the cropper.js file also assumes we are always working with jpeg files:
getDataURL: function ()
{
[...]
context.drawImage(elem_to_render/* this.image */, 0, 0, sw, sh, temp_dx, temp_dy, temp_dw, temp_dh);
var imageData = canvas.toDataURL('image/jpeg', 0.85);
return imageData;
}
getImageDataURL: function()
{
var canvas = document.createElement('canvas');
var context = canvas.getContext('2d');
canvas.width = this.image.width;
canvas.height = this.image.height;
context.drawImage(this.image , 0, 0, this.image.width, this.image.height);
return canvas.toDataURL('image/jpeg', 1);
}
Also, non-jpeg images cannot be opened when the order has been placed, probably because the file was corrupted because of invalid mime types.
Thank you for reporting the issue. I’ve performed some tests and even properly manipulating the image as png via php it seems that when it is converted by the canvas in a base 64 string via the toDataURL method, the trasparency info are lost.
For now I’m not able to fix, I’ll however investigate further to try to fix it.
For what concerns the non-jpeg images, what do you exactly mean they cannot be opened when the order has been placed? As you can see from the demo site via this example order: http://www.codecanyon.eu/wcuf/wp-admin/post.php?post=4583&action=edit (user: demo pass: demo) there are two attached images (bmp and jpg) that can be properly downloaded and opened.
Could you provide a more detailed step by step guide on how to experience the issue?
Thank you for your response. Did you make sure you enabled the ‘Crop editor’ under “Image crop, dimensions and DPI restriction” on the settings page? By enabling this setting you are forcing the user to “Crop and Upload”. Currently this option is disabled.
You are referring to this option in relation to the second issue you reported?
If the Crop and Upload feature is enabled jpg and png can be properly accessed via the order page and other formats (like bmp or gif) image cannot be uploaded due to the fact they cannot be cropped by the plugin.
If you are referring to the second issue, could you report me a detailed step by step guide on how to experience the issue? eventually can you perform a test using the demo site? Thank you.
Steps to reproduce:
1. Enable the ‘Crop Editor’ in the admin.
2. Go to a product page (http://www.codecanyon.eu/wcuf/product/c-type-print/)
3. Select any ‘paper’ and ‘size’ option.
4. Click “Browse”.
5. Upload a .png image with transparent pixels.
6. Click ‘Crop and upload’.
6a. Notice that all transparent pixels are converted to black in the preview.
7. Click “Add to cart”.
8. Click “View cart”.
9. Click “Proceed to checkout”.
10. Click “Place order”.
11. On the “order received” page; click on “Download/View file”
or
11. In the admin, open the order that has just been placed and download the uploaded file from there.
Expected result:
The downloaded file should contain a valid .png image.
Actual result:
The downloaded file contains a corrupt image.
When trying to open the file on my Linux machine I get the following error:
"Could not load image '89427_demo.png'. Fatal error reading PNG image file: Not a PNG file"
Note:
I just checked the order using a Windows machine and it seems like Windows is able to open the file (with all transparent pixels converted to black) but when checking the EXIF data for the image you can see that the .png file has actually been converted to ‘image/jpeg’.
In my project I’m using the uploaded image to add it to a generated PDF file. But the PDF generator fails when trying to add the image due to the same issue; the file has a .png extension but is actually a jpeg.
Please let me know if you need more information.
yes for what concerns the trasparent to black pixel conversion, it was due to the issue related to the base64 conversion performed by the canvas object.
For what concerns the image mime type, try updating to the 31.7 version I’ve released few hours ago, it should fix it.
You can manually updating by redownload the plugin from codecanyon or automatically receive updates by installing the Envato updater plugin: http://envato.github.io/wp-envato-market/dist/envato-market.zip. To activate the plugin, click on
Envato Market menu voice -> Settings and then click on the generate a personal token, follow the on-screen instruction and then paste the generated token.
Once done you will be notified in case of plugin updates and in case you will be able to automatically update them.
I’ve just updated it and it seems to have improved so thank you for that.
Unfortunately transparent pixels still do not remain transparent but are now converted to white instead of black.
Yes, as reported earlier, it is related to canvas object that doesn’t properly handle transparent pixels metadata while converting to base64 strings.
I’ll investigate if any workaround is implementable to fix that, but it will require some time. I’ll let you know by replying here in case of news! 
I’ve done some debugging and testing and may have fixed the issue.
Could you please review the changes in this patch file: https://pastebin.com/MnEDsV60
Thank you very much for reporting and helping to fix that issue, I really appreciate!
I’ve just released the new 31.8 version that implements it (so you can safely update the plugin in future without worrying to lose the fix).
At last, if you appreciated my efforts to assist you, please consider leaving the 5 stars, I would really really appreciate! 
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate to your purchases)
Have a nice day! 
Thanks for getting back to me.
If you appreciated my efforts to assist you, please consider donating to my Paypal. I would really appreciate it. 
Did you apply the patch manually? It seems like only the changes to `cropbox.js` have been applied and not the (more important) changes to `WCUF_Media`.
Yes the WCUF_Media.php has been updated. As you can see from 41 to 45 the lines that were commented in the previous version (due to the fact I was still speriementing them) now are not commented anymore and are using the parameters you suggested. Same thing for line 284 and 285.
Is there any plan for this software to work on woocommerce 3.3 ?
Kind regards
Richard
The plugin fully supports WooCommerce 3.3. Please make sure to be using the latest 31.6 plugin version.
You can manually update by redownloading the plugin from its codecanyon page or automatically receive update by installing the Envato updater plugin: http://envato.github.io/wp-envato-market/dist/envato-market.zip. To activate the plugin, click on
Envato Market menu voice -> Settings and then click on the generate a personal token, follow the on-screen instruction and then paste the generated token.
Once done you will be notified in case of plugin updates and in case you will be able to automatically update them.
Let me know if you still experience any issue.
Hi, using Avada 5.4 and the field does not show on order details or thank you pages. I’ve set it to show in back end but it’s not visible. Any idea why?
it could be due to a misconfiguration or a 3rd party plugin interference. Have you enabled any visibility restriction option (role, payment gatway, disabled the “standard managment” via options menu, ...) ?
Can you try disabling your 3rd party plugin to see if you still experience the issue?
If you send me via private message (click on my name and then use the low-right box) the following:
- you email address
- Full admin access to the wp-admin area
- a FTP access
Is it possible to make the file upload field on the thank you page and order details page to be on the top of the page instead of the bottom of the page?
No, unfortunately is not possible
WooCommerce doesn’t expose any action that allows 3rd party plugin to inject content on top of that page.
Ok,
maybe I found an action that may help. It allows to render the upload field area just after the “Order details” title: https://www.dropbox.com/s/k64v7aggvbxu558/wcuf_thank_you.jpg?dl=0
Would it help?
Yes that would be perfect and much better!
Maybe adding a line of intro text above the upload fields and below the title would help too – something like “You can upload your files for your order below”
Ok,
meanwhile I’ve released a new version that now allows you to select between the before and the after table position! To do that, just go in the options menu and the use the field positioning option area.
You can give a try in the demo site! 
Excellent, i’ll take a look – thank you again! Definitely worthy of a 5* rating!
What about adding the intro text above upload fields? Can we add a field for that so we can let users know whatever general upload info we want to give at the top. Would be cool if we could make it a HTML field too (for example users would want to add info and maybe even a link so that we can tell them click here for more help on artwork uploads and templates)
For that I have to take some time to understand how to redesign the plugin on order to properly offer that feature
I’ll however let you know in case of news!
For now meanwhile you can use the upload field description textarea for that purpose. It accepts html code, so it should fit your needs! 
Ok that’s great, does this field show for each separate item though? Or is it possible to only show the text once above all upload fields?
Unfortunately it is showed for every field.
However another solution comes to my mind: to show just a one time text before the upload area, you can edit the view_order_template.php template file you will find inside the template folder inside the plugin.
On the top of it, on line 8: https://www.dropbox.com/s/ps3ri5w7fr64egg/wcuf_template.jpg?dl=0
you can add your html code! 
Perfect that will do for now. Thanks for all your help. I’ll be sure to leave a great review 
I would reeeeally appreciate!
Have a good night! 
Hi, one final question before purchase – is it possible to disable “delete files” option on front end for users. Once the user has uploaded their file, I don’t want to allow them to delete the file later (as we will process the order quickly and changes can’t be made easily). Can this be possible?
This means the Delete button and the X delete icon would need to be disabled/removed. Can this be done?
yes!
to do that you can mark the order as completed. Once done, the user (by default) will not longer be able to edit the uploaded files.
Hi, excellent plugin BUT one big thing that lets it down is when uploading files (on order details page) it required too many steps to upload a file. It’s such a simple thing and it’s complicating the process for no reason. Why do I need to add files and click upload files and then click save too? I only would select a file I want to upload anyway, can’t it automatically just upload the file for me?. Can i remove this step? Or if not then remove the need to click save after uploads. Even when i tested this plugin myself, I accidentally only clicked upload files and didn’t hit save as it’s confusing.
Too many steps. I want to simple click add files, once ready click one button to confirm my uploads (either save or upload files – whatever the button is called – just one button required). Can this be possible?
Hi,
actually you’re right. I’ve worked to remove that additional step! I’ve just released the new 31.5 version that no longer requires the user to click the “Save” button to confirm the uploads.
I hope you enjoy 
Ah that is absolutely brilliant! Thank you for taking the point on board and fixing it in less than a day. Can i see it working on the demo now too? I will now test to see and definitely will purchase. Very impressed with your support/response 
Thank you for your appreciation
yes the demo site has been updated to the latest plugin version, you can have a try there!
P. S.
if you decide to purchase please also consider leaving the 5 stars, I would really really appreciate! 
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate to your purchases)
hello we want the plugin to come out of one as soon as the product comes out for the client to add his image. is happening that first adds to the cart and there if it refreshes and leaves the plugin to add the image, but it would be mounting to the product double cart: 1 without image and another with the image. thank you for helping us to configure it in this way, send screenshots of the procedure, thanks
Hello,
unfortunately I’m not sure to completely understand the configuration you are trying to achieve.
However if you just want to make customer to be able to add the same product different times on cart (and each product with its own uploaded files), just use the Products addable multiple times to cart menu you find in the plugin menu. It will help you to configure which product can be added different times to cart (optionally you can enable this feature for all products). Let me know if this was what you needed 
Hi
Small question, but how do I change the page loading circle to a square?
Thank you!
Hi,
it is a gif named preloader.gif you find inside the img the folder. You can try replacing that image with the one you like.
Then eventually you should edit the wcuf-backend.css file you find inside the css folder and adjust the style rule for the .wcuf_preloader_image selecotr.
This should do the job 
Thanks Vanquish. I can’t seem to find the img folder though? Am I looking in the correct place? /themes/savoy/img ?
no, it is inside the plugin folder ( plugins/woocommerce-upload-files\img ).
the preloader.gif is the one used when adding a new upload field. the loader.gif is the one used when in the order details before reloading the page (its style is definde inside the css\wcuf-frontend-order-detail.css.php , selector #wcuf_infinite_bar ).
i am facing the problem with plugin
the plugin is not showing me the attach file in email
http://prntscr.com/ifk852i ticked all the options but not showing me my attach file
http://prntscr.com/ifkaad https://weloveprint.com.auHi,
what options have you enabled and what are you exactly trying to do? what do you exactly mean that it is “not showing me my attach file”? In the screenshot you shared you did not enabled the option to send notifications. So even if the option to attach files to the notification email is enabled, no file will be sent via notification just because you did not enabled the option to send them
For what concerns the order details screenshot, what do you exactly are you showing?
Note if you just want to show the upload files on the order details page, just enable the Summary box option on Order details page via the Options menu.
My plugin wont upload files anymore. Check can be done at www.cardeasy.nl
Upload will work but no files will be stored nor sent through
Hi,
it sounds strange that it suddenly stopped working. So the upload process is working but when the order is placed, no file is associated to the order?
Can you click on the Options menu and in the Checkout – Files to order association method * select the When order is placed option and report me if still experience the issue?
If so, few questions:
Have you altered you installation in any way (like checkout, cart or paymet process)? which version of the plugin are you running? can you update to the latest 31.3 version? Have your server enough space to store files? Can you try disabling all your 3rd party plugins to see if you still experience the issue? Thank you.
im updating the plugin now. this doesnt happen automatically? i downloaded the new files. uploading now. No new plugins were installed im trying to deactivate each plugin now, if update does not do the trick
to update the plugin you can manually do by redownloading from codecanyon (checking if a new version has been released by reading the changelog) or automatically by installing the Envato updater plugin: http://envato.github.io/wp-envato-market/dist/envato-market.zip. To activate the plugin, click on
Envato Market menu voice -> Settings and then click on the generate a personal token, follow the on-screen instruction and then paste the generated token.
Once done you will be notified in case of plugin updates and in case you will be able to automatically update them.
As you can image it is quite strange that a software stops working “suddenly”. There must be a 3rd party interference (maybe a new plugin you installed or an update or a customization you performed) that prevents it to work. Eventually try the Checkout – Files to order association method option I’ve reported in the latest comment to see if it fixes.
its the https plugin thats bugging
thanks for the awesome quick reply!!!
You’re welcome!
Glad you found the cause
P. S.
If you have enjoyed my support and/or my plugin please consider leaving the 5 stars, I would really really appreciate!
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate to your purchases)
Have a nice day! 
Hi, I’m having a weird jQuery error in my cart and checkout page: Uncaught ReferenceError: wcuf_unload_check is not defined
I’ve checked and there’s no other error/conflict of any other plugin or theme. The problem is that it blocks some normal woocommerce funcionality, for example if I switch country, the shipping costs aren’t updated automatically and other javascript components aren’t loaded correctly.
If I disable he plugin everything works perfectly.
usually that error is raised due to a 3rd party plugin interferece. It happens that some plugin are including some bad javascript code that prevent the browser to properly execute the WCUF javascript library to be properly executed. It could happen also due to the alteration of the normal woocommerce workflow/page templates.
Without any further clue it is quite hard to give you more information to the possible cause of the issue.
How are you displaying the upload field area: just enabling the special visibility options or using the shorcode system? Have you customized in any way the cart and checkout pages? Can you try disabling your 3rd party plugins and report me if you still get the error?
For further assistance I need you to send me via private message (click on my name and then use the low-right box) the following:
- you email address
- Full admin access to the wp-admin area
- a FTP access
- a detailed step by step guide on how to experience the issue
I will perform some more deep tests to see if it possible to determine the cause of the issue. Thank you.
Private message with details and credentials just sent! Thank you!
Hi
Just wondering if there’s a shortcode which I can use so I can add the upload form into a toggle that will be on my product order page?
The end result I would like the form to be housed in a toggle as I will be having two forms and want to expand and contract so it does not clog up the page.
Is this possible? Many thanks in advance.
Hi,
actually it is not possible
however if you can modify that template php code adding a custom action triggering inside that toggle, I can tell you how to customize the plugin to achieve what you ask.
thank you 
Hello. I’ve bought your plugin earlier, and it works great – However i’d like to hear about the possibility of changing the upload from the order detail page as an admin.
I have some orders with some uploads of wrong extension, so a thumbnail cant be generated. I’m showing the images uploaded from orders on a specific page.
I’m more than willing to buy your plugin, however I really need to be able to change the uploaded file on completed orders.
Within settings, I can activate “Upload fields are visible also for Orders marked as completed (Valid only for Order details page)?”
However it changes nothing – and the upload field is not available.
What to do?
Hi,
I’ve performed some tests and that option is properly working. You can test in also in the demo site.
Please make sure you are running the latest 31.3 version. For further support you need to renew your support license.
I’m currently on your demo site – I’ve activated the function in question, however I can’t seem to find the form within the Order detail-page.
What am I not understanding correctly here?
I’ll extend my support, and buy the latest version of the plugin – But I need to be certain, that this function is working properly.
make sure that the option to show the fields when the order is completed has been marked and that at least one upload field has been marked to be showed in the order details page. Once done as you can see from the following screenshot: https://www.dropbox.com/s/8k6l3he1egly9tg/wcuf_order_details_page.jpg?dl=0
the upload field form is then properly showed.
Aha.
Is there any way, to upload a new file within the WooCommerce backend on the order detail page when editing the order?
That’s the function I need… :-/
No, unfortunately the plugin for security reasons for now is not offering that feature.
How long does it take the plugin to create a zip file for the order? I just installed the plugin and testing it out, but i get a “file not found” page when i try to download order’s zip file.
If you are getting that error it seems that you server is not properly configured to create ZipArchive files. You should look for the server error file to get more clues about the error. In alternative, if you send me via private message (click on my name and then use the low-right box) the following:
- you email address
- Full admin access to the wp-admin area
- a FTP access
- a detailed step by step guide on how to experience the issue
Hi,
since some weeks if you klick on search file nothing happsens.. i bought now second license i thougt license was down. site is : ism-performance.de/shop
Hi, what do you mean the search is not working? you mean the filter “order with upload” filter?
However I got your private message. I’ll reply via email.