Home › Forums › General › File path in woocommerce order
I use wsform for woocommerce, I created a product with several fields including an upload file
How can I have the uploader file path in the order, instead of the file name?
Would also like to know
To do this, I modified the file ws-form-“woocommerce/includes/classes/class-ws-form-action-woocommerce.php” line 2278
$value_array = $file_name . ( ( 'file' == $submit_meta['type'] ) ? ( ' (' . $file_size . ')' ) : '' );
$value_array = 'https://' . $baseurl . '/wp-content/uploads/' . $file_path;