Support » Plugin: Paid Memberships Pro » hide price for free membership levels

  • Resolved ineedyou


    On my project all membership levels are free cost. After select membership level, the page goes to second page (confirmation) and its wrriting “membership price $ 0.00.” … I want to hide this section with “display: none” css but i cant find. Can you help me. And please please do not say go our web site because i dont want to see “This page requires a PMPro Plus Account” $197…

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Andrew Lima


    Hi @ineedyou,

    Thank you for using Paid Memberships Pro, I’m really sorry for the issue you are facing.

    I have tested this on my local environment and I do not see this in the confirmation page (for a free level).

    Please see screenshot for reference – free membership level

    What you are able to do is right click, on the text you would like to change, while viewing the page and inspect element and you will be able to find the class or ID and hide it using the CSS mentioned.

    I hope this helps, please let me know if you have any further questions.

    At the moment, i installed latest version and all pages cretaed by your pluging. So, Your image is my third level…

    1 – New register, loging to site and redirect to membeship levels page.
    2 – Member select ayn free membership levels and page redirect membership checkout and its writing like this
    Membership Levels —- Change
    FASHOIN membership level
    Price $0.00

    button Submit and Confirm
    3 – After click confirm button, yes redirect page (your above image)

    select free membership do not skip confirmation… And if its not possible please how to disable Price $0.00 with css?

    I deleted below 2 sections on checkout.php because i cant find bold marked on css files
    1 -<div id=”pmpro_level_cost“>
    <?php if($discount_code && pmpro_checkDiscountCode($discount_code)) { ?>
    <?php printf(__(‘<p class=”pmpro_level_discount_applied”>The %s code has been applied to your order.</p>’, ‘paid-memberships-pro’ ), $discount_code);?>
    <?php } ?>
    <?php echo wpautop(pmpro_getLevelCost($pmpro_level)); ?>
    <?php echo wpautop(pmpro_getLevelExpiration($pmpro_level)); ?>

    2 –
    <p id=”pmpro_account_loggedin“>
    <?php printf(__(‘You are logged in as %s. If you would like to use a different account for this membership, log out now.’, ‘paid-memberships-pro’ ), $current_user->user_login, wp_logout_url($_SERVER[‘REQUEST_URI’])); ?>

    Plugin Author Andrew Lima


    Thank you for the feedback, if you are editing the page template directly I highly recommend in using a custom page template.

    Here is a guide to doing so –

    I hope this helps, please let me know if you have any further questions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘hide price for free membership levels’ is closed to new replies.