Hi!
I find that the default checkout process is kinda lengthy. I'm trying to cut down some on some steps by requiring the info during the login/registration page.
I've managed to add the extra fields to the login/registration page, but the info doesn't save to their wordpress user profile.
I'm not php proficient, so I may be asking the same thing as Aj...
Here's an example of what I added to woocommerce/templates/myaccount/form-login.php
<p class="form-row form-row-first">
<label for="first_name"><?php _e( 'First Name', 'woocommerce' ); ?> <span class="required">*</span></label>
<input type="text" class="input-text" name="first_name" id="reg_first_name" value="<?php if (isset($_POST['first_name'])) echo esc_attr($_POST['first_name']); ?>" />
</p>
What else would I have to do to capture the info in their wordpress user profile? I'd love to be able to add what Aj is trying to do too... the 'How did you hear about us?' thing.
Many Thanks!