Display the original and discounted price when a discount code is applied at checkout.

This code recipe lets your customers know just how much they’re saving after applying a discount code at checkout….

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Add “Select a Payment Plan” box to membership checkout (code demo)

Do you offer three different payment options for the same membership access? This new code gist allows you to easily add a selection box to the checkout page.

select-payment-plan

The code example below shows you how to define level “groups”—levels that are related and should appear as payment plans on the membership checkout page.

Add the Member’s level ID to the body class for level-specific CSS styles.

The code example below will allow you to add the logged-in member’s level ID (if available) to your site’s body class. This can prove useful if you want to change the style of or even hide elements based on level.

Let members access your original homepage when using the Member Homepages Add On.

The code example below will allow logged in Members the ability to access your original homepage when using our Member Homepages Add On….

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Prevent users from using an email address as their username.

The code example below will prevent users from setting their username to an email address. This is useful if you want users to use an actual username instead of using their email address in both username and email fields….

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Change “Pay by Check” wording to open up more payment options for members.

Our Pay by Check Add On adds a second payment option for members to make purchase by “Check”. With a little help from WordPress’ gettext filter, you can open up more payment options for your members. What types of changes can you make? In some parts of the world, “Check” is spelled “Cheque”. Alternately, you could...

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Styling the Checkout Page: Inline Labels and Inputs

v1.9.4 of Paid Memberships Pro introduced a table-free checkout page, improving the usability and display across device types and themes. This new layout placed the form’s input labels on their own line, above the input field.

The recipe below includes the necessary CSS to display these labels inline with the form inputs for large displays only.

Comparing the checkout page with and without the custom CSS for inline labels

Allow Members to select Country and State via dropdown at Membership Checkout [New Plus Add on]

Simplify sign up and improve data quality by adding a Country and State dropdown selection field to your Checkout Page with the State Dropdown Add on.

View the State Dropdown Add On

Allow Members to Select Auto-Renewal via Checkbox on Membership Checkout [New PMPro Plus Add On]

Offer flexible membership options without having to create duplicate levels or use custom code. Our new Auto-Renewal Checkbox add on allows members to select whether they would like a fixed term or recurring subscription membership.

View the Add On

Show a Different “Terms of Service” at Checkout Based on Membership Level

This simple code gist allows to you swap the “Terms of Service” message based on the membership level selected at checkout. Just create a unique page for each level’s TOS content, then update the recipe based on your Level ID -> Page ID relationships….

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now