Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Is there a way to add/create a Wordpress user role from the woocommerce registration form?

I use a plugin called members that allows creation of new roles, but only from the admin page. I want to add a field to the woocommerce registration form (or any other registration form) which will allow a user to choose from a selection of roles (let's say "customer a" and "customer b"), so then I can have them on my user list with a role already assigned to them, other than subscriber or customer.

Any guidance will be much appreciated.

share|improve this question
    
For anyone interested or having a similar issue, I ended up using Gravity forms with the User Registration add-on. I was familiar with Gravity forms but not with the add-on which gives you the ability to choose a role on registration. –  rohn Dec 17 '13 at 2:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.