Paid Memberships Pro
PmPro and User Roles (7 posts)

  1. MaddTechWF
    Posted 2 years ago #

    Is there a way to set a users role based on PmPro membership? I'm trying to use it with WooCommerce and would like to show pricing based on role. I know how to change the price based on role in WooCommerce but I'm not sure how to get PmPro to work for me.


  2. messica
    Plugin Author

    Posted 2 years ago #

    Hey there,

    You should be able to do exactly what you want with this addon: http://www.paidmembershipspro.com/add-ons/plugins-on-github/pmpro-roles/

    Hope that helps!


  3. Baronvon
    Posted 2 years ago #

    Hi there,

    I am trying to get the plugin to work but keep getting the following errors:

    Levels not matching up, or missing? [repair]

    No role connections were needed/repaired.

    Also, after installing the plugin all my levels dissapeared.

    How do you actually get to assign user roles to levels.

    Any help would be greatly appreciated

  4. Great H-master
    Plugin Author

    Posted 2 years ago #

    Hello MaddTechWF,
    The Roles add on will create new user roles based on level names. So for example if you had a membership level titled "Level 1" it will create a new WordPress role called "Level 1" with an id of "pmpro_role_X" where X is the ID of the membership level. It does not assign users into pre-existing WordPress roles.

    Based on these assigned roles you can then create conditionals and change your pricing code as needed. Such as
    if (user role = pmpro_role_1)
    //set custom pricing

    Hope this helps.

  5. Dane Morgan
    Posted 2 years ago #

    can PMPro assign existing roles like 'Author' when a user subscribes?

  6. messica
    Plugin Author

    Posted 2 years ago #

    Yes, that is possible with some custom code. You could hook into pmpro_after_change_membership_level and set the user's role depending on their level.

    If you need further help with that, please consider becoming a PMPro member for our member support forums.

  7. Mad Man
    Posted 1 year ago #

    i am looking for something like that....
    all i want is to show different price to a different user role
    looking for help
    i used a plugin called Dynamic Pricing ..
    But it is not working properly
    please help me
    Thanks in advance

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Paid Memberships Pro
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic