I am using woocommerce for an eCommerce website. I want to add one more field in Login Regiser page. On this page there are three fields in registration (Email, Password and Re-enter password) and I want to add one more field for phone number.
Can anybody help me ? Thanks in Advance http://wordpress.org/plugins/woocommerce/
First, ensure that the WooCommerce registration forms are enabled on the account login page. For this, go to WooCommerce > Settings > Accounts and check to Enable customer registration on the “My Account” page. After enabling this option, you can see the WooCommerce registration form at the frontend.
So, if you want to have a LOGIN + MY ACCOUNT page, and a separate REGISTRATION page, use this stack: [wc_reg_form_bbloomer] on the Register Page – SNIPPET #1 BELOW. [woocommerce_my_account] on the My Account Page. add a registration redirection snippet, so that they go to the My Account page.
If anyone else is curious on how to add additional fields to the login/register/any other account forms. You can achieve this quite easily since WooCommerce has added those to their templates folder. All you have to do is copy-paste the form you need to modify from plugins>woocommerce>templates>myaccount and drop it into your own theme. After which, you can add your extra fields and add any other functionality to make them work using http://docs.woothemes.com/document/hooks/
Hope this is of help to anyone who's been stuck on this.
I Use the "Register Plus Redux" plugin and use the "billing_phone" Database key to map to the correct field in the the User database. You can also have the user add other Information such as "'billing_address_1" and any others. Best Regards Marc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With