The plugin allows you to update dynamically product price, according to the role of the user who is going to purchase. You can either set a global rule, which applies globally to groups of products in your store, or it can be specifically created for a single item in the shop.
Before describing how to create a new rule in both cases, you should focus on some essential elements concerning plugin behaviour:
- Each rule that you have created and configured will be applied to the “Regular price” or to the “sale price” (if set on the product) depending on the option settings in YITH Plugins -> Role Based Price -> General settings.
- More than one price rule can be applied to the same product, at the condition that all of them have been specified either in section “Price Rules” in plugin option panel (so they are global rules) or in single product page (so they are product rules).
Role Based Prices Transient
Under “General Settings” you will also find the option to use a tool to clear the plugin transients cache as you can see in the image above.
YITH WooCommerce Role Based Transients API allow developers to store information in your WordPress database with an expiration time. This help speeds up your site and keeps your server loading time down, using this option you can remove the transients cache.
Role Based Prices doesn’t allow creating new roles. It only manages the ones already available. However, you can create new roles with the use of Members free plugin.