Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #3744409
How are the upload files handled?
Open

Comments

  •  2
    Niko started the conversation

    Hey there,

    First of all an awesome plugin so thank you for creating this one! We are using the upload file option for product and they are nicely attached to orders. But how do you delete the files that are attached to the order when the amount starts to get pretty large as time goes on?

    ps. I was directed here from the wordpress forums at: https://wordpress.org/support/topic/how-are-the-upload-files-handled/#post-18071922

    Cheers,
    NikoV

  •  1,226
    Dustin replied

    Hi Niko,

    All files were uploaded to the folder wp-content/uploads/wpcpo_uploads.

    Currently, you can use a file manager plugin (e.g., https://wordpress.org/plugins/filester/) to browse files in this folder and manually delete old files.

    3407811669.png

    In the next version, I'll add the date to the folder name so you can more easily manage the uploaded files.

    Best regards,
    Dustin

  •  2
    Niko replied

    Hey Dustin,

    Thank you for the reply. That is a good idea :) I was looking for maybe some "Delete files older than x days". Where the x could be determined by the user? If it's 0 it could be indefinetly and if it is 180. The file would be deleted after 180 days. It would enable some automatic cleanup that would be really good. You think that could be a feature at somepoint?

  •  1,226
    Dustin replied

    Thanks for that idea!

    We will implement this feature in the future.

    Best regards,
    Dustin

  •  2
    Niko replied

    Awesome thank you! Have great rest of the week o/