Hi, My client wants me to add two fields in the “checkout” form if the person ordering does not have an account (and therefore buying will create an account for them).
Choosing your password
At the moment, if I uncheck the box “When creating an account, send the new user a link to set their password” in the WooCommerce settings, at no time is the password asked so the person will have to do “forgotten password” the next time they want to order. So, I would like to know if it is possible to add a “password” field to the checkout form in order to ask the person buying to choose their password right away when creating the account.
Attach a PDF
Also, my client wants to add a “browse” field in the checkout form so that the buyer can attach a PDF to their profile. Again, I need to add a field in the checkout form but for the buyer’s profile.
I tried some code that adds fields in the “user_register” form, it works but the problem is that it adds the fields in the “register” modal, not in the checkout form as desired.
Is it possible to do this? Add custom fields in the checkout form?
Thanks for your help!