This code enables you to add 2 authors to WooCommerce products like this :
Works in any WordPress theme.
- Copy & paste all the PHP code, ( excluding the opening PHP tag ), to the end of your child themes functions file or custom functionality plugin.
Resave settings > permalinks.
Note : If not using Genesis, don’t use the code for the genesis_product_author_shortcode function. There are 2 shortcode functions. 1 for genesis and 1 for non Genesis themes.
Adding 2nd Author
Use WordPress custom fields or any custom field plugin like ACF to add your 2nd author name. Custom field name is co_author.