How can I make "Regular Price" to be seen only by users logged in

  • Grigore
    Grigore
    Newbie 0 points
    March 19, 2015 at 10:56 am

    Hello,

    How can I sell a product with different prices?

    I want to sell with the price X to users who do not have an account and with the price Y to users who have an account (and are logged in).

    so
    I want users that are not logged in to buy at “Old Price” and users who are logged in to buy at “Regular Price”.


  • Josh
    Super Guru 13,875 points
    March 21, 2015 at 11:08 am

    Hello Grigore
    Unfortunetly the Theme does not have this feature,you will have to do some customization

  • M
    M
    Senior Member 278 points
    March 21, 2015 at 12:42 pm

    Here’s a little trick that might encourage Registrations:

    Place to Design Setup -> Custom Meta Data -> Footer Styles

    [code title=””]
    <script>
    if ( !jQuery(‘body’).hasClass(‘logged-in’) ) {
    jQuery(‘.wlt_shortcode_price’).text(‘Login 10% Off’);
    }
    </script>
    [/code]

    Logged in Users see : The Price
    Non Logged in users see : Login 10% Off

    Change the text to your liking…. LoginMembers Only10% Discount…etc…


  • Josh
    Super Guru 13,875 points
    March 21, 2015 at 12:47 pm

    Thanks for sharing M 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes