Code

Discussion on WooCommerce Upload Files

Discussion on WooCommerce Upload Files

Cart 7,569 sales
Recently Updated

vanquish supports this item

Supported

4906 comments found.

i am facing the problem with installing the pluging.

Plugin could not be activated because it triggered a fatal error.

Fatal error: Can’t use function return value in write context in /home/chandras/public_html/websites/weloveprint.com.au/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_Option.php on line 549 https://weloveprint.com.au check screenshot there. http://prntscr.com/ie34zg

Hi,
This error is due the usage of an outdated version of PHP. Note that Wordpress and WCUF plugin (as reported in the description page) both require a minimum 5.5 version.
Could you confirm that you are using at least that version? to check go to WooCommerce -> System status.
If not please update and that error will be gone.

Updating php is usually a very simple operation in any web shared server. Go to the admin panel, search for some kind of advanced configuration and in that section you can switch the php version to the latest.

thank-you

http://colorspaprinting.com/ – When a product is added to the cart is when the upload files plugin shows up, however as soon as the “Browse” button is pushed, it seems to error out and never allows you to upload a file. Can you please look into this?

Hi,
it is due to a 3rd party javascript library interference. It seems that a javascript included by the “Stripe” plugin is raising an error preventing other javascript libraries to be properly executed. Disable that plugin or contact its developer in order to fix it. Once done you will be able to properly use the Upload Files plugin.

HOW İS UPDATE

the plugins is 30.3 version.i want to update the plugins but how will it be i dont know

To update you can:
  1. Manually do that by redownloading the plugin from codecanyon, deactivate and delete the old plugin version then install the new one. Don’t worry you won’t lose any setting
  2. Automatically update by installing hte Envato updater plugin: https://github.com/envato/wp-envato-market (download clicking: http://envato.github.io/wp-envato-market/dist/envato-market.zip ). 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.

thanks

1)Hello does the percentage numbers on upload have a unique class name for using with custom CSS? The name of it like ”#wcuf_percent_0-13186-0-idsai1” changes everytime on different uploads. I want to increase percentage numbers’ font-size.

2)Disclaimer option has an issue. Once it is not selected before uploading for the first time, it displays the disclaimer note. Thats nice. But then the customer is not able to upload files although the disclaimer checkbox is selected. Nothing happens.

3)Do you plan integrating an “image effects” like Adobe Aviary for the uploaded images?

Thanks in advance. Great plugin.

It should be great if we would see icons of file types (like a PDF icon, a WORD icon) for unpreviewable file types…

Hello
  1. Please download the latest 31.1 version I’ve just released. That element has now associated the wcuf_percent class, so you can customize it by using the .wcuf_percent CSS selector
  2. I’ve just performed a test on demo site and I was not able to experience the issue. Could you try to update the plugin to the latest version and report me if you still experience the issue? If so, it could be due to a 3rd party plugin interference that prevent the WCUF javascript library to be properly executed. Could you link the page on your site where you are experiencing the issue? I can try to analyze it with my tools to see if I can get some more clues about that issue
  3. No, any plan for that
  4. Thank you for the suggestion. Actually it will be a nice UI improvement. I’ll see if I can implement in the next plugin version!

For some reason, the upload field is only showing for users who are logged in. How can I fix this? I do not see setting for that anywhere!

Sorry, disregard that. I forgot there were two pages of options and I found we had “admin” role selected on plugin options page. Thanks!

No problem :)

What do we need to do in order to upload the product page? I do not have the plugin product I installed, so I made the same settings as yours

help

Hi,
To do that just enable the following options:
  1. on Visibility: Pages & form section, enable the Display field on Product page option (and optionally the on Product page, display the field BEFORE adding an item to the cart option)
  2. in the Visibility: Show the upload field for each product on cart/order enable the <strogn>Enable one upload field for every single product variation

In this way the upload field will be showed in each product page. In case of variable product, chose a variation and then the upload field will be showed.

Hi, I have one presale question, Is it possible to have the upload field only on checkout page, not on product page.

Yes, it is possible. To do that just enable the Display field on Checkout page option in the Visibility: Pages & form section while configuring the field: https://www.dropbox.com/s/qihem2dxwwsxkrc/wcuf_visibility.jpg?dl=0

Before purchasing, do all the tests you need using the demo site:
http://www.codecanyon.eu/wcuf/wp-admin/
user: demo
pass: demo
To be sure it actually fits your needs and expectations. If you have further questions, feel free to ask! :)

Hi, I was trying to update through my wordpress dashboard for the 3.1 version and I got this error: An error occurred while updating WooCommerce Upload Files: Download failed. Forbidden I do have the envato market plugin installed, so not sure why it’s not updating.

Hi,
unfortunately it seems to be more an issue of the Envato updater plugin than of the Upload Files plugin. I don’t know why that plugin is raising that error, it could be due to it fails to authenticate.

Try to regenerate a token key and to re-authenticate it.

Bought this plugin and uploaded, followed instructions, yet no file upload option is showing up on the live website?

Without any further clue it is quite hard to determine the cause. Few questions: in which page are you trying to show the upload field? Have you enabled any visibility restriction by role or payment gateway? Have you disabled the “Stanard field managment” in the Options menu? Can you try disabling all your 3rd party plugins and report me if you still experience the issue?

If you send me via private message (click on my name and then use the low-right box) with 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 try to perform some tests to see if it possible to have more clues about the issue you are experiencing?

Hi. We are using your plugin to allow users to upload files from the product page. When they have completed their order we want them to have the option to re-order the same product. At the moment the files they uploaded do not carry across to the new order. Is there a way for me to do this by using any hooks/filters or calling a function from the plugin to attach the files to the new order?

We are using version 26 at the moment.

Thanks, I’ll try a few things on my end and let you know.

All seems to be good now. Thanks for all the help. Got the files to copy across on re-order.

You’re welcome :) !

Have a nice day! :)

I send mail :) Please help me.

Dear developer, every time I want to activate your plugin I recieve “Deleting file, please wait…” message on product page.

Do you have any suggestion how to solve this problem?

Thank You

Thank you for sharing. Analyzing that page with the browser debug console I see that the “masterslider.min.js” is rasing an error: https://www.dropbox.com/s/jgbhqsauwf2gbo3/wcuf_js_error.jpg?dl=0

Try disable/fix it to see if you still experience the issue.

In alternative, If you send me via private message (click on my name and then use the low-right box) with the following:
  1. you email address
  2. Full admin access to the wp-admin area
  3. a FTP access
I can perform further tests to actually be sure that the issue is caused by that script and if it possible to implement a workaround.

UPDATE I’ve found the issue. Your installation is not processing this php script: http://gravirexpres.sk/magic/wp-content/plugins/woocommerce-upload-files/css/wcuf-frontend-product-page.css.php

It is a script that dynamically generates a css file used by the plugin for the product page. As you can see, you server is not processing that script and instead is making you to download it as it is a normal file.

It is then a server issue, contact your server maintainer (or properly configure it) on order to make sure tha all the scripts contained in the plugin subfolder are properly preprocessed by your server.

Hi, I have purchased and tried to install both from zip on plugins and manually to the plugins folder. Both give me a fatal error when activating Fatal error: Can’t use function return value in write context in /home/fxsignsd/public_html/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_Option.php on line 549

Can you advise please,

Thanks

I have fixed it by updating my php to 5.6 if anyone else has this issue, Thanks

yes that error was due to the usage of an old php version. Glad you fixed, have a nice day! :)

Hello, I needed the upload field to appear only for some variation. I set up everything correctly and now it works. Is there a way to enable this configuration for every product without writing every single ID into the “select product” field inside the “visibility per product” Section ?

Thanks in advance, the plugin is awesome !

Greetings Hriot

Hi Hriot, thank you for your appreciation :)

For your purpose, you can directly select the master product (to which those variation belong) or select the categories to which those master product belongs (in case the variations you are referring belongs to different master products). Make also sure you have enabled the Enable one upload field for every single product variation option.

P.S.
If you have enjoyed my 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)

Hi,

I am having trouble with the WC Uploads plugin install. I am getting the following error:

Plugin could not be activated because it triggered a fatal error.

Parse error: syntax error, unexpected ‘[’ in /home/complete/public_html/printtuna.com/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_DropBox.php on line 31

Any help here would be appreciated.

Running Word Press 4.9.2 and the woocommerce was downloaded from within the plugin area today.

Thank you, Jeff

Hi,
This error is due the usage of an outdated version of PHP. Note that Wordpress and WCUF plugin (as reported in the description page) both require a minimum 5.5 version.
Could you confirm that you are using at least that version? to check go to WooCommerce -> System status.
If not please update and that error will be gone.

Updating php is usually a very simple operation in any web shared server. Go to the admin panel, search for some kind of advanced configuration and in that section you can switch the php version to the latest.

with this plguin, can you specify which products will have an upload button and which wont ? i checked the demo admin but i couldnt find anything in the settings. Thank you

Hi,
yes you can. To do that, while configuring a field, use the Visibility: Product/Category section. It will allow you to display the field for every product of just for the one you need! :)

Hello

How are you ?

I would like to know where I can change the colors of this button here :

https://image.noelshack.com/fichiers/2018/05/1/1517229718-capture-d-ecran-2018-01-29-a-13-41-34.png

It’s the upload button called “Ajoutez vos fichiers”

Kind regards.

Hi,
to change the style of the browse button, just se the following css selector:
button.wcuf_upload_field_button 
To change the style of the upload button use this selector:
button.wcuf_upload_multiple_files_button

The plugin by default is not defining any particular style for button, those elements inherit the theme default style.

Which file please ?

You can add those custom rule in the wcuf-frontend-product-page.css.php file you find in the css folder inside the upload files plugin directory or you can modify the custom.css file that you find inside your theme directory.

Hi, is it possible to show the name of the uploaded file on the invoice? I use the “WooCommerce PDF Invoices” to generate the PDF Invoices.. any help is appreciated.. thanks

What do you exactly mean that you deleted all the orders? There is no need to delete them. Unfortunately the support service doesn’t include customization service. It is meant to be used to have assistance for bug or malfunctioning.

In your case I’ve just suggested a possible solution and the error you are experiencing it is to a wrong usage of that code. As reported earlier it seems you are passing a wrong parameter. The order ids you are using seems to be related to non existing orders. So to let it work there isn’t no need to delete orders, you have just to use the right parameters. It is then you task to let it properly work out to find another solution to achieve your purpose.

i wrote you an emaill there is also this on the checkout page.. WCUF] javascript libraries have not properly loaded due to 3rd party plugin interference. ReferenceError: wcuf_exists_at_least_one_upload_field_bounded_to_gateway is not defined

It seems that another 3rd party plugin is interfering by including a bad javascript code that denies the WCUF plugin to properly work. I got your private message, I’ll reply there.

Ciao. due domande ... se dovessi acquistare il plugin e lo uso su un sito e poi ad esempio non mi serve più su quel sito e vorrei usarlo su un altro.. si può fare o devo comprare una altra licenza. Seconda domanda… E’ prevista una tipologia di licenza a costo maggiorato che mi permette di usare il plugin su più o illimitati siti. Grazie.

Upgrade. Sembro aver risolto il problema della comparsa del campo. Comunque avevo riscontrato alcune altre diversità rispetto al funzionamento del plugin installato su quell’altro sito. Farò delle prove. Grazie

Ciao. risolto il problema della comparsa del campo, c’è ne un altro. quando cerco di caricare 41 foto mediante un campo con opzione di invio multiplo mi da il seguente errore in una finestra pop-up: “DSC_0566.JPG Max allowed size: 0 MB DSC_0567.JPG Max allowed size: 0 MB DSC_0568.JPG Max allowed size: 0 MB…. così avanti per ognuno dei 41 files. Tieni conto che ho lasciato impostati su 0 (cioè senza limiti) tutti i campi che limitano le dimensioni dei file. pertanto non riesco a spiegarmi questo errore.

Ciao,
purtroppo non riesco a riprodurre l’errore. Per caso hai modificato in qualche modo il plugin? Potresti verificare che nella pagina in questione aprendo la console del browser (F12 su Chrome, CTRL+SHIFT+K su FireFox) non vengano riportati errori javascript? Potresti condividermi uno screenshot della configurazione relative alla sezione “Simgle/Multiple”? Potresti usare usare il sito demo per riprodurre la configurazione che stai utilizzando per l’upload field e dirmi se riscontri lo stesso malfunzionamento?

In caso negativo, averi bisogno che tu mi inviassi via messaggio privato (clicca sul mio nome e quindi usa il box in basso a destra:)
  1. accesso admin all’area wp-admin
  2. accesso FTP
  3. guida step by step su come riprodurre l’errore
effettuero quindi qualche test per capire quale sia la causa del malfunzionamento e quindi fixarla. Grazie.

Hello,

I’m sorry to bother you again but I have to come back with a very important issue for me. I build a site for a photo print shop where customers can upload a number of photos to be printed. Unfortunately, when a mobile phone is used for these uploads, the customer can select in the photo gallery of the phone only one picture once instead of multiple photos. Because most customers use mobile phones to access the site to send pictures to print, this inconvenience is very disturbing and greatly compromises my client’s business. I really need help on this issue.

Regards, Alex

Unfortunately this goes beyond the plug-in controll. When the user click on the input file button, from that point the browser takes controls showing its file selection dialog controller.
The browser file selection contoller (for obvious security reasons) cannot be override by JavaScript applications. It however should allow users to multiple select files (maybe just keep pressing on any file to enable the multiple file selection option).
Other than this I cannot do more.

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