In my marketplace in Woocommerce people use the panel of Wordpress itself to upload their digital products. I would like to put at least 1 file url as mandatory before the person can publish the product. I believe that with some code in JS is enough.