I'm creating a store in magento 220.127.116.11
Courses are virtual products that can be bought. When buying you sign up for a course.
One customer can buy courses for other people. I've set a custom option, text field, for a product where the customer is supposed to write the name of the person attending the course.
In most cases the customer buys the course for himself so I want the custom option to have a default value which is the customers name (if signed in).
I want this to be visible when the customer is viewing the product so that he can change it if needed.
How can this be done?