Customer Roles

Customer roles are new roles that you assign to customers’ user accounts on the website. Customers with certain roles can be given special privileges like special discounts, shipping rates etc. For example, customers with roles like teachers, frequent buyers can have exclusive discounts and shipping rates. A customer can have more than one role.

Site Administrators can configure customer roles.

All components and fields with a red asterisk (*) are required.

Create Customer Roles

Create Customer Roles for specific groups of customers. 

  1. Select Manage in the left menu, then Users
  2. Select the Customer Roles tab.
  3. Select + Add Customer Role.customer_roles
  4. Enter a Role Name that matches the role. For example, ‘Teacher’ for teachers you want to give exclusive discounts.
  5. Select Save to save the role. 

Add Customer Roles to Users

Once you’ve created customer roles, add them to users. The roles assigned to a user display in the Roles column.

  1. Select Manage in the left menu, then Users
  2. Under the List tab, select Edit in the Operations column for the user you want to update with a customer role.
  3. Scroll to Roles and select the customer role you want for the user.

Scroll down and select Save to save the changes.

View Customers By Role

View a list of customers based on assigned customer roles under the Customers By Role tab. 

  1. Select Manage in the left menu, then Users
  2. Select the Customer By Role tab. All users assigned a customer role display. 

Select a specific role from the Customer Roles menu, then select Apply to view only users with that role.

Bulk Update Customer Roles

Add customer roles to multiple users at once using bulk update. A customer can have more than 1 role.

  1. Select Manage in the left menu, then Users
  2. Select the Customer By Role tab. 
  3. Select + Bulk Update.
  4. Select Assign for Operation to assign a role. Select Remove to remove a role. 
  5. Select a Role from the menu.
  6. Enter email addresses in Users list or select Choose File to Upload CSV file with email addresses.

Select Update customers.

Create Promotions by Customer Roles

In this example, you’ll create a promotion that gives teachers 20% off their orders based on the Teacher customer role.

  1. Select Commerce in the left menu, then select Promotions & Coupons. Select + Add promotion.promotions_menu
  2. Enter a Name that describes the promotion. For this example, enter ‘20% Off For Teachers’.
  3. Enter a Display name that shows on the order instead of Discount. In this example, that could be the same as the name or ‘Teachers 20% Off’.  
  4. Enter a Description that is for administrators, not customers. Include additional details or instructions for staff here. 
  5. Select Percentage off the order subtotal for Offer type. This gives customers the Percentage off their order subtotal that you enter. In this case, enter 20. 
  6. Next, add a Condition to apply the promotion only to the Teacher Customer Role by selecting Customer role under Customer. Then select Add and enter select the Allowed roles. In this case, select Teacher. 
  7. Leave All conditions must pass selected. 
  8. On the right, leave the Status on Enabled to activate the promotion. Set to Disabled to store the promotion for later. 
  9. Select Dates the promotion is valid. To keep the promotion open indefinitely, don’t set an end date, but you’ll need to disable the promotion manually to end it. 
  10. Don’t select Require a coupon to apply this promotion in the Coupons section on the right. 
  11. Set Usage limits using Total available and Total per customer
  12. Set the Compatibility with other promotions to specify if the promotion can be used with other promotions. 
  13. Select Save to save the promotion.

Create Shipping Method by Customer Role

Create a custom shipping method for the Teacher customer role that gives teachers a discounted shipping rate. 

  1. Select Commerce in the left menu, select E-commerce Settings, select Shipping, then select Shipping Methods page.shipping_menu
  2. Select + Add shipping method
  3. Enter ‘Teacher Shipping’ for Name
  4. Select Flat rate for Plugin
  5. Enter ‘Flat rate’ for Rate label.
  6. Leave Rate description blank.
  7. Enter 4.95 for Rate amount
  8. Add a Condition to offer the shipping method only to the Teacher Customer Role by selecting Customer role under Customer. Then select Add and enter select the Allowed roles. In this case, select Teacher. 
  9. Leave Enabled selected so the shipping method displays during checkout. 

Select Save to save the new shipping method.

Yes
No