In this week’s tooltip, we show you how you can prevent members from renewing their membership (and why you might need this).
About the Code Recipe
“Wait a second. Why would I need a code recipe that prevents members from renewing their membership? Isn’t that a little counterproductive?”
I don’t blame you for thinking this. And, in most cases, you would probably be right. Building up your recurring revenue stream is easily the lifeblood of any membership site, but there may be some cases where you would want members NOT to renew their membership level.
Once this code recipe is installed on your site and it comes time for your members to renew their membership they will see an error message that reads:
The recipe allows you to customize this message, as well as set the specific membership levels to restrict. In practice, you most likely only want this block to apply for on one or two membership levels, as opposed to all of them.
This type of restriction on level changes is different from our Lock Membership Level Add On, which is designed to restrict a member from making ANY changes to their membership. Learn more about the Lock Membership Level Add On here.
Some of the reasons you may want to use this Code Recipe:
- Prevent members from canceling their account.
- Create a ‘trial’ membership level that can only be used once.
- Encourage members to upgrade/downgrade to another membership level.
- Grandfather members into another membership level.
- Automatic migration of members to a level of choice when it is time for them to renew their membership.
A little more about “Grandfathering in”
The one reason that I want to explore more is about “grandfathering” members into another membership level.
Quite often, we are asked how to change the price of a membership levels for new and existing members, as well as how to move current members into the new membership level and pricing structure. In most cases, the reason for this member migration is due to a price change or even the complete closure of the membership level altogether.
With this code recipe, site administrators can now let their members live out the term of their membership and when it comes time to renew their subscription they will be prompted to choose a different membership level.
The Code Recipe
Adding the recipe to your website
Copy and paste this code recipe into a helper PMPro Customizations plugin.
This code recipe was written by our very own Andrew Lima.