Product Prices by User Role for WooCommerce plugin allows you to display WooCommerce product prices as per user roles. So you can setup different prices for different user groups. Similarly, you can also modify the shipping charges based on user roles.
WooCommerce product prices can be set globally or on a per product basis using this plugin.
Installation ↑ Back to top
- Download the .zip file from your WooCommerce account.
- Go to: WordPress Admin > Plugins > Add New and Upload Plugin with the file you downloaded with Choose File.
- Install Now and Activate the extension.
More information at Install and Activate Plugins/Extensions.
Setup and Configuration ↑ Back to top
Price per user role can be set at global level as well as product level. Global level settings can be found under WooCommerce > Settings > Product Prices by User Roles. Below are the sections and their usage.
General Options ↑ Back to top
Product Prices by User Roles – Enables/disables the plugin. By default this option is enabled.
Search Engine Bots – Enables/disables product prices set by user roles for bots. There will be instances where search engines will crawl through the site and display the product prices in search results. Setting this option will disable the prices to be tracked. By default this options is not set.
Roles & Multipliers Options ↑ Back to top
Enable Multipliers – When enabled, this will multiply all products prices by multipliers set below. This option is enabled by default.
Shipping – When enabled, this will apply user role multipliers to shipping calculations.
Role Multiplier – Sets multiplier for the role (e.g. Guest or Customer etc.). Prices for all the products will be multiplied by this factor. Default value is set to 1.
Make Empty Price – If checked, will hide the product prices (i.e. will make it empty) for the selected role. Disabled for all the roles by default.
Per Product Options ↑ Back to top
Enable per Product Settings – When enabled, this will add new “Product Prices by User Roles: Per Product Settings” meta box to each product’s edit page.
Show Roles on per Product Settings – If per product settings is enabled, you can choose which roles to show on product’s edit page. Leave blank to show all roles.
Per Product Settings ↑ Back to top
The above meta box appears for all the products and allows the user to set prices at Product level and ignore the multipliers set globally.
Enabled – To enable role based pricing on the product page. Set to No by default.