Learn how to limit labels for displaying only to specific user roles.
In this article we will cover how to show specific labels for specific user roles.
Example: we have a product promotion for shop club members (user role = Club Member) for all products with category Promo.
That promotion includes a 10% discount with the promocode 10OFFMEMBER.
So we want to show the label 10% OFF with 10OFFMEMBER code for logged-in users with the user role Club Member, and a Best Offer label for all other users. All this applies to products in the Promo category.

Label that view users with user role = Club Member

Label that view users without user role = Club Member
Below we will cover how to create such labels.
To create two different labels for two user groups (with and without the Club Member user role), we need to create two separate labels with different display conditions.
Let's break all required actions into small steps.

Button to create new label
Club Member role and only for products in the Promo category, set the following values for the Label Conditions option:User Role -> equal to -> Club Member AND
Product category -> equal to -> Promo

Label display conditions
10% OFF with 10OFFMEMBER code

Label text option

Button to create new label
Promo category, but only for users without the Club Member role.To do that, set the following values for the Label Conditions option:
User Role -> not equal to -> Club Member AND
Product category -> equal to -> Promo

Label display conditions
Best Offer

Label text option
That's it - with these simple steps, we've created two labels that will be shown to two different user groups, each with its own text.
You can modify this example as needed - add different user roles, change label text, or use a completely different label display logic. It's entirely up to you and only limited by your imagination and needs.
Can I add more user roles with different labels?
Yes, you can create additional labels for any other user roles using the same method - just adjust the Label Conditions accordingly.
Will these labels show for guest users?
Labels based on user roles won’t appear for guest users unless you create a separate label without a user role condition.
Can I use different categories instead of Promo?
Absolutely. You can assign labels to any product category by changing the product category condition during label setup.
Can I show some special labels for all not logged-in users.
Absolutely. Just use User Role display condition with value equal to -> Visitor