YITH Automatic Role Changer for WooCommerce helps you to automate the management of user roles within your e-commerce. You will be able to create custom rules to automatically change a customer’s role based on certain conditions, such as purchasing a specific product, reaching a minimum spend, or exceeding a threshold of orders placed.
You can use this plugin to manage resellers, partners, B2B sales, structure pre-sales strategies, access confidential content, and much more.
In this post, we’ll explore how to create a rule to assign a new role automatically when meeting specific conditions. In our example, we want to reward users with the Partner role that provides exclusive benefits for making big purchases.
Let’s begin:
Step 1 — Add rule
From the Rules tab in the plugin settings, click on the “Add rule” button to start configuring our rule (1)
And add a name to identify the rule (2)
Step 2 — User role assignment
Next, choose the role assignment type. In this case, we want to assign a new role, so we select ‘the user will gain the role’ and then choose the role to be assigned from the dropdown (3).
Step 3 — Rule conditions
Now, let’s define the conditions for role assignment. The rule should apply when the order total falls within a specific price range. Set the minimum amount to 5000, and leave the “To” field empty to allow for unlimited order totals. (4)
Step 4 – Schedule rule
Additionally, we need the rule to take effect from a specific date, so we set a start date accordingly and leave the end date blank to keep the rule active indefinitely (5).
Step 5 — Enable role expiration
Since we want this role to expire after a specific number of days, we have to enable the role expiration option, selecting the role to be switched back in 30 days (6). In this way, users will have to keep purchasing orders within the minimum price range to maintain the role and it’s benefits
Step 6 – Exclude users
Lastly, to prevent users with the “Reseller” role from benefiting from this rule, we enable the exclude users option (7).
Don’t forget to click ‘Save’ and we will have our new role-switching rule created!
With YITH WooCommerce Email Templates you can manage and customize the templates of emails sent from your store for a more professional look.
Thanks to this integration, you can customize the emails sent by the plugin. After installing and activating both plugins, you can stylize the following emails:
To read more information about YITH Email Templates, check the full documentation here.
YITH Role Based Prices allows you to show different prices based on the role your users have, and offer dedicated discounts or increase the product prices. Choose all the prices you want to show: Regular price, Sale price, and Role-based price.
The integration with YITH Automatic Role Changer allows you to forget about changing roles manually and automate your marketing strategies: your users will automatically see the updated price if they buy a given product, make a total spend, etc.
To start using both plugins together, all you have to do is to activate both of them from the Plugins page in your WordPress dashboard.
Then, start configuring automatic change rules as explained in detail on this page.
Please note: to make the role-based price show correctly, make sure that your users have no more than one role assigned. If they happen to have more than one user role at the same time, no role-based prices will be shown.
Example
Configure a Price rule with YITH Role Based Prices plugin.
10% off for the role New customer
20% off for the role Returning customer
50% off for the role Loyal customer
Then, create the switch rules from YITH Automatic Role Changer settings panel:
Switch from New customer to Returning customer if the customer’s total spend exceeds £500.
Switch from Returning customer to Loyal customer if the customer’s total spend exceeds €1,000.
If you want to read more about how to configure YITH Role Based Prices, please, refer to the plugin official documentation.
YITH WooCommerce Subscription allows generating recurring payments for your products. Let your customers join a subscription plan with a payment cycle of your choice and many other options.
If you combine this plugin with YITH WooCommerce Subscription, the customer will automatically get the role you have set when the subscription changes to status ‘active’ or ‘trial’. The role will be removed automatically when the subscription gets the status ‘paused’, ‘pending’, ‘overdue’, ‘cancelled’, ‘expired’ or ‘suspended’.
You will only have to activate both plugins in order to make them work together. For more information on YITH Subscription, check the full documentation here.