Adding in User Role Definition in Admin Registration form from eCommerce webinar 2
On the eCommerce Webinar 2, Ray creates Admin and User roles as part of a User Groups and creates the table in MySQL with the default value of 1 (user). However, on the Registration Form, he didn't go over how to select the Role of User or Admin when you are creating a new user.
I am assuming it is adding in a drop down box in the form, but can you tell me the code needed for the inputs to signify that a User is in UserGroup 1 or 2?
Thanks!