Code

Discussion on WooCommerce Upload Files

Discussion on WooCommerce Upload Files

Cart 7,576 sales
Recently Updated

vanquish supports this item

Supported

4907 comments found.

i cannot access ‘Show/Hide field’ options in the admin area of this plugin.

Hi,
to show/hide a field according specific products/categories, click into the Upload files configurator menu, then edit the upload field you need and under the Visibility Product/Category restriction select the Visible for selected categories and products option (or the “Hidden” option acording to your needs). Once done select for which product the field has to be visible/hidden: https://www.dropbox.com/s/0n9gxpxjb3328cn/wcuf_visibility.png?dl=0

Got it thanks!

You’re welcome :)

P. S.
If you enjoyed my support and/or my plugin please consider leaving the 5 stars, I would really reeeally appreciate! :)
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate to your purchases)

Hi,

I’m using the WooCommerce Upload Files tool for my print webshop. Users can upload images that they can than order. What I would love though, is that the uploaded image(s) overwrite the main product-image so that a users sees his own images rather than a generic one. Do you know whether this is possible and how I would go about implementing this? Thank you very much for your support!

Kind regards, Ivo Strubin

Hi,
this is only possible for Cart and Checkout pages. To do that, update the plugin to the latest 35.3 version and then click on the Options menu. In there you wil lfind the new Replace product thumb with uploaded images preview on Cart products table option that replaces the default product image with the uploaded one. You find some additional options to preview images.

You can manually download the new version via codecanyon or receive as automatic update by installing and configuring the Envato updater plugin: https://goo.gl/pkJS33 .

The images have stopped uploading to the orders admin area. It worked previously and now it shows Customer hasn’t uploaded a file yet.

Hi,
unfortunately without any further clue there isn’t much I can suggest. Try the following:

1) Make sure to be running the latest 35.3 version that You can manually download the new version via codecanyon or receive as automatic update by installing and configuring the Envato updater plugin: https://goo.gl/pkJS33 .

2) In the options menu, under the Options menu, under the Checkout – Files to order association method section select the When order is placed option.

3) At last try also to roll back the actions you have performed to try to restore the latest working state when the plugin was working.

Hey there, i get notified, that the plugin cannot be activated because it triggered a fatal error:

“Fatal error: Can’t use function return value in write context in [...]/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_Option.php on line 593”

Do you know how this can be fixed?

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.

Hello, I need that extra cost calculate per quantity can be enabled/disabled by user, working exactly as an extra option of the product, which depends on the quantity. How can I do this?

The plugin is not designed to offer that kind of support. You should look for a plugin that adds products option that eventually alter the price according that.

Thank you for your help, I already did it.

I also have to add a fixed fee to every X quantity. Eg, $10 for every 100 items in the cart. Your pricing plugin can help me with that?

If not, would you have another good tip?

Unfortunately the Pricing plugin hasn’t such a feature, however you can give a look to this other plugin of mine: https://codecanyon.net/item/woocommerce-conditional-checkout-fields/20668577

It allows you to configure conditional fees to apply to the cart. For your purpose you can create N fee that apply to different “sum of items cart quantities”: https://www.dropbox.com/s/1vjyqk6n8qyrc7f/wcccf_fee.png?dl=0

In case the sum of item is greater than 10, then it applies a fee of 10$ . In case the sum is 20, fee 20$ and so on. Enable the option to not apply fees in case any other has been applied in order to avoid multiple fees to be applied.

The plugin has a demo site where before purchasing you can perform all the tests you need in order to be sure it actually fits your needs. In case of further info, feel free to ask.

Hi!

We installed the plugin and it works well.

However, We have one problem, which is quite sad.

If someone open our website from Instagram and try to use the upload files plugin (buy a unique photo product), it’s not good. After They try to upload a file, the page is refreshing themselves and the file won’t be uploaded.

Do you know what is the problem? If I try without Instagram it’s good. If I reach the page via Instagram it’s not good.

Thanks for your answer. Mihály

Hi,
what do you exactly mean with opening our website from Instagram? Could you provide a more detailed description?

Note that if the product page is not properly rendered by your backend (due to the access it via an iframe or a popup) it could happen that not all the required woocommerce actions are triggered while rendering the template. This causes the plugin to be not able to properly load its asset causing an unexpected behaviour. This is however caused to an unproper tempalte rendering, in this case there isn’t much I can do.

Hi there,

I’m Sagi and I’m the digital manager of the largest store chain for personalized products in Israel – HELD.

We print on everything – canvas, wood block, perspex, photo albums, shirts, pillows, mugs, etc…

We are looking for a full solution, for a web-to-print website, integrated with one of the biggest CMS (wordpress/magento/shopify)

We made a market research and we would like to get to know your tool deeper

Can we schedule a call so you will introduce the tool for us?

Best Sagi

Hi Sagi,
no unfortunately I do not offer any service like that.

However you find in the plugin description page an infographic and a detailed description that explains how the plugin works.
Furthermore it has a demo site by which you can fully test the software before purchasing in order to be sure it actually fits your needs and expectations.

For further info, feel free to ask.

Hey,

We have been using this plug-in for a while now and its great, but we are often getting customers saying they are uploading artwork but we are nor receiving it, It happens very often. My testing shows that if they click to upload an artwork on the cart page they can still click checkout without getting a warning to select upload your files. Also on the checkout page if the file is uploading but they click continue the order goes through and the upload is not completed. Not sure if this is what is causing it or we have other issues but can you please let me know?

Our website is printflex.com.au.

Thanks,

Hi,
try updating the plugin to the latest 35.1 version You can manually download the new version via codecanyon or receive as automatic update by installing and configuring the Envato updater plugin: https://goo.gl/pkJS33

If you still experience the issue, you need to renew your supporting licese to have further assistance. Thank you.

Hi, I would like to know if this plugin also support the upload files in subscription orders.

I want my costumers to be able to upload a file after they bought a subscription on my website. I guess that the file should be attached to the parent order or the subscription order.

Thanks.

Hi,
the plugin hasn’t any particular support ofr subscription oders, however it those subscription are managed as product it should work.

However if you send me a private message reporting your email (click on my name then use the low-right box) I will reply with mine where you can send that plugin. I can then setup a private demo site where you can test both plugin to see if they work as expected.

there is a bug introduced in a recent update.

I have been able to replicate it on your demo site

When manually entering order by clicking add order

if you click add product, then use look up to select a product it then hangs instead of inserting the product details.

when trying to debug on my website my husband found there is some 500 error buried in there somewhere despite it also returning the correct data. I was going to dig into it more to find out which or find a hack then i thought to use your demo installations as it is only two of your plugins i updated recently that interact with that backend order page.

if this could be fixed would be very helpful as i enter a reasonable number of manual orders fro live chats to lock in sales, and the automatic attachments from your other plugin dont work with only a fee attached to the order (which still inserts correctly) and custom orders with fee only go to complete rather than processing queue.

Hi,
thank you so much for reporting the issue. I’ve found the cause of it, fixed and released the new 35.1 version!

Thank you and have a great day! :)

Hi there I am getting a plugin conflict error, but I have turned off all plugins and still get the area. It prevents me from accessing the show/hide area

Some of your installed plugin are generating javascript errors that MAY prevent WCUF configurator to work properly. Fix or disable them.

Error type: TypeError: wp.media is undefined On script: http://districtgazette.vsmicrodata.net/wp-admin/admin.php?page=woocommerce-files-upload Line: 14784

To DISABLE this warning message, go to Option menu and disalbe the ‘Show warning message’ option.

It sounds very strange that switching theme and disabling all the plugin (exception for woocommerce and wcuf) still make the issue to appear.

Could you try reporfom that test and clear your browser and repot me if still get the issue? Make also sure you are running the latest WooCommerce and Wordpress versions.

Note that the issue you are experiecing doesn’t depend on the wcuf code but by a 3rd party plugin interference, so there isn’t much more I can do.
If you send me via private message (click on my name and then use the low-right box) the following data:
  1. you email address
  2. Full admin access to the wp-admin area
  3. a FTP access

I can try to perform some analysis to se if it is possible to get more clues about the cause.

Thank you. I have now found if i swap out the theme I can make it work. However this is very long winded! Is there anything I can do to help compatibility with my chosen theme?

Unfortunately it seems related to a theme issue more tha a plugin issue. It seems that your theme is including that interfering javascript code in all admin pages instead of the only ones where it actually is needed.

The only thing I can suggest is to contact thei support service and asking them to avoid this behaviour… at least for the WooCommerce Upload files configuration page.

Salve, ho fatto l’aggiornamento e delle modifiche alle opzioni e ho adesso un problema nella pagina del chekout (mi sparisce il logo e il menù non si vede in modo corretto) inoltre quando cambio lo stato di un ordine mi va in errore, ho disabilitato il plugin e torna tutto a posto. Mi puoi aiutare a capire dove intervenire? Grazie

Ok grazie, Ho comunque chiesto assistenza a quelli del tema (Enfold) che mi rispondono così:

“I have checked your site and can confirm the issue. I do see a lot of errors in the console. Can you try to disable Woocommerce Upload Files plugin since it’s throwing this error: Uncaught ReferenceError: wcuf_exists_at_least_one_upload_field_bounded_to_gateway is not defined If that doesn’t help, if you have other woocommerce addon plugins, please try to disable it also. Let us know if this works.”

Solo disattivando “Woocommerce Upload Files” il problema si risolve, ho provato con altri ma sono innocui, il plugin mi serve, mi puoi aiutare? Grazie

Come detto in precendeza, per ulteriore supporto deve rinnovare la licensa.

Da come puo vedere nel sito demo, il plugin funziona correttamente. Quindi l’errore è specifico della sua installazione. Per determinare quindi (se possibile) la causa dell’interferenza è neccessario eseguire dei test su di essa.

Una volta rinnovata la licenza, mi invii via messaggio privato (clicchi sul mio nome e quindi il box in basso a destra) i seguenti dati:
  1. accesso admin all’area wp-admin
  2. accesso FTP
  3. guida dettagliata su come verificare l’errore

Provero quindi ad effettuare dei test per vedere se è possibile determianre la causa.

Hi there,

The upload shortcode doesn’t seem to work on the product page. It does, however, work on the cart and checkout page.

Can I send you the URL privately to check out?

Hi,
please make sure that:
  1. you are using the [wcuf_product_page_upload_form] shortcode
  2. In the Options menu, under the Disable upload field standard managment section you have checked the Product pages options )
  3. You have not enabled any visibility option while configuring the upload field (like payment visibility options
  4. The product page template you are using is 100% woocommerce compliant and there isn’t any other 3rd party plugin that alters it (like one rendering it in a popup or something similar)
Could you confirm that you have double checked those points? If so, send me via private message (click on my name and then use the low-right box) the following data:
  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’ll try performing some tests to see if it possible to determine the cause of the issue.

I too am having a problem with “deleting file, please wait” showing where it is not intended to. My site is http://tradeshowsigndisplays.com/. If you click on the product image, a popup appears and the message shows. If you click on the product name, you are taken to the product page, and there is no problem. So, the problem is isolated to popup which is a built in function of the theme (Envato Sober) and is not done by another plug in.

Hi,
I’ve analyzed that page and that custom feature implemented by that theme. It seems to be not 100% woocommerce compliant.
More in details: the issue is related to the fact that that popup is rendered without firing all the woocommerce actions triggered while rendering the product page template.
This causes the plugin to not be able to load its assets and then properly render its html elements.

You should then disable that feature or contact the theme developer making him fix the popup rendering process to make it compatible with the product page template rendering process.

I too am having a problem with “deleting file, please wait” showing where it is not intended to. My site is http://tradeshowsigndisplays.com/. If you click on the product image, a popup appears and the message shows. If you click on the product name, you are taken to the product page, and there is no problem. So, the problem is isolated to popup which is a built in function of the theme (Envato Sober) and is not done by another plug in.

To request support you have to use an account with a valid purchase and support licenses associated. Thank you.

Hi, I´ve installed the plugin on my development website and everything is fine. I work with the shortcode and I have put a shortcode on my account´s page and another on a separate page and everthing is fine too.

The problem arises when installing the plugin on my production website. The shortcode does not work and I have set up everything the same as in the development website. Any idea why it does not work? Thank you

Hi,
without any further clue it is quite impossible to determine the cause. I can only say to double check that the global options for the plugin (through the Upload files configurator -> Option menu) and the configuration you are using for the fields are actually the same for the dev site and production site.

Give also a look to the browser debug console to see if any error is repoted. Try also enabling the WordPress debug ( https://codex.wordpress.org/Debugging_in_WordPress ) mode and see if any error is reported both in pages and the error log located in the wp-contend folder.

Could it be a license issue? I mean. I have installed the development site first and then the production site. Is it possible that having a license for a single site does not work on the second website?

In general it seems that everything is correct and works fine except that the shortcode does not work

No, there isn’t any license limitation that could prevent to use the plugin in multiple domains.

If you however send me via private message (click on my name and then use the low-right box) the following data:
  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 performing some tests to see if it possible to figure out the cause of the issue.

Salve, vorrei sapere se è possibile inviare automaticamente una Mail al cliente per conferma file caricato correttamente. Grazie

Ciao,
no purtroppo il plugin non prevede una funzionalità del genere. Il plugin per ora permette solamente l’invio di un email di notfica all’Admin.

Eventualmente potresti provare ad estendere il plugin sfruttando quest’ultima funzionalità. Apri il file WCUF_File.php che trovi all’interno della directory classes\com. Da linea 835 a 842 trovi il codice che invia un email di notifica all’Admin in caso vengano eseguiti degli upload. Modifica quello snippet oppure inserisci il tuo custom code.

Found a typo while styling the plugin. Inside the: <!- Upload field rendering ->

The class name of the already upload data container. class=”wcuf_already_uplaoded_data_container”.

Thank you for the great plugin btw.

Thank yuo very much for the apprecciation and for repoting the typo! :)

I’ve just released the new 34.9 version that fixes it! It will be available in few minutes to download!

meanwhile… If you 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 great day! :)

Hello, there are issues with using this plugin with WP CLI. Because the variables aren’t properly globalized, it will generate fatal errors.

As making changes to core plugin files is not the most sensible thing, here’s what we had to change. If variables could be globalized properly in the next update, it would be great.

We made the following changes in the main plugin file, starting on line 29:

if(!class_exists(‘WCUF_File’)) { global $wcuf_file_model; require_once(‘classes/com/WCUF_File.php’); $wcuf_file_model = new WCUF_File(); } if(!class_exists(‘WCUF_Option’)) { global $wcuf_option_model; require_once(‘classes/com/WCUF_Option.php’); $wcuf_option_model = new WCUF_Option(); }

Hi thank you for reporting the issue. However it sounds strage because those variable are already defined in the main scope so they already are global variables.
I think that it could happen that for some reasons the following statements:
[...]
 $wcuf_file_model = new WCUF_File();
[...]
$wcuf_option_model = new WCUF_Option();
are never executed, so those variable are actually undeclared and undefined.
I’ll investigate further. Could you report me which error message are you getting?

Thank you.

There are two main errors:

This is on 16.5 (I appreciate it’s quite old now)

Fatal error: Uncaught Error: Call to a member function get_all_options() on null in /wp-content/plugins/woocommerce-upload-files/classes/frontend/WCUF_ProductPage.php:8

And this is after upgrading to the latest version:

Fatal error: Uncaught Error: Call to a member function create_session_row() on null in /wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_Session.php:73

Thank you for reporting. However the 73 uses the $wcuf_db_model global variable that is defined when the plugin is inited. So it sounds very strange that it is null.

It seems then that the WP CLI is not properly init the global variables, this however it is a CLI issue.

Hi, I posted a question, but I could resolve the problem. It was because I checked some boxes on “Visibility Payment gateway” setting. Sorry for bother you. Thank you.

No problem, you’re welcome :)

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