Assigning a Role to Customers in Drupal Commerce (Drupal 10)
- Open the Configuration Page
Navigate to:
👉 Admin Panel → Configuration
Or directly visit:/admin/config
Access Profile Types
- Click on Profile types.
- You will see a default profile named "Customer".
- Click on Customer to open the customer profile settings.
Alternatively, go directly to:
/admin/config/people/profile-types
- Set the User Role for Customers
- In the Customer profile settings page, you can assign a user role that will be applied to customers.
- Navigate to:
/admin/config/people/profile-types/manage/customer
- Select the desired User Role for customers and save the changes.