• Resolved SeanBanksBliss

    (@seanbanksbliss)


    Hi, I need to display a single level checkout on a page so that they only see and can sign up for ONE membership level from that page. I want other pages to have the full checkout but this page is specifically selling one level only.

    How do we customize the checkout display to include only the membership levels we want it to show in any given instance?

    Can you help me with that?

    https://wordpress.org/plugins/paid-memberships-pro/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey there,

    First of all, thanks for using Paid Memberships Pro!

    There are a few ways you can do this:
    1. If you want to use a shortcode, install our Register Helper addon (http://www.paidmembershipspro.com/add-ons/plugins-on-github/pmpro-register-helper-add-checkout-and-profile-fields/) and simply use the [pmpro_signup] shortcode with a level set like this:
    [pmpro_signup level=1]

    2. Simply add ?level=1 (or whatever level ID you want) to the end of your checkout URL. (mysite.com/checkout.php?level=1 for example)

    3. Define a default checkout level for PMPro to use with this code:
    define("PMPRO_DEFAULT_LEVEL", "1");
    You will want to place that in your active theme’s functions.php file or a customizations plugin as described here: http://www.paidmembershipspro.com/2012/08/create-a-plugin-for-pmpro-customizations/

    Hope that helps!

    Thanks,
    Jess

    Thread Starter SeanBanksBliss

    (@seanbanksbliss)

    Hi Jess, I’m having some issues implementing variation 1.

    [pmpro_signup level=”3″ short=”1″ intro=”0″ button=”Signup Now”]

    How do I edit the intro?

    Hello. Thank you for using Paid Memberships Pro. The purpose of the intro setting is to display the Level name the sign up is for so for example “Register for Gold Level”. You would do this by setting the intro = 1. Then it will display the a intro similar to the above.

    There was an issue with the level name not being displayed, but this will be fixed in the next update. For now you can change the following line (L~724) in the pmpro-register-helper.php file:

    echo wpautop("Register for " . $membership_levels[$level]->name . ".");

    To:

    echo wpautop("Register for " .pmpro_getLevel($level)->name. ".");

    Hope this helps. Let us know if you have any further questions or concerns. Thanks again.

    Thread Starter SeanBanksBliss

    (@seanbanksbliss)

    Cool, Thanks. That’s just what I needed.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display Single Level Checkout with Shortcode’ is closed to new replies.