Price based on User Role for WooCommerce

Set and display WooCommerce products prices by user roles.

Author: tychesoftwares SKU: N/A Category: Tags: , , Version: 1.2.1; Last updated: 1 month ago; Requires WordPress version: 4.4; Tested up to: 4.9


This plugin is a premium version of free "Price based on User Role for WooCommerce" plugin.

Price based on User Role for WooCommerce plugin lets you display WooCommerce products prices by user roles.

Prices can be set globally or on per product basis.

When setting prices globally, you just need to set price multiplier for each user role.

When setting prices per product basis, you can set exact price for each product. Works with variable products.

You can also hide product prices for selected user roles.

General Options

Price by User Role for WooCommerce - Admin Settings - General Options

WooCommerce Price based on User Role
Enabled/disables the plugin.
Default: yes
Search Engine Bots
Enabled/disables price by user role for bots.
Default: no

Roles & Multipliers Options

Price by User Role for WooCommerce - Admin Settings - Roles and Multipliers Options

Enable Multipliers
When enabled, this will multiply all products prices by multipliers set below.
Default: yes
When enabled, this will apply user role multipliers to shipping calculations.
Default: no


Role Multiplier
Sets multiplier for the role (e.g. Guest or Customer etc.).
Default: 1
Make Empty Price
If checked, will hide the product prices (i.e. will make it empty) for the selected role.
Default: no

Per Product Options

Price by User Role for WooCommerce - Admin Settings - Per Product Options

Enable per Product Settings
When enabled, this will add new “Price by User Role: Per Product Settings” meta box to each product’s edit page.
Default: yes
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.
Default: None

Price by User Role for WooCommerce - Admin Settings - Per Product - Meta Box

Prices & Licenses

Single siteUnlimited sites
1 year$19.99$49.99


We want to ensure that you are 100% happy with your purchase, so if you feel the product(s) you purchased are not the best fit for your requirements and you attempted to resolve issues with product's author, we are offering 30 day money back guarantee refund policy.


There are no reviews yet.

Be the first to review “Price based on User Role for WooCommerce”

14 thoughts on "Price based on User Role for WooCommerce"

  1. NIK JORDAN April 2, 2018 at 5:24 pm #

    Hi i bought this plugin i used in my woocomerce eshop to hide the price ,its working ok when i put the product in single product mode
    (hide the price)
    when i put the product in a (variable) mode did not hide the price it show me this message (This product is exhausted and unavailable at this time.)
    i search any settings in variable product mode but didnt work

    can you help me?



  2. Robert Clarkson May 23, 2018 at 3:12 pm #

    Hi The multiplier function on my site dosent seem to be working, is there anything i can do to resolve this


    • Tom Anbinder May 24, 2018 at 6:37 pm #

      Hi Robert,

      If you have any caching plugins installed (e.g. W3 Total Cache), please try disabling them to see if issue disappears. If that won’t help – maybe I can login to your server and check what’s going on? My private email is

      Best regards,


  3. Alex June 13, 2018 at 1:08 pm #

    I’m testing the free version, and have an issue: the shop shows both the full price and the discounted price, as per settings, but both prices are identical, equals to the discounted amount. Is there a way to solve?


  4. Iker VIllasante July 16, 2018 at 10:12 pm #

    Hello there, i got a question

    I need a plugin to show different prices by user role, thats ok, but i also need to hide the whole product when price is empty or 0, not only the price but the whole product.

    Can you do that?


  5. leandropl August 5, 2018 at 8:38 pm #


    I’ve just bought this plugin, and testing along with WP All Import, I saw that when a product’s variation has no price setted, it is not listed at all at the “Price by User Role: Per Product Settings” product metabox.

    Debugging the problem, I fixed it with the woocommerce_hide_invisible_variations hook, at the line 240 of the includes\admin\class-alg-wc-price-by-user-role-settings-per-product.php file this way:

    add_filter(‘woocommerce_hide_invisible_variations’, ‘__return_false’);
    $available_variations = $_product->get_available_variations();
    remove_filter(‘woocommerce_hide_invisible_variations’, ‘__return_false’);

    Since, at my point of view, there is no reason to hide invisible variations at the edit product screen, I think this plugin should be updated with this fix.

    I hope I have helped.


    • Tom Anbinder August 6, 2018 at 4:49 pm #


      That’s a good point and thanks for the provided solution. We will definitely include it in next plugin update, however I’m thinking of using $_product->get_children() instead of $_product->get_available_variations() with woocommerce_hide_invisible_variations filter – as far as I remember it will list invisible variations also (will have to re-test that though).

      Will let you know here as soon as update is ready.

      Best regards,


  6. Rommel Plofino August 9, 2018 at 8:47 am #


    I’m having errors from the Meta Box after adding more than 50 variations inside the Product and more than 10 user roles. Looks like around 40 variations can hold of this plugin. Any advice or solution how can I allow this plugin to hold more than 50 variations within a single product?



  7. raudabaugh September 7, 2018 at 5:26 pm #

    When I tested the free version, I was able to get the variable product to work with this role based plugin. After installing (AND PAYING FOR) the pro version, it stopped working. It is not showing me the user roles on the product page, and all the variable titles are messed up.


    • raudabaugh September 7, 2018 at 6:27 pm #

      The first biggest problem is that when I setup this variable product and select ‘Yes’ to enable “Price by User Role: Per Product Settings”, it does not present the user roles so I can set the pricing


      • raudabaugh September 7, 2018 at 6:39 pm #

        And, yes, the variations have been setup.


        • Tom Anbinder September 9, 2018 at 4:04 pm #


          In case if anyone else has similar issues – as we figured out in private emails – problem was that our “Price based on User Role for WooCommerce” is listing only available variations. That is – if you didn’t set standard price for the variation, it is “disabled” and because of that is not listed in “Price by User Role: Per Product Settings” meta box. This behaviour is changed in plugin version 1.2.0 – now plugin is listing all (i.e. even disabled/unavailable) variations in meta box.

          Hope that helps.


  8. syoknyer November 5, 2018 at 6:14 pm #

    Hi, I have a problem with this plugin. It cannot be integrated with Add-On price plugin. The calculation when I checkout is not working correctly. I have been emailed this problem to you. Tq


    • tychesoftwares November 6, 2018 at 6:43 am #


      Can you please provide us the Add-on price plugin which you are using on your site? You can email us at support at tychesoftwares dot freshdesk dot com

      Also, it would be great if you can explain to us about the issue in detail with screenshots which you are facing. This information would help us in understanding and then I can assist you in a better way.


Leave a Reply


= 1.2.0 - 09/09/2018 =
* Dev - Per Product - Listing all variations for variable products (instead of "available" only).
* Dev - Code refactoring: version_updated() function added; autoloading plugin options; settings are saved as main class property; admin folder renamed etc.
* Dev - Admin setting descriptions updated. Minor meta box restyling. Outputting tooltip with wc_help_tip().
* Dev - Plugin URI updated.

= 1.1.1 - 09/06/2018 =
* Dev - Plugin renamed to "Price based on User Role for WooCommerce" from "Price by User Role for WooCommerce".

= 1.1.0 - 12/05/2017 =
* Dev - WooCommerce 3.x.x compatibility - get_formatted_variation_attributes().
* Dev - WooCommerce 3.x.x compatibility - Product ID.
* Dev - WooCommerce 3.x.x compatibility - Price hooks.
* Fix - woocommerce_variation_prices_sale_price hook fixed.
* Dev - Code refactoring - alg_get_product_display_price().
* Dev - Code refactoring - Price hooks.
* Tweak - Plugin header (Text Domain etc.) updated.
* Tweak - Plugin link changed from to

= 1.0.0 - 27/01/2017 =
* Initial Release.


  • Buy the plugin 🙂
  • Download plugin's zip to your computer (you will receive an email with download link, or you can always download the plugin from your account).
  • Go to Admin Dashboard > Plugins > Add New > Upload Plugin and browse for downloaded zip file.
  • If plugin is successfully installed - you should see it added to the Plugins list.


To keep WPCodeFactory items up to date, please install WPCodeFactory Helper plugin and enter your site key.