I'd like to add one or more extra-fields in the variations form.
I found and tried this (added to functions.php of theme):
and it works, a new field is added to the form.
My problem is that I'm not able to show it on front-end, I think the right place is variable.php, but I cannot find the right code to insert.
can someone help me?