How to Add User Role Dropdown on the WooCommerce Registration Page?

Adding User Role Dropdown 

The plugin allows its users to add a user role dropdown in the registration form. This gives a personalized user experience to customers. To display the user role dropdown, follow the steps here:

  • Log in to your WordPress admin panel and navigate to Registration Fields > Settings > User Role Settings.
  • Enable the option “Enable User Role Selection.” This will activate the user role dropdown on the registration page.
  • Next, add a field label for the user role selection box. This label will be displayed on the registration page to indicate that users must select their role.
  • Choose which user roles you want to display in the dropdown on the registration page:
    •  Editor
    •  Author
    •  Contributor
    •  Subscriber
    •  Customer
    •  Shop manager
    •  Wholesale
    •  B2B
    •  Retailer

(Note: The administrator role is not available for display in the dropdown)

Once you’ve configured the plugin settings according to your preferences, be sure to save your changes.