Using the Vizulate Simple Role Based Pricing Plugin with Woosage50
Purpose
Simple Role Based Pricing is a plugin provided by Vizulate to facilitate the mapping of Sage Price Lists & Special Pricing to website roles. It can be used on it's own or with wholesale/trade/B2B plugins, where we don't support their method of implementing role-based price (see Compatibility below).
The plugin is only supported for Vizulate's Woosage clients.
In the website back-end the role based prices are displayed in the products 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 and/or special prices.
The plugin can be downloaded from
here (select folder named Simple RBP) and there are no setup is required.
Adding a New Customer
To add a new customer to the website that has a Sage price list or special prices Woosage50 will create a role on the website with the name of the price list or the customer accounts code (in the case of a customer with one or more special prices). Roles can be managed using a number of plugins, but we recommend a free one from WP Front called User Role Editor that can be added via your website. It's available on the WordPress plugin repository. The role just acts as a tag and doesn't need any capabilities.
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
The following information is intended for developer use.
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 the 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
- B2BKing by Kings Plugins
Woosage50 supports the role-based pricing functionality of the following plugin, without the need to add Vizulate Simple Role Based Pricing plugin'
Related Articles
Using the Vizulate Simple Role Based Pricing Plugin
Purpose Simple Role Based Pricing 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 ...
Setting up Role Based Pricing to utilise Sage Customer and Special Price Lists
Introduction Woosage now supports the application of Customer and Special Price Lists to customer roles in WooCommerce (WordPress roles). Each Customer Price List is mapped to a website role that will apply the relevant prices to customers with a ...
Adding New Price List Customers (when using Elex Plugin)
Introduction Woosage supports the application of Customer and Special Price Lists to customer roles in WooCommerce. Each Customer Price List is mapped to a website role that will apply the relevant prices to customers using a 3rd party Role Based ...
Adding New Price List Customers (when using Barn2 Plugin)
Introduction Woosage supports the application of Customer and Special Price Lists to customer roles in WooCommerce. Each Customer Price List is mapped to a website role that will apply the relevant prices to customers with a role using a 3rd ...
Setting Sage Customer Account Codes via the Woosage Plugin
The Woosage plugin adds a field to the website user account details (shown below) to allow the Sage Account Code to be added to order generated by the user (when logged on), so that the order is imported to the relevant Sage account. Add a Sage ...