• Resolved mdunbar91

    (@mdunbar91)


    Hi all,

    Currently, when a user is logged in, they see a crossed out retail price, and the wholesale price. Is there any way to hide the retail price completely?

    Thanks for your help,

    Michael

Viewing 1 replies (of 1 total)
  • It really depends on how you’re showing the retail price.

    1) If it requires code in your theme, you could use the is_user_logged_in() function like so:

    
    <?php if ( ! is_user_logged_in() ) : ?>
    	// Only show retail for users not logged in.
    <?php endif ?>
    

    2) If you can control this within the post edit, you can use the [members_not_logged_in] shortcode like so:

    
    [members_not_logged_in]
    // Only show retail for users not logged in.
    [/members_not_logged_in]
    
Viewing 1 replies (of 1 total)
  • The topic ‘Hide Retail Price for Logged-in Users’ is closed to new replies.