Create and manage user groups

Who is allowed to post offers on my marketplace?

By default, on your Kreezalid marketplace, a customer may be a seller and a seller may be a customer. Registered and authenticated users initially have access to the listing creation form.

In order to define different publication rights according to the type of user, Kreezalid integrates the "User Groups" feature. This setting allows you to define different categories of user accounts with different publication rights. To get started go to your admin panel :

Settings > Users > User Groups

Creating "user groups" allows you to request additional information from members when filling in the signup form. For example, if the user is a company, you can request his tax number, the headquarter address, etc. These options are called User attributes.  

At any time you can change a group user and activate or deactivate his account.

Creating distinct user groups with distinct signup forms

Let's say you will have two types of users:

Both types will use your platform, but their roles will be different. So, usually, you'll want to allow one role or the other to perform certain actions (like creating and publishing a listing). You might also want to present them with two different registration processes.

Kreezalid enables you to do just that: you can create two (or even more) user groups with distinct roles.

Besides, you'll also be able to create specific user attributes to assign to those user groups. For instance, if you have a service marketplace, you could create relevant user attributes for your sellers, like Years of experience, or Freelancer or company to distinguish solo freelancers from agencies.

What we're going to do

In this tutorial, we're going to create two user groups :

  • A Customer group, which will be able to browse and purchase listings but not create them.
  • A Seller group, which will be able to create listings. We'll also add a link in the navigation menu so your visitors can easily signup to become sellers on your website. This link will lead to a special page of your marketplace that will explain in detail the benefits of becoming a seller on your marketplace, along with a call to action leading to the seller signup form. This group will have its own signup form.

Step 1 : Creating your user groups

To create your user groups, head over to Settings > Users, then click on User groups and finally click on Add user group.

The Seller group

We'll start with the seller group. After clicking on the Add user group button, you'll see the user group form.

This form lets you configure :

Next, the Customer group.

The Customer group

Now it's time to configure the forms for your user groups.

Step 2 : Configuring sign up forms

To configure your user signup forms, head back to Settings > Users. Click on the Manage sign up form fields.

You'll see the default fields, common to all user groups: first name, last name, username, email, password and password confirm. Clicking on the name of a field will open its configuration form. For each field, you can configure:

Here's how we configure the default fields of our signup forms:

Field first_name last_name username email password password_confirm
Ask for this field? Yes Yes No Yes Yes Yes
Label First name Last name   Email Password Confirm password
Placeholder Enter your first name Enter your last name   Enter your email address    
CSS class signup-fname signup-name   signup-email signup-password signup-password
Required Yes Yes No Yes Yes Yes
Pattern Leave blank Leave blank   Leave blank Leave blank Leave blank
Maxlength Leave blank Leave blank   Leave blank Leave blank Leave blank
Sort priority 1 2 3 4 5 6

Now, our Customer signup form is done, the default fields are enough.

What we want though is to add extra fields to the Seller signup form. This is done by creating user attributes for the Seller group.

Step 3 : Adding extra signup fields by adding user attributes

In the Seller signup form, you might want to ask the users for extra information during sign up. For instance, you could ask whether they are signing up as an individual or on behalf of a company. You could also ask them to specify their experience level.

Let's see how to do just that. First, head over to Settings > Users > User attributes.

Next, click Add user attribute. On the customer attribute form, you'll find almost the same input fields as on the Manage sign up form fields page. With one exception: you have the Type field, which lets you specify what kind of form input you want for your user attribute (short text, yes or no question, dropdown list, checkbox, date, etc.).

First, let's add the field "Entity type":

Click save. Next, add the "Experience" field.

Click save.

Once you're done, here's how your seller sign up form will look like:

Step 4 : Creating a specific page for seller sign up

The last step of our tutorial is to create a specific page for your sellers to signup. This can be easily done in your admin dashboard. Go to Settings > Pages > Add page.

On this page, you'll find the page creation form. It's a straightforward form that lets you create any page you'd like using a simple WYSIWYG editor and optionally upload a featured image.

For our example, we'll fill the form like this:

You're almost done. There is one final step: adding a link to the page we just created in the navigation menus of your website.

Step 5 : Adding a link to seller sign up in the navigation menus

To configure your menus, go to Settings > Navigation. There, you'll see two menus, to which you can add a link to any of your marketplace pages: the main menu (at the top of the website) and the footer menu.

Click on Main menu, then on Add menu item. A new menu entry will appear. Put "Become a seller", and select the page you just created. Click Save Changes.

You can repeat this process for the footer menu if you'd like to also add a link there.

Here's the final result:

Et voilà! You now have two different types of users, a signup form for each type and a nice landing page for sellers to sign up.