Product Icon

Product Add-Ons for WooCommerce

Offer add-ons like gift wrapping, special messages or other special options for your products.

Add the possibility to restrict file upload on file-type and file-size

If you use the file upload functionality within product-addons, i would like to restrict the upload on the file type (like .jpg) and the size (minimum e.g. 4mb, maximum 20mb).
Currently you have to use the core word press restrictions.

Author

Current Status

Closed

Last updated: January 14, 2021

4 comments

Log in to comment on this feature request.

  1. jaskyt8 says:
    Product Developer June 21, 2024 12:21 pm

    Hey everyone,

    Thank you for your feedback!

    File upload size and type restrictions need to be set on server-level and not on plugin-level. If a plugin tried to impose a size restriction that was higher than the one defined on the server, then this could potentially cause additional issues.

    To set size and type restrictions for files uploaded by shoppers, I encourage you to get in touch with your host.

  2. Matt Wiggins says:

    This is definitely needed. As it is now, if someone uploads something over the server max, it sends the whole site into panic mode.

  3. lorispaint says:

    this should be standard feature. please make this available. Upload sizes greater than 10mb will crash your site.

  4. poehah says:

    This is already possible with the Advanced Product Fields for Woo plugin. https://www.studiowombat.com/plugin/advanced-product-fields-for-woocommerce/

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.