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

Announcing a new Add On to help you run a successful holiday sale on memberships and subscriptions.

It’s a very happy Monday here at Paid Memberships Pro! We’re excited to announce the release of a new Sitewide Sales Add On. The Add On simplifies the creation, management and reporting for sites looking to run a sidewide or flash sale on memberships and subscriptions.

View the Add On

Include the used and claimed Group Discount Codes in your Membership Orders export file

This recipe was so useful that we merged it into the Group Discount Codes Add On. When the Add On is activated, a “Group Code” column is added to the CSV export showing the Group Code that was used at checkout (if applicable). The regular Discount Code column will show the main/parent discount code.

You can grab the Group Discount Codes Add On that includes this feature here. If you are interested in how this works to possibly do something similar via custom code, we’ve kept the original code recipe here for reference.

Run a “Sale” on Your Membership Site and Show the Regular Price with Strikethrough Style

If you want to offer a discount on membership for a temporary timeframe, but still want to remind customers of the full price, this code example for you. Users will see (and pay) the discounted price, but will be reminded of the regular price so they know they are getting a deal.

Discount Code Customizations Mega Post

Discount codes are a feature included in the core Paid Memberships Pro plugin. This post covers some advanced and some not so advanced adjustments and customizations that are commonly used for our discount code features. For general support on discount codes, see our Discount Codes documentation page