Title: uploaded files problems
Last modified: January 26, 2021

---

# uploaded files problems

 *  Resolved [jesusmelli](https://wordpress.org/support/users/jesusmelli/)
 * (@jesusmelli)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/uploaded-files-problems/)
 * I own an online print shop where users can upload the files which they want to
   print. But sometimes I get problems with CPO UNI. The order shows an ID file 
   which doesn´t exist in the library. there´s no any linked file in the order.
 * Here I leave a real example. The order says:
 * _cpo_product_id:3252
    _add-to-cart:3252 _cpo_product_image:3231 _cpo_cart_item_id:
   1611609903 **Upload your file:5518** Total pages:10 Paper size:A4 Color:Color
 * There isn,t any file called 5518 in my WordPress Library. There´s no way to know
   which file I need to print.
 * By the way, the field “upload your file” is required in muy website. I mean, 
   the users are not allowed to add the product to the cart before uploading the
   file.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fuploaded-files-problems%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Plugin Author [moomooagency](https://wordpress.org/support/users/moomooagency/)
 * (@moomooagency)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/uploaded-files-problems/#post-13960047)
 * Hi,
 * 5518 is an ID of file attachment.
 *  Thread Starter [jesusmelli](https://wordpress.org/support/users/jesusmelli/)
 * (@jesusmelli)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/uploaded-files-problems/#post-13960138)
 * Hi. No it´s not. In fact, this is the kind of name which CPO UNI uses when there
   is no file uploaded in the order. But as I said before, This option is not enable
   in my site.
 * I don´t know what it is, but definetly it´s not a file ID.
 *  Plugin Author [moomooagency](https://wordpress.org/support/users/moomooagency/)
 * (@moomooagency)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/uploaded-files-problems/#post-13960452)
 * How it is possible then to make order without uploading the file if file upload
   is required?
 *  Thread Starter [jesusmelli](https://wordpress.org/support/users/jesusmelli/)
 * (@jesusmelli)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/uploaded-files-problems/#post-13960694)
 * So that is exactly the reason of texting you here instead trying to fix it on
   my own. Because it doesn´t make sense at all. I read about the same issue 6 months
   ago in a topic from other member . Your team gave him the same answer you´ve 
   just given me now. He never texted you back, but I´m sure that this wasn´t a 
   solution.
 * I´ve been watching this problem for a long time and I think this only happens
   when my customers add more than one file in their carts. This all that I can 
   tell you.
 *  Plugin Author [moomooagency](https://wordpress.org/support/users/moomooagency/)
 * (@moomooagency)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/uploaded-files-problems/#post-13960807)
 * Please, write to [support@moomoo.agency](https://wordpress.org/support/topic/uploaded-files-problems/support@moomoo.agency?output_format=md)
   with a step by step instructions how to reproduce the issue on my localhost.
 * Thanks!
 *  Thread Starter [jesusmelli](https://wordpress.org/support/users/jesusmelli/)
 * (@jesusmelli)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/uploaded-files-problems/#post-13960837)
 * Ok, I´ll do it. Thanks.
 *  Thread Starter [jesusmelli](https://wordpress.org/support/users/jesusmelli/)
 * (@jesusmelli)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/uploaded-files-problems/#post-13960841)
 * Anyway, is there any chance to find the file using the “cpo_cart_item_id”? (Check
   this out in my first message.)
 *  Plugin Author [moomooagency](https://wordpress.org/support/users/moomooagency/)
 * (@moomooagency)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/uploaded-files-problems/#post-13960870)
 * It is not a file.
 *  Thread Starter [jesusmelli](https://wordpress.org/support/users/jesusmelli/)
 * (@jesusmelli)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/uploaded-files-problems/#post-13961047)
 * Replying your last message; I can not tell you how to reproduce this issue because
   I have no idea how my customers do it. Maybe this happens when the carts are 
   created several days before the purchase is done. Once I could reproduce this
   issue and I think it was because of this.
 *  Thread Starter [jesusmelli](https://wordpress.org/support/users/jesusmelli/)
 * (@jesusmelli)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/uploaded-files-problems/#post-13963639)
 * Hi again
 * I ´ve just find out the mistake.
 * When customers want to upload more than one file; they upload the firt one, then
   they add it to the cart and, when the product is in the cart, they have to delete
   the uploaded file if they want to upload a new one, because the page is not refreshed
   automatically and they are not allowed to select other file before removing the
   first one.
 * By doing this, we have carts with no uploaded files, even though the rule doesn’t
   allow it.
 * Any chance to refresh this page automatically after the user press the “add to
   cart” button?
 *  Plugin Author [moomooagency](https://wordpress.org/support/users/moomooagency/)
 * (@moomooagency)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/uploaded-files-problems/#post-13963973)
 * Thanks for the bug report! Will try to fix it in the next release.
 *  Plugin Author [moomooagency](https://wordpress.org/support/users/moomooagency/)
 * (@moomooagency)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/uploaded-files-problems/#post-14016081)
 * If you enable ‘ajax add to cart’ functionality in Uni CPO settings, then adding
   to the cart removes file from file upload. So, file upload option is empty, customer
   cannot delete the file. It may be a workaround for this issue.
 *  Thread Starter [jesusmelli](https://wordpress.org/support/users/jesusmelli/)
 * (@jesusmelli)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/uploaded-files-problems/#post-14035333)
 * Great! It seems to work! Thanks.
 *  Thread Starter [jesusmelli](https://wordpress.org/support/users/jesusmelli/)
 * (@jesusmelli)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/uploaded-files-problems/#post-14035368)
 * Actually, We´ve just fixed the last issue but now the users are allowed to add
   the product to the cart before uploading the file. But it´s ok for now. I hope
   they wont do that.

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘uploaded files problems’ is closed to new replies.

 * ![](https://ps.w.org/uni-woo-custom-product-options/assets/icon-256x256.jpg?rev
   =1764217)
 * [Product Options and Price Calculation Formulas for WooCommerce – Uni CPO](https://wordpress.org/plugins/uni-woo-custom-product-options/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/uni-woo-custom-product-options/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/uni-woo-custom-product-options/)
 * [Active Topics](https://wordpress.org/support/plugin/uni-woo-custom-product-options/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/uni-woo-custom-product-options/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/uni-woo-custom-product-options/reviews/)

## Tags

 * [CPO](https://wordpress.org/support/topic-tag/cpo/)
 * [files](https://wordpress.org/support/topic-tag/files/)
 * [upload](https://wordpress.org/support/topic-tag/upload/)

 * 14 replies
 * 2 participants
 * Last reply from: [jesusmelli](https://wordpress.org/support/users/jesusmelli/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/uploaded-files-problems/#post-14035368)
 * Status: resolved