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.



How it Works

  1. For this example, we have a membership level that is regularly $97 but we are offering a temporary discount ($50 savings) on membership.
  2. We’ve updated the membership level price to have an initial payment of $47, then used this code recipe (and the pmpro_level_cost_text filter to show the price as pictured above.
  3. When you are finished offering the discount, just update your membership level price and remove the code recipe from your site.

The Code Recipe

This code recipe requires a PMPro Plus Account or higher.

View Membership Options


Need help getting this to work?

The specific example above may not work for the discount you are offering, so just post to our members-only support forum (PMPro Plus or Unlimited members) and we will help you modify the level’s price display to show your unique promotion.

Custom Tax Structure Using the pmpro_tax Hook

Paid Memberships Pro has a built-in method to set a tax percentage for billing addresses in a specific state. This post covers how to set a custom tax structure using the pmpro_tax hook.

This page requires a PMPro Core Account or higher.

Already have an account? Login Now »

New to this site? Register Now »