This plugin allows you to create as many allocation rules as you can use to associate different roles based on different actions.
In order to create a rule, you need to go to YITH > Automatic Role Changer. Now enter a unique name for your rule in the field “Name the rule” and click on Add new rule:
You can now customize your rule, choosing from “The user will gain the role” to decide which role will be assigned to the user for the action specified below:
The second option is “Switch role”: the user role will change from one to another based on the action options specified below:
You can choose from one of four options:
- User purchases a specific product
- Order total is within the following price range
- Customer’s total spend falls within the following price range
- User purchases products from specific categories or tags