Remove WP-members fields from Woocommerce registration
-
I have a site with Woocommerce, where people can register as customers and as authors, who can also post products. The authors need to fill out more information. They will be normal customers, until the admin changes their role to author. Originally I was using the Woocommerce login/register page and added extra fields there for author registration with Wp-members. However, the extra information was not saved. I found this but wasn’t able to fix it
http://rocketgeek.com/forums/topic/extra-fields-are-not-populated-using-wp-members-2-9-2/I decided to make a separate WP-members registration page for author registration, and provide a link to that in the Woocommerce register page. That page and registration works now. The problem is, that the extra fields are also on the Woocommerce registration page and they cause some problems. I hid them, but none of them can be required, because they are still there. I added a password field to the author registration and now the customer registration does not work anymore, because Woocommerce has its own password field. The one added from WP-members is hidden, but it’s required by default I guess, and now there is an error saying “Please enter an account password” when trying yo register from the Woocommerce page.
So, how could I remove the WP-members fields from the Woocommerce registration page for customer, and only keep them on the Wp-members registration page for authors? Or at least somehow get rid of the password error on that page, so customers would able to register too.
- The topic ‘Remove WP-members fields from Woocommerce registration’ is closed to new replies.