Purpose
Simple Role Based Pricing (SRBP) is a plugin provided by Vizulate to facilitate the mapping of Sage Price Lists & Special Pricing to website roles. It does not provide any other functionality, but may be used with other plugins that include RBP functionality with other B2B or Wholesale functions (see Compatibility below).
The plugin is only supported for Vizulate's Woosage clients.
The role based prices are displayed in the back-end under Product Data>General after the regular price and tax information. The prices cannot be edited manually as they are intended to be updated by Woosage using the data from Sage price lists.
Adding a New Customer
To add a new customer to the website that has a Sage price list (or a combination of price list and special prices) there is no longer any need to create a role, as this is not done automatically by Woosage when creating the pricelist in the website, if it doesn't already exist.
Once the role has been created, add the role to the users profile as a secondary role and this will effectively assign the price list to the customer in the website, so that whenever they are logged in they will see their specific prices.
Ensure the primary role is not associated with a any pricing mechanisms (e.g. another price list).
Testing how prices will be displayed
If you need to test this without using Woosage you can use Postman to upload role-prices to products by inserting raw JSON in to the message body with the API call https://yourwebsitedomain/wp-json/wc/v3/woosagerbp/, as follows.
{
"product": 2020,
"rbp": [{
"Role": "ROLEA",
"Price": 20.00
}, {
"Role": "ROLEB",
"Price": 15.00
}
]
}
Note, that the product reference is WC product ID
Compatibility
The following 3rd party plugins have been tested with our RBP plugin where the 3rd party RBP and other price override functions have been disabled.
- B2B for WooCommerce by Addify