Managing WooCommerce Groups and Group Users

1,972 views · 2 min, 24 sec read · Tutorials

Overview

Managing groups and group users in WooCommerce makes it easy to control what different users can See and do on your site. Whether you want to give certain customers special access, limit specific features, or organize users into clean permission-based buckets, groups help you keep everything structured without stress.

With the Group Management tools inside your WordPress Admin, you can create new groups, adjust their permissions, assign users to one or more groups, and even bulk-import everything when you’re handling bigger updates. The whole idea is to give you full control over user access while keeping the workflow smooth and manageable.

How to Manage Groups and Assignments

This guide walks you through each part, creating groups, editing permissions, assigning users, and importing group data, so you can manage everything confidently and keep your store running the way you want. Let’s get started by Creating Groups.

Creating Groups

  1. Go to WP Admin > commercebuild > Group Management.
  2. Enter a group name in the “Add/Update Group” field.
  3. Click Add/Update Group.

Edit / Manage Group Permissions

  1. Go to WP Admin > commercebuild > Group Management.
  2. Find the new group in the list and click Edit to enable or disable features > Save Changes

 

Assigning Groups to Users

  1. Go to Users > All Users
  2. Click Edit on the user you plan to manage groups for
  3. In the User Groups section, select the group(s) to assign in the “Assign Groups” field.
  4. Scroll down and click on Update User to save the changes.

 

Importing Groups and Assignments

You can bulk manage groups, group permissions, and user assignments by importing files. Here’s how:

1. Export Existing Data

Click Export Groups and Assignments to download three CSV files:

  • groups.csv
  • group_permissions.csv
  • user_assignments.csv

2. Edit the Files

Use the following structure to make your changes:

Groups (groups.csv)
  • Add group names in the name column, one per line.
Group Permissions (group_permissions.csv)
  • Add group names (from the groups.csv file) in the group_name column.
  • Add the corresponding permission ID in the permission_id column.
    • Find permission IDs in the cfw-group-permissions.json file.
User Assignments (user_assignments.csv)
  • Enter the user’s email in the user_email column to assign a group to a specific user.
  • Enter a customer code in the customer_code column to assign a group to all users under that code.
  • Add the group name in the group_name column.
    • Leave the group_name blank to remove a user or customer group assignment.

3. Import the Files

  1. Click Import Groups and Assignments.
  2. Upload the files in this order:
    1. groups.csv
    2. group_permissions.csv
    3. user_assignments.csv

Note: If you’re only updating user assignments or permissions, you don’t need to re-import the groups.csv file unless new groups have been added.


By following these steps, you can efficiently manage groups and permissions for your users!

Was this article helpful?

Thanks for the feedback.

Need further assistance?

Email support@commercebuild.com or open a ticket and we'll get back to you.

Submit a ticket