Code

Discussion on WooCommerce Upload Files

Discussion on WooCommerce Upload Files

Cart 7,568 sales
Recently Updated

vanquish supports this item

Supported

4906 comments found.

Hello. If the customer uploads from the product page and click add to cart. If they click edit (edit product in the cart) will this remove the files that were uploaded for that product?

Hi,
by default woocommerce hasn’t any feature to edit product on cart. Are you using any particular plugin to do that?

However the associated uplaoded files should not be lost. The plugin bouds them according the product id and an unique id assigned when the product is added to cart.
However if you are using any custom plugin that alter the cart, this may interfere with the upload field plugin causing unforseen behaviour.

Thank you for the quick reply. I am using extra product plugin. Do you have a demo

If send me a private message (click on my name and then use the low-right box) with your email address, I can reply with mine where you can send that plugin.
Once done I can setup a private demo site where you can test both together in order to be sure that actually they work as you expect!

if i change order status. I want to stop customers from making changes to photos. customer uploaded and ordered. plugins can change the status to hold on . this is good. they can change photo. this is ok. if i make “processing” stutatus. customers should not change anymore photos. how can i do that

Hi,
in the version you are currently used it cannot be done. However I’ve just released the new 32.6 version that implements an option to hide the upload field according the order status (the option area is named Visibility Order status .

You can manually updating by redownload the latest version from codecanyon or automatically updating 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.

Note: updating you will lose the translation file. However if you send me a private message (click on my name and then use the low-right box) sending your email address I’ll reply with mine where you can send me the translated .po file for your language. I’ll include in the next plugin version so you won’t lose translation updating.

https://hizliresim.com/5DXpDR

i cant translate “uploaded file:” part. i used your recommend translate program -poedit but it didnt translate that too.

ok it solved “upload file configurator” setting translated it

yes, it the default text used for the upload field description and can be customized/translated from the upload field configurator page :)

i have problem to translate the plugin. i use loco translate. “uploaded file:” word is not tanslate. i can translate all plugin but there was not translating. why loco translate is not translateing that part

Hi,
To which string are you referring? were it is displayed?
Try using a different editor like https://poedit.net/ and to make sure you are runnign the latest 32.5 plugin version.
Note that some texts can be translated/customized via the Texts menu.

Salve, è possibile allegare il file caricato all’email d’ordine inviata da woocommerce anziché inviare un’email separata? Grazie

Salve,
no, purtroppo il plugin non offre tale funzionalità.

È possibile raggiungere il file caricato per ogni ordine in modo che possa integrarlo io nel template dell’email di WC?

Si è possibile. Le informazioni riguardanti i file associati all’ordine possono essere recuperati mediante il seguente codice:

global $wcuf_upload_field_model ;
$files_metadata = $wcuf_upload_field_model->get_uploaded_files_meta_data_by_order_id($order_id);
dove $order_id è l’id dell’ordine. la variabile $files_metadata è un array multidimensionale contenente le informazioni relative ai nomi, path, url, ID3, etc. raggruppati per upload field (gli indici della struttura usano il seguente schema {upload_field_id-product_id-variation_id} ).
Per conoscere la sua struttura è sufficiente stamparlo attraverso il seguente frammento di codice:
wcuf_var_dump($wcuf_upload_field_model );

Trova un esempio di seguito:

array(2) {
  ["21-9"]=>
  array(11) {
    ["absolute_path"]=>
    array(2) {
      [0]=>
      string(44) "dropbox:/woocommerce-demo/54/79652_test2.pdf" 
      [1]=>
      string(44) "dropbox:/woocommerce-demo/54/21145_test3.jpg" 
    }
    ["url"]=>
    array(2) {
      [0]=>
      string(96) "http://sito.com/demo?dropbox_get_item_link=%2Fwoocommerce-demo%2F54%2F79652_test2.pdf" 
      [1]=>
      string(96) "http://sito.com/demo?dropbox_get_item_link=%2Fwoocommerce-demo%2F54%2F21145_test3.jpg" 
    }
    ["original_filename"]=>
    array(2) {
      [0]=>
      string(15) "79652_test2.pdf" 
      [1]=>
      string(15) "21145_test3.jpg" 
    }
    ["source"]=>
    array(2) {
      [0]=>
      string(7) "dropbox" 
      [1]=>
      string(7) "dropbox" 
    }
    ["title"]=>
    string(23) "Upload test (Product 1)" 
    ["num_uploaded_files"]=>
    int(2)
    ["id"]=>
    string(4) "21-9" 
    ["user_feedback"]=>
    string(0) "" 
    ["ID3_info"]=>
    string(4) "none" 
    ["quantity"]=>
    array(2) {
      [0]=>
      string(1) "1" 
      [1]=>
      string(1) "1" 
    }
    ["is_multiple_file_upload"]=>
    bool(true)
  }
  ["24-9"]=>
  array(11) {
    ["absolute_path"]=>
    array(2) {
      [0]=>
      string(47) "dropbox:/woocommerce-demo/54/img1.png" 
      [1]=>
      string(74) "dropbox:/woocommerce-demo/54/img2.jpg" 
    }
    ["url"]=>
    array(2) {
      [0]=>
      string(99) "http://sito.com/demo?dropbox_get_item_link=%2Fwoocommerce-demo%2F54%2img1.png" 
      [1]=>
      string(126) "http://sito.com/demo?dropbox_get_item_link=%2Fwoocommerce-demo%2F54%2img2.png" 
    }
    ["original_filename"]=>
    array(2) {
      [0]=>
      string(18) "23266_image.PNG" 
      [1]=>
      string(45) "86700_image.jpg" 
    }
    ["source"]=>
    array(2) {
      [0]=>
      string(7) "dropbox" 
      [1]=>
      string(7) "dropbox" 
    }
    ["title"]=>
    string(18) "Test 2 (Product 1)" 
    ["num_uploaded_files"]=>
    int(2)
    ["id"]=>
    string(4) "24-9" 
    ["user_feedback"]=>
    string(0) "" 
    ["ID3_info"]=>
    string(4) "none" 
    ["quantity"]=>
    array(2) {
      [0]=>
      string(1) "1" 
      [1]=>
      string(1) "1" 
    }
    ["is_multiple_file_upload"]=>
    bool(true)
  }
 }

Hi! I would like to replace the upload title with the file name on the summary page. Help!

I will, thank you! I just noticed that we were speaking of two different things. That’s why it wasn’t – and still isn’t – working for me :) I see that there is a specific summary box I can turn on and off – I have that turned off, because the page shows the order twice if it is on.. It’s the order wording I am trying to change, because it makes no sense to have the title there on every file uploaded. I will look into if I am able to make the customization I want on my own. :)

I will, thank you! I just noticed that we were speaking of two different things. That’s why it wasn’t – and still isn’t – working for me :) I see that there is a specific summary box I can turn on and off – I have that turned off, because the page shows the order twice if it is on.. It’s the order wording I am trying to change, because it makes no sense to have the title there on every file uploaded. I will look into if I am able to make the customization I want on my own. :)

You’re welcome :)

Hi again :-),

I am sorry – re-posting from the account with purchase: I have been using the plugin for couple weeks now on my site www.bffwear.com, really like the functionality and the options it offers, but I have 2 issues that I really need to address: 1) Users add the picture to the order but in about 25% of time it fails to create folder in Dropbox and upload the file, so they are actually permitted to submit the order without the upload and I then have to manually ask the file to be e-mailed to us. 2) It does not seem to create different sub-folders for different product variation, meaning let’s say the product color is the same but the sizes are different and the picture for each size is different – the download lumps them all in 1 folder and I can’t tell which goes to what product. But if the Color variation is different a.k.a. different product it will create sub-folder for the same order.

Please let me know if you have any suggestions how to address it.

Thank you!! Marta

No problem :)
For what concerns your questions:
  1. It seems you have some issues with your DropBox account. The plugin sends the file to the DropBox services and if any error is encountered, the opeartion and the files are stored locally and associated to the order. Could you check if your account has enought space left to store files? Are you sure that users are not deleting files in a second moment via the order details page? It also could depend to the fact you are using a custom payment workflow that is not landing into the thank you page after an order is placed. Is that possible? if so click on the Options menu and under the Checkout – Files to order association method section select the When the order is placed option. If even doing in this way you still experience the issue, if you share me via private message an access to your backend and FTP and report me a detailed step by step guide on how to reproduce the issue I can try perform further analysis.
  2. the folder structure is created in this way: {order_id}/{product_id-variation_id} . However make sure that you have enable the Enable one upload field for every single product variation option in the upload field configuration. Otherwise the variation_id will be 0 and all variation uploads will be stored in the same directory

I think you are absolutely right on both points. The way my checkout is set up – I am using 1 Click Upsell funnel, so then if they click out of it and never land on Thank you page = no saved file. I mean the time will tell for sure, but I am almost certain that was it. Also, that second “variation” issue – you are right, the option was unchecked. Thank you SO much for your help, it really is terrific plugin!

Very glad to hear that! Thank you for your appreciation :)
P. S.
If you have enjoyed my support and/or my plugin please consider leaving the 5 stars, I would really reeeeeally 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! :)

Image thumbnails are not showing up with my uploads. Have tried various settings can’t get it to work.

Thanks

Hi,
this usually depend on a server issue that is not properly able to serve image preview.
However without further clues I’m not able to give you more information.

However if you send me via private message (click on my name and then use the low-right box) the following:
  1. you email address
  2. Full admin access to the wp-admin area
  3. a FTP access
  4. a detailed step by step guide on how to experience the issue

I can perform some analysis to see if it possible to get more clues about the issue to eventually report to your server maintainer in order to fix it.

Hi there! I have been using the plugin for couple weeks now on my site www.bffwear.com, really like the functionality and the options it offers, but I have 2 issues that I really need to address: 1) Users add the picture to the order but in about 25% of time it fails to create folder in Dropbox and upload the file, so they are actually permitted to submit the order without the upload and I then have to manually ask the file to be e-mailed to us. 2) It does not seem to create different sub-folders for different product variation, meaning let’s say the product color is the same but the sizes are different and the picture for each size is different – the download lumps them all in 1 folder and I can’t tell which goes to what product. But if the Color variation is different a.k.a. different product it will create sub-folder for the same order.

I would really appreciate your help figuring this out.

Thank you so much! Marta

Hi Marta,
To ask for support you have to use the account you used to purchase the plugin. For the one you just used I do not see any valid purchase and support liceses associated to it.

Hi there, I am just wondering, will this plugin will work with Easy Photography Portfolio and Contact 7 plugins.

In case if its conflict with any of these plugins, can I able to get the money back or will you give support to fix the issue?

thanks

Athavan

Hi Athavan,
the plugin hasn’t any particular support for those plugins and their featurs. They should not be interfering. Unfortunately if they cause any interference is not said tha it can be fixed by editing the Upload fields scripts.

However if you send me a private message (click on my name then use the low-right box) reporting your email, I can reply with mine where you can send me those plugin. I can then set up a private demo site where you can test them in order to be sure they actually work as they expect.

Hi,

I can not write my auth key of dropbox. When I press the update button, it runs empty, and I can not save the page.

Likewise when I apply the shortcode on my product page, it does not want to record.

What is happening ? Thank you for your help.

I use Wordpress Version 4.9.4 the latest version of woocommerce. PHP version 7.0.27 / My SQL: 5.6.34 and Avada 5.4.2

So far there isn’t any known interference with any of those plugin you listed. No user reported any incompability/issue using those plugins.

For what concerns the [...] I apply the shortcode on my product page, it does not want to record[...], is this issue happening even if you disable the WooCommerce Uploads Files?
I’ve reperformed some tests even using the demo site and I was not able to reproduce such an issue. It sounds strange because the upload fields is neither adding any metabox to the product page or processing product page data on save, this is why it sounds strange that the cause could be it. Could you eventually use the demo site to perform the steps you make on product page when you experience the (and eventually report me step by step on how to reproduce)?

Have you tried to disable those plugins and leave the Uplaod Files enabled to see if those issue still happen? What test did you exactly perform to identify the Upload Files as the cause of that save data issue?

good,

I identified my problems.

first problem: when i opened wp-config.php and functions.php that would register them in utf-8 with bom. now, I record them in simple utf8.

Second problem: my WP_DEBUG was in “false”. Now I put in “true”.

And your plugin works perfectly!

Sorry to have bothered you. And thanks for your quick answers

Glad to hear that! no problem, you’re welcome :)

If you have enjoyed my support and/or my plugin please also consider leaving the 5 stars, I would really reeeeally 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! :)

Once an order is marked as complete the files do not carry over if the customer chooses to Order Again from the order detail page (meaning they will have to re-upload their files). Is there a workaround for this?

Hi,
no unfortunately the plugin hasn’t such a feature and there is not an easy and fast workaround for that.

However it is a nice suggestion. I will see if it will be possible to include this new option in a plugin future release, but for now I cannot give you any ETA.

Hello – Is it possible to pass the Individual ID to a multiple file zip download? So instead of the ZIP file being $order_id.’wcuf_files.zip its called $order_id$individual_id_wcuf_files.zip ?

Hi,
unfortunately the plugin hasn’t such a feature. However you can edit the WCUF_File.php file you find inside the classes\com folder and on line 107 edi the:
header('Content-Disposition: attachment; filename="'.$order_id.'_wcuf_files.zip"');

statement by adding before/after the $order_id the variable you wish. In this way the downloaded zip file will have an additional $individual_id (that could be a math random or what you wish). I hope this helps :)

Hi I just bought this and it works great. Very nice plug in I must say.

But I got some small questions.

1: Can I translate it to Swedish? Some of it is in Swedish and some english.

2: How do I make changes so this shows only on some of the products?

Regards Mikael

The plugin hasn’t any feature to attach uploaded photo in the new order email.
For what concerns the uploaded files not showed in the order it could depend to the fact that you are not properly landing into the thank you page after a paymenth has been performed. It could be due to you are aborting the payment or because you are using a custom gateway or because you have customized the thank you page.
However to avoid this kind of issue, click on the Options menu and under the Checkout – Files to order association method section select the When the order is placed option.

Hi I really love this plug in but I have a new question. Is it possible to add a link in the text I have written? I want my customers to be able to click on gallery and come to my gallery of pictures? You can see it here: https://www.silentdecor.com/produkt/akustiktavla-ren-polyester/

Hi,
what do you exactly mean with “add a link to the text” ? a link to what exactly? and with “to click on gallery and come to my gallery of pictures” ? could you provide a more detailed description? unfortunately I’m not able to understand the scenario.

Hi I need these steps for taking in print orders How can i get help from your plugin ?

1-customer select photos from computer or mobile phone

2- customer choose desired print size for each photo (we have 5 sizes)

3-Crop, resize and adjust

4- upload photos on our website

5- payment (total amount by number of photos

6-We get photos on our server

Thanks

Hi,
the plugin has some features that may help to achieve that. You could try the following setting:
  1. Create a variable product, each variation rapresent one of the 5 sizes
  2. Via the Products addable multiple times to cart enable that feature for all product or just the variable product you created
  3. Create a new upload field and enabling the Crop editor and setting the final image size. Note that the crop editor cannot be enable in case of multiple file upload field.
  4. Optionally mark the field as mandator
  5. Enable the Extra costs Cart fee setting the cost of each upload. This will be an extra cost added to the product cost as fee.
  6. If you want the product price to be computed as the cost of the uploads only, enable the Extra costs Fee as product cart price option.
NOTE: in your case the 4. and 5. points according to me are unuseful. Just set the variation price as the cost of the upload and you’re done. This is because the crop editor option denies to use multiple files upload feature.

I’ve setted up an example upload field for your case named “Photo”. You can see it in action on the following product: http://www.codecanyon.eu/wcuf/product/photo/ . Each upload as a cost of 4$ and it has be configured to be used as product price (as I said however you can directly use the variation price). Here the result: https://www.dropbox.com/s/2sznt1ny9hwkynj/wcuf_cart.jpg?dl=0

The workflow is then: select a variation then upload a file, crop it and add the product to cart. Repeat the process for all the files you need to upload.

If you need further info, feel free to ask!

Thanks Seems right direction however i need to be able to add multiple photos and then eesize them and pay for all at once

I guess it needs some customization

Can you implement our needs ?(paid service ofcourse)

No, there isn’t such an option and unfortunately I do not offer any customization service.

Salve, ho acquistato il plugin e installato sul sito https://pennepersonalizzate.org/. Stiamo riscontando problemi perché il campo upload viene mostrato solo al checkuot anche se nelle impostazioni abbiamo impostato tutte le possibilità. Wordpress e Woocommerce sono aggiornati alle ultime versioni. Resto in attesa

Salve,
ho analizzato le pagine prodotto e carrello e non sembra esserci errori javascript che potrebbero interferire con la renderizzazione dei campi.

Il malfunzionamento potrebbe quindi dipende da un errata configurazione del campo upload. Alcune domande:
  1. Per caso è stata abilitata una delle opzioni Disable upload field standard managment nel menu Options?
  2. Durante la configurazione del campo, è stata abilitata qualche opzione nella sezione Visibility Payment gateway ?
In caso affermativo, disabilitare le opzioni abilitate. Per quanto riguarda il punto 2, in caso una qualsiasi delle opzioni venga abilitata, il campo upload viene visualizzato solo nella pagina checkout, dettaglio ordine e nella “thank you” page.

When trying to upload items they go to 100% then nothing happens it just goes back to select your file field. Can you please help with this?

Hi,
it could be due to a 3rd party plugin interference. Is this the first time you experience the issue? Could you try disabling all your 3rd party plugins and report me if you still experience the issue?
If so, if you send me via private message (click on my name and then use the low-right box) the following:
  1. you email address
  2. Full admin access to the wp-admin area
  3. a FTP access
  4. a link to a page wher I can experience the issue

I’ll perform some tests to see if it possible to figure out the cause of the issue. Thank you.

I just loaded the plugin, and love so many features, but am disappointed in the cropping feature. My products are high-resolution custom prints – with customers loading in their own photos, and the way the crop works currently, it is nearly impossible to crop to the outside edge of the photos. Our customers will expect to be able to crop to the very edge pixels of their image with no white space. Ideally, you would need another option in your configurator that would be “Crop to edge using crop ratio” (or something like that), so if you put for your crop size a width of 3 and height of 2, then it would use that 3:2 ratio for the crop to come out as large as possible (to the edges of the image) without extending beyond the image. The other feature would be to only allow the user to move the crop box within the image, and not beyond showing any white space. This would allow customers to better choose the maximum size of their photo getting to the edge of their images, but not beyond. Right now, the current crop feature would just frustrate my customers. To see an example of how other websites do this very well with their crop tools: https://blossompix.com/canvas-wraps https://www.bumblejax.com/products You have so many other great features in this product. Let me know if this is something you would consider adding in the near future, or if I need to keep looking for a solution. Thank you, - Rob

Hi Rob,
thank you for your considerations. Actually you are totally right! the crop feature for now is very “basic” and should be improved.
I’m trying to redesign and recode it from scratch since awhile but I encontered several problems that slowed me down.
Unfortunately I cannot say when the new version will be ready, I can only say that I’m doing my best to improve it! I’ll let you know in case of news by relplying here!
Meanwhile thank you again for reporting your suggestion and example links! :)

Thanks for your quick reply. I look forward to seeing your new and improved version when you get it done. Until then, I’ll need to keep looking at solutions, of which there are not a lot out there that I have found for WooCommerce. Best wishes! – Rob

Hi Rob,
good news, I’ve released the new 32.1 version that now implements an improved cropper controller. It nows prevent the image to cropped “out of bounds”.
You can manually update by redownloading the plugin from codecanyon or automatically 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.

I hope you enjoy :)

I’m receiving the following error when activating the upload files plugin. “Plugin could not be activated because it triggered a fatal error.” Fatal error: Can’t use function return value in write context in /home/finewallprints/public_html/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_Option.php on line 552” New install of Wordpress, Woocommerce, and Upload Files plugin.

Disregard my last question. I upgraded from PHP 5.4 to PHP 5.6 and that fixed it.

no problem, have a nice day! :)

Hi :) Just wondering if there’s a way I can increase the upload speed? Reason being, my clients will be uploading decent sized files and quantity. Many thanks in advance!

Hi,
I’m sorry but unfortunately the plugin hasn’t any feature that may improve clients upload speed.
It relies entirely on the client internet connection speed :)

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey