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.

vagelas

vagelas Purchased

S

hi,

the uploaded files do not land anywhere, neither in dropbox or local

Yes, did you read about the requirements for the login data and the test to perform on the https://codecanyondemo.work/wcuf/wp-admin/ site?

It sounds strange that without altering the code, now the uploads are not even attached to the product. Without any further data, what I can say is that most likely, there must be something related to the server environment (like the session management) that prevents the plugin from properly associating the data with the user. In this case, you need to contact the hosting to have more clues about the cause and the fix.

As you can imagine, without real clues about the possible causes is not possible to perform an analysis and eventually suggest a fix.

so i now know for sure it has to do somethong with the order status. when changed to “processing” the files got deleted…

It might be that something is deleting the order metadata where the uploaded files’ references are stored. Please perform the tests reported earlier to properly identify the cause.

Hello, i have an issue with the plugin, i set it as local storage but sometimes i see the images in the orders and sometimes doesn’t in the server i find it

Hello,
I’m sorry, but without any further clues, it is quite hard to determine a cause and suggest a solution.

Try to activate the WordPress debug mode and, when the issue occurs, examine the debug.log file (located in the wp-content folder) to see if any further clues are reported.

Can you please advise how the admin can upload the fields file in the order?

https://prnt.sc/AbXDdkVwqe3j

Thanks

I’m sorry, there isn’t an option for that. The plugin doesn’t allow the admin to upload files.

You can eventually use a plugin to simulate the customer and reupload a file via the Order details page.

Or you can use WooCommerce Attach Me! plugin to attach a file to the order.

If you need the file to be approved by the Customer, you can consider using this other plugin of mine: WooCommerce File Approval. It allows the admin to attach a file to the order. The file can be approved/rejected by the customer.

Purchase code is invalid!

Ensure to be using a fully HTML5 Compliant browser like Chrome or Firefox.

It’s already been fixed. I’m using Chrome. I just had to repeat it about three times, and the third time it worked. Thanks.

now my purhcase id is keep saying invalid?

Try using a fully HTML5 compliant browser like Chrome or Fierfox and ensure that none of the 3rd party plugins you are using are interfering with the activation process.

still purchase code invalid and after keep trying it says successfull but nothing

I’m sorry, but without any further clues, it is quite hard to give you a different solution from the one reported earlier. Try to disable the other 3rd party plugins; one of them might be interfering.

After activation not abe to see the upload file configerator

I activated the license but still not activated.

mehean

mehean Purchased

Appears it clicked finally – sorry, I’m not able to delete this question.

Hi,
try using a fully HTML5 compliant browser like Chrome or Firefox.

Hello,

Since the crop tool only works with PNG and JPG files, could it either be skipped for other file types or made optional, so that cropping isn’t required, but uploading still is?

Thank you for your help!

Hello,
Thank you for your suggestion, I’ll be doing my best for a future release!

Hello,

I’m using the premium WooCommerce Upload Files plugin (v87.9 by Lagudi Domenico), and I’ve run into an issue where I can no longer change the Field Type when creating a new upload field. It automatically defaults to “File,” and there is no dropdown or setting available to switch it to a Text field (for collecting customer notes, names, etc.).

I’ve checked this across multiple products, browsers, and devices. I’m using the latest version of: • WordPress: 6.8.2 • WooCommerce: • Theme: Divi (latest)

Everything is up to date and I’ve cleared cache and tested thoroughly. This appears to be either a bug or a UI change that removed the field type selector.

Screenshots attached:
   1.    No option to change field type after creating field
   2.    Options panel missing any “field type” dropdown

(Unable to attach screenshots.)

Can you please confirm: • If this feature was removed? • If there’s another way to create text-based fields now? • Or if this is a known bug?

Thanks so much in advance!

Best regards, Gayle [AnyPic3D.com]

Hello,
I’m sorry, but the plugin never had an option to set the field type. Upload fields have always been of “file” type only.

Hello, i try a new version of plugin , i uninstall and delete old version, after delete cache after install of new verson i have a fault see on prtscr. i try to make a option set a timeout of file to 1440 (File upload timeout (minutes) *) but not work, where is a problem ? Something went bad while uploading. The upload field has been reset; please retry..https://ibb.co/GNMd0gt

Hello,
That issue means that the upload process was not able to upload the file. It could be due to a timeout issue or a server issue. Without any further info, it is quite hard to determine the cause and give you more specific info.

Try giving a look at the browser error console to see if any further info is reported. Try also enabling the WordPress debug mode and debug log and see if any further clue is reported in the debug.log (located in the wp-content folder)

Hello, pre-buy question. I want to create printing. If the pages are 0-50 the cost is 0,10e/page and if the pages of pdf are 51-100 the cost is 0,08e/page. So if I upload a pdf file with 10 pages can calculate automate the cost are 1euro? if I upload a pdf with 100pages the cost is 8euro. Can calculate it that automate? On the same product… Thank you in advance.

Hi,
Yes you can assign a cost per page, but not price by range: https://ibb.co/6cbN2qPB

Hi vanquish,

Running WCUF v 87.9 on WP 6.5.4 / WC 8.9. When I’m in Admin ▸ Orders and click an uploaded PDF, nothing happens in Chrome 124+. Same link downloads fine in Edge and the file is reachable via right‑click ► Save link as.

Console shows:

Uncaught ReferenceError: wcuf_pdf_thumb_opt is not defined at createPDFThumbnails (pdfThumbnails.js?ver=6.8.2:23)

Not sure if that is pertinent.

PNG files download normally, so it’s only PDFs. Disabling ad‑blockers, Safe Browsing, or forcing Chrome to auto‑download PDFs makes no difference.

Files are stored in Dropbox. I think this might be a Chrome thing as opposed to a plugin thing but I was curious if anyone else was having this issue and if they figured out a fix. Every other pdf download link anywhere else works fine, it’s only on file uploads on my site.

Hi,
From my tests, all seems to be working ok. Storing the PDF locally or on Dropbox seems to be working as expected. Clicking on the link via Chrome triggers the save process as expected: https://www.dropbox.com/scl/fi/6hwpb170ctvlmaxb2h3hd/chrome_download.mp4?rlkey=2p5pydq1qwesszsv14e0f5nhl&dl=0

I’ll perform some further tests to see if something strange happens and let you know eventually.

Hello, my friend. I have a problem with uploaded photo, if some client pay a order throw a stripe with applepay or google pay, photo is sint uploaded after order. where is a problem ? this happened only when client pay throw a applepay and googlepay, if pay throw card in stripe or COD is everythink working fine.

Hello,
Most likely, he is not properly landing on the thank-you page. Try switching to this option: https://ibb.co/Hf5VYVrn

i try this option, tahnk you very much

Hi, which is default upload folder, how to find uploaded trough plugin customers files?

Hi,
The default upload folder is /wp-content/uploads/wcuf/{order_id}

Thanks a lot :) But we have some issue with zip downloads, when i try to download zip, downloaded archive is not full. For example: customer upload 49 files, but in downloaded zip have only 2 or 3 files.

It seems the server is failing to zip the files. Try enabling the WordPress debug mode and debug log. Try re-downloading the file zip and see if the debug.log (located in the wp-content folder) reports any clues on why the server is failing to ZipArchive all the files.

estoy esperando respuesta del error que os comente la semana pasada

cuando el cliente sube varios archivos no se muestra un .zip

y debo ir bajando los archivos 1 a 1

You received an answer for that.

The zip file option is automatically available if files are stored locally and the ZipArchive module is installed. There isn’t an option to enable/disable it.

in this chaos the files are saved in Dropbox

Is there a way to fix it? I remember it used to work

There isn’t anything to fix. The option is not available for cloud storage (and never was) because those services don’t have an option for that.

I am using your plugin in one of my website. I want to create one functionality where I need to pass the upload file url to another system using api after order is place. How to do it Can you please suggest hook or methods to customize and achieve the file url of a product once the product is checked out.

Hi,
you can give a look to the WCUF_CheckoutPage.php (classes\frontend).

Files are stored on the order meta by the save_uploads_after_checkout() method (line 326). The $file_order_metadata line 343 can be used to retrieve the file’s URL. The $file_order_metada has the following structure (in this example there are two upload fields):
array(2) {
  ["0-1832-0-idsai1"]=>
  array(12) {
    ["id"]=>
    string(15) "0-1832-0-idsai1" 
    ["title"]=>
    string(64) "Upload your files (Bookable product Color: green | yellow N°1) " 
    ["quantity"]=>
    array(1) {
      [0]=>
      string(1) "1" 
    }
    ["absolute_path"]=>
    array(1) {
      [0]=>
      string(52) "dropbox:/woocommerce-demo/13800/1832-0-1/1_19167.jpg" 
    }
    ["url"]=>
    array(1) {
      [0]=>
      string(107) "https://yoursite.com/demo?dropbox_get_item_link=%2Fwoocommerce-demo%2F13800%2F1832-0-1%2F1_19167.jpg" 
    }
    ["original_filename"]=>
    array(1) {
      [0]=>
      string(11) "1_19167.jpg" 
    }
    ["source"]=>
    array(1) {
      [0]=>
      string(7) "dropbox" 
    }
    ["num_uploaded_files"]=>
    int(1)
    ["user_feedback"]=>
    string(0) "" 
    ["is_multiple_file_upload"]=>
    bool(true)
    ["ID3_info"]=>
    string(4) "none" 
    ["upload_field_id"]=>
    string(32) "wcufuploadedfile_0-1832-0-idsai1" 
    [crop_metadata] => Array
        (
            [0] => Array
                (
                    [x] => 413.76573617953
                    [y] => 121.97454844007
                    [width] => 191.05090311987
                    [height] => 191.05090311987
                    [rotate] => 0
                    [scaleX] => 1
                    [scaleY] => 1
                )

        )
    [crop_remote_url] => Array
        (
            [1] => https://drive.google.com/open?id=1i_KBigosaJpnUCcp1PkFQlkfuSGOq8Ie
        )

    [crop_remote_file] => Array
        (
            [1] => gdrive:1i_KBigosaJpnUCcp1PkFQlkfuSGOq8Ie
        )
  }
  ["0-1832-0-idsai2"]=>
  array(12) {
    ["id"]=>
    string(15) "0-1832-0-idsai2" 
    ["title"]=>
    string(64) "Upload your files (Bookable product Color: green | yellow N°2) " 
    ["quantity"]=>
    array(1) {
      [0]=>
      string(1) "1" 
    }
    ["absolute_path"]=>
    array(1) {
      [0]=>
      string(76) "dropbox:/woocommerce-demo/13800/1832-0-2/aprilia_sxv_45_3l_-_copia_30463.jpg" 
    }
    ["url"]=>
    array(1) {
      [0]=>
      string(131) "https://yoursite.com/demo?dropbox_get_item_link=%2Fwoocommerce-demo%2F13800%2F1832-0-2%2Faprilia_sxv_45_3l_-_copia_30463.jpg" 
    }
    ["original_filename"]=>
    array(1) {
      [0]=>
      string(35) "aprilia_sxv_45_3l_-_Copia_30463.jpg" 
    }
    ["source"]=>
    array(1) {
      [0]=>
      string(7) "dropbox" 
    }
    ["num_uploaded_files"]=>
    int(1)
    ["user_feedback"]=>
    string(0) "" 
    ["is_multiple_file_upload"]=>
    bool(true)
    ["ID3_info"]=>
    string(4) "none" 
    ["upload_field_id"]=>
    string(32) "wcufuploadedfile_0-1832-0-idsai2" 
  }
}

The [“url”] key contains all the URLs of the upload fields to which it refers. Use it to share the data with the 3rd party software you wish.

Can you please provide the code snippet to access the file url after the order is placed?

I’m sorry, the support service doesn’t include customization service. I can point you in the right direction, but then it’s your responsibility to implement and test the solution.

no se donde se activa la opcion para que cuando el cliente suba varios archivos yo luego los pueda bajar todos en .zip

gracias

Please post question in english

Hi,

Where can I turn on the option that lets me download all customer-uploaded files together as a single .zip? I can’t find it in the settings or docs.

Thanks!

Hi,
I’m sorry there isn’t an option for that.

I am using your plugin in one of my website. I want to create one functionality where I need to pass the upload file url to another system using api after order is place. How to do it Can you please suggest hook or methods to customize and achieve the file url of a product once the product is checked out.

I’m sorry, but the account you are using doesn’t have any purchase license associated with it.

I purchased it with my client’s account. And now I am redeveloping the website with new functionality in a staging version.

Please let me know if I can verify the license key or anything for you.

Thanks

You need to use the account used to purchase to ask support questions. Providing codes doesn’t offer any proof that you own it.

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