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.

I bought the plugin and when I enter my “quiqueqal” user and purchase code ** get an invalid purchase code message. I just bought it and I’ve only used it in one domain. I need help, thanks.

Hi,
make sure to be using a fully HTML5 compliant browser like Chrome or FireFox. Try purging the browser and server cache and if the issue still persists try disabling the other 3rd party plugins.

If still unable to verify, 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
  4. username and purchase code
I’ll try performing some further tests. Thank you.

Thank you! I solved it by activating it from another browser. I would like to know how I can see the options of the plugin in Spanish. Thank you.

Glad to hear that :)

To localize static strings you have to translate them using the woocommerce-files-upload.pot file you find inside the languages folder inside the plugin. Open with a .po editor (like https://poedit.net/ ), select your language and then stranslate the strings you need. Once done save, it will create a .mo and .po file. You have to save back those files in the languages folder.

Love this plugin! Is it possible for someone to leave feedback without uploading a file? I tried a practice run on my website where I left mandatory feedback but did not leave a photo (not mandatory) and the feedback did not appear in the order details on either the website or in the back end on wordpress. Is there a way to make this possible?

Hi,
thank you for the appreciation :)
I’m sorry but unfortunately, the plugin is not designed to leave feedback texts if any file has not been uploaded :(

Hi,
in case of preview image after upload is that possible to have a drop down menu to see the preview ? Because if i have 4 images it’s ok but if i have 200 images the page will be very long and unsightly and will need to go down, go down, go down…
thanks for answer.

Hi,
the plugin hasn’t such a feature. However, you can disable the image preview. In the field description textarea, remove the [file_name_with_media_preview] shortcode.

In alternative, you could wrap that shortcode in an HTML code that implements an Accordion. For example https://www.w3schools.com/howto/howto_js_accordion.asp

<button class="accordion">Click here to see previews</button>
<div class="panel">
  <p>[file_name_with_media_preview]</p>
</div>

this solution requires to include the custom CSS in your theme CSS files or use a plugin that embeds it into the pages in which you will display the upload fields. For this purpose you could give a look to this plugin of mine: Custom JavaScript & CSS in Pages!

Hi, I am interested in adding some custom logic as soon as an file is uploaded successfully, no matter from which site. For that I would need only the file url as an input. Could you please point me to the file/function where to add my custom logic?

Hi,
I’m sorry but I’m not sure to understand what you are trying to do. What do you mean with “no matter from which site”? and what do you mean that for that you need only the “file url as an input” ? input for what exactly?

Note that the file is temporarily stored in a temp folder and metadata saved into the user session. Once the orders have been placed, metadata are saved into the order metadata and files are moved into the final folder (located in the wp-content/uploads/{order_id}/ folder ). This operation is performed by the upload_files() function defined by the WCUF_File.php component located in the classes\com folder.

The demo doesn’t seem to work on android. I can upload the file but then it doesn’t show the thumbnail and I can’t add anything to the cart. Please let me know if you fix this. Mobile is critical for me…

Hi,
I’ve just performed a test and the demo properly works on android.

Make sure you are using a fully HTML5 compliant browser like Chrome.

I’m using chrome and android 7. Most of the file upload plugins don’t work on my phone but not all of them. I’d really like to figure this out. The android version shouldn’t matter right?

Yes actually the android version should not matter. Try eventually reinstall chrome or just purging its cache.

This plugin looks like what I need. I don’t know if it will matter for me but the thumbnail preview in the cart sidebar widget is broken in the demo. It shows a blurry thumbnail top left and one clear one vertically centered and somewhat to the left

That because the plugin (if the special option is enabled) replaces the product cart thumb with the just uploaded image.

Image preview size can be set through the Options menu. By default is 50px. The cart widget, however, stretches that image to fit its default image container preview. If those sizes are not equal, the image may be blurry.

Hi, I have few queries

1. From my account order details section, i need to send an email to the both the customer and admin mentioning about completion of the upload , right now only admin is getting the notification email .

2. Also need to edit the notification email template for file upload

3. From my account order details section,a file upload success message as a popup or alert needs to be shown to the customer

screenshot : http://prntscr.com/lznbau

4.on the checkout page, we have made the upload fields mandatory but after order completion, the user can simply delete the uploaded files from my account order details section.

May be is it possible to allow the user to change the uploaded files without deletion. what i mean is if a user delete an already uploaded files from my account order details section then they need to be forced to upload a new one otherwise the previous file won’t be deleted

Note that support service doesn’t include customization service. I can suggest which files can be modified and eventually provide an idea on what to do, but the implementation must be performed by you. For what concerns the 4th point it would require to redesign some plugin subcomponents and this cannot be done just suggesting some line of codes.

Altering the plugin code may cause it to not work as expected. Support service won’t cover this case, so proceed at your own risk.

  1. Notification is performed by the WCUF_File.php component at line 840. The file is located in the classes\com folder. The component uses the WCUF_Email.php component to perform the notification and it is located in the same folder
  2. No template is used. The plugin just creates a text string that is wrapped using the default email header ( https://docs.woocommerce.com/wc-apidocs/source-class-WC_Emails.html#241-248 ) and footer ( https://docs.woocommerce.com/wc-apidocs/source-class-WC_Emails.html#250-255 ) that can be customized through the WooCommerce -> Settings -> Email menu. The rendering process is performed by the trigger() method defined in the WCUF_Email.php at line 8
  3. it is managed by the wcuf-frontend-order-details-page.js.php library located in the js folder. Once the upload is completed, the page is reloaded by the wcuf_reload_page_with_anchor() method defined in the wcuf-frontend-ui-manager.js library

thanks for your suggestion along with file reference, i got my answer :)

last query, I need to edit a couple of things in WCUF_Email.php & wcuf-frontend-order-details-page.js file, so maintaining the below path within my child theme will work ?

1. woocommerce-upload-files\classes\com\WCUF_Email.php

2.woocommerce-upload-files\js\wcuf-frontend-order-details-page.js.php

No problem :)

What do you mean with “maintaining the below path within my child theme”? As far as I know, you cannot direct reference plugin script files from a theme or use a child theme system for plugin files.

I can suggest modifying plugin files and to back up the original ones.

is it possible to add a custom id to all the upload fields ?

Thing is in the customer order confirmation email, i have added a link to the the My account order details page where each customer needs to upload a scan copy of a form after order completion

so, if i can assign an id to each upload field then i can redirect customers to that section of the page where the file upload field is ,

For example, https://www.example.com/myaccount/vieworder/805/#file-upload-id
Hi,
as you can see in the demo site: https://www.codecanyon.eu/wcuf/my-account/view-order/6637/?wcuf_id=4
user: demo
pass: demo
it is working.

It could be that in your case you are still running the old javascript libraries. Please try purging your browser and server cache and make sure you are using the right id.

If still doesn’t work, please give a check to the browser debug console and report me if any error is reported in there. Thank you.

it was cache, ctrl + f5 does the does :)

Glad to hear that :)

If you 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 purchases).

Have a great day!

Hello,

I bought this plugin and set it up on a dev server where I added the purchase code in order to activate. Now that I’ve transferred the site to the client’s server it’s asking for the purchase code again. When I enter it, it is saying that the code is invalid. How do I release the purchase code from the dev site and apply it to the live site?

It sounds very strange. Are you getting an error about the code invalidity or that you consumed all the available domains?

Because you are using the same purchase code, it should be always valid. If you, however, try to activate in more than the allowed domains number, you get an error about the domain limit.

I think I solved it: I had to delete the plugin from the dev server then I was able to activate it on the live server.

For your future releases, I think you should have an area in the settings that allows you to activate or deactivate the purchase code.

If any other issues come up related to the transfer I will let you know.

Thanks for your quick reply!

Glad you found a solution. You’re welcome :)

After completion of the order, the uploaded files r not attached to the admin new order email , tho i have checked the checkbox

http://prntscr.com/lxuyah

please check

For that option to work you have to enable the Options -> Checkout – Files to order association method the When the order is placed option.

I forgot to report in the description. I’ve updated the plugin reporting that info on the configuration page.

From the backend order edit page, how can i remove the product name along with variations from the upload file title ?

http://prntscr.com/lxtrec

You cannot. That’s the unique upload field title composed by the field name and the product name.

You can eventually try to manipulate the template file that prints that title. Edit the WCUF_OrderDetailsAddon.php you find inside the classes\admin folder.

The line that prints the name is the 117:
<?php echo $file_meta['title']." : ".$original_name;?>
Try manipulating the $file_meta[‘title’] as you wish.

ok

Hi,

1.on my-account order details page, the Max files restriction is not working. I have set Max files to 3 but actually i can upload more than 3 files .on the checkout page, its working fine

2.Also on my-account order details page for other restrictions, the overlay is showing but the error message is not visible

http://prntscr.com/lx6tsl

Inshort, there r some issue with this plugin on my-account order details page

let me know if u need FTP / Admin credentials

it is automatic. As you for example see in the demo site:

https://www.codecanyon.eu/wcuf/wp-admin/post.php?post=6617&action=edit
user: demo
pass: demo
https://www.dropbox.com/s/hmt9muhg38pxj0b/wcuf_zip.jpg?dl=0

If not appearing it means that your server configuration doesn’t allow that (like missing or not working ZipArchive module) .

one more thing, is it possible to show the supported file type below the file upload field ?

http://prntscr.com/lxf27v

For that kind of purpose you should use the field description area. In there you can provide info about which file format are accepted.

Hello, I have a issue when is uploaded the file, standing still in this process:

100% Save in progress, please wait… <—-Still here and have not move

Hello the file “load-image-exif-map.js” isn´t present in the javascript folder inside the plugin folder downloaded from condecanyon. where can I get this?.

I see what happend, I have Wordfence active, How can I put a exception in Wordfence firewall to your plugin?

Unfortunately for that, you should ask support to the Wordfence support. I’m not able to give support on how to configure that plugin in order to not interfere on others plugin assets loading.

Hi could you please fix this the : woocommerce-upload-files/css/wcuf-frontend-product-page.css.php and other css files that was using php extension our firewall tag this as a treat and malicious code since it has a double extension

Hi,
there isn’t any to fix because those files are designed to be in this way because they are automatically generated.

Configure your firewall in order to exclude those files to be recognized as a threat.

Please help for this issue also About the quantity show in cart is mistake I just add 30 items like http://prntscr.com/lvw6m0

but in cart page , it only show 1 (must be 30) and it’s only show wrong in Cart, it work fine in Checkout , ... http://prntscr.com/lvw7pv

What do you mean that disabling the WooCommerce Upload Files you get a 500 error? Where you be able to test the add to cart feature with the WooCommerce Upload Files disabled? Did the issue occurred?

what I thinking that just Cart page not show the right quantity, http://prntscr.com/lwbu5m need to check where to fix

Then it could be due to a cart template theme issue. Try switching temporarly to another one to see if you still experiecing it.

Dear, We have another problem with the plugin All products can be added multiple times to cart? our site is not worked

This allows customers to add different times same products to cart. Choose if all products can be added different to cart or only the selected ones.

But we try to add that products one more time, but it show warning can’t add same product any more http://prntscr.com/lvvwgp and the config for that we checked already there http://prntscr.com/lvvwtj

Hi,
Are you using any other plugin that is altering product (like ones that allow to customize product options) or cart managmet? Could you try disabling the other 3rd party plugins and report if you are still experiencing the issue?

WooCommerce Multilingual (WPML ) make can’t add products one more time, we disable , it works !

Glad you find the cause :)

HI I ve tried everything on option and visibility but my upload button doest show up.

I Made also sure you have not checked any option that restrict its visibility (Payment Gateway, Order status, user role, etc).

I Made sure that in the upload field configuration you have enabled the options to show it in the product page and before the product is added to cart.¨

but I created a product with multiple variations and the upload button won’t show.

Also I would like a sort of widget upload box on the sidebar or a pop up upload box window of my shop page that customers can upload anytime a file then proceed to cart or checkout…is that possible? because I am creating a printing service website…thanks

Hi
for what concerns the widget, it is not possible. The plugin hasn’t such a feature.

For what concerns the product page issue, 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
  4. a link to a product page where I can experience the issue

I’ll try performing some further tests to see if it possible to have more clues about the cause of the issue. Thank you.

I can’t get it to show up on my product pages. I’ve tried multiple variations. Let me know what I need to do? I want a customer to be able to upload their artwork and then add the product with varations to the cart.

Hi,
unfortunately without any further clue it is quite hard to determine the cause.

Make sure that in the upload field configuration you have enabled the options to show it in the product page and before the product is added to cart.
Make also sure you have not checked any option that restrict its visibility (Payment Gateway, Order status, user role, etc): https://www.dropbox.com/s/4drollubpba60dj/wcuf_conf.jpg?dl=0

In the general Options menu make sure you have not checked any option under the Disable upload field standard managment area: https://www.dropbox.com/s/ypz1qe3ubzaw64j/wcuf_options%20%282%29.jpg?dl=0

I’ve found the cause of the issue.

It seems that for some reasons your server is not able to load the plugin assets (javascript libraries and CSS files). If you infact try to direct access to this library: https://www.tubularheadwear.com/wp-content/plugins/woocommerce-upload-files/js/wcuf-frontend-cart-checkout-product-page.js.php?ver=4.9.9

you will get a 404 error. Fix your server and make sure it is able to server the plugin assets file and the issue you are experiecing will be gone!

Is there a way to alert or warn the user when files cannot be uploaded because they do not match the requirements?

As you can imagine, without any further clue it is quite hard to determine the cause.

Try purging your browser and server cache and check if in the browser debug console (hit F12 on Chrome, CTRL+SHIFT+K for FireFox) if any further clue is reported.

Try eventually disable 3rd party plugins to see if any is interfering.

If you link me here the page where you are experiecing the issue I can try to give a look.

Ok! I purge the cache and works fine! Thanks ;)

You’re welcome!! :)

If you enjoyed my support and/or my plugin please consider leaving the 5 stars, it would help me with sales and I would reeeeeeally 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!!! :)

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