Our Add On packages extension allows you to sell access to individual pages or posts, or sell a la carte items for a flat fee.
This recipe will allow you to set a specific checkout level to use when a non-member selects to purchase one of your Add Ons. Previously, the plugin simply included logic to select the “first least expensive membership” level assigned to the post.
Code Recipe #1: Choose Most Expensive Level
Instead of defaulting to the least expensive, this recipe will select the highest price level assigned to the post.
Copy and paste the selected code recipe into a helper PMPro Customizations plugin.
Code Recipe #2: Choose a Specific Level
This recipe allows you to set a specific level ID for use with the Addon package purchase. The code will check first that the specific level ID is an allowed ID for that Addon package.
Copy and paste the selected code recipe into a helper PMPro Customizations plugin. Note that the ID of your desired level must be updated in two places in this recipe.
Get Support From Our Team of Experts
Have a question about how to use this feature? Our Support Page outlines three ways to get support.
Our Max plans include hands-on help customizing your membership site and implementing new features. Upgrade to PMPro Max now »


