Hide prices for non-logged in users - by dmkc

This topic has 6 replies, 4 voices, and was last updated 9 years, 3 months ago ago by Stan Russell

  • Avatar: dmkc
    dmkc
    Participant
    July 28, 2015 at 16:59

    Hi,

    The website I’m setting up only wants to display prices to logged in users; is there an easy way of doing this or do I need to make a lot of use of the ” && is_user_logged_in()): ” command?

    Essentially, I want catalog mode unless you’re a logged in user.

    Failing that, could you give me a list of references I’d need to add the && is_user_logged_in()): to? I’ve already done this to the product quick view so I know that method works… thanks 🙂

    5 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    July 28, 2015 at 20:13

    Hello,

    You need refer to Woocommerce support concerning such query.
    Also try these suggestions:
    https://wordpress.org/support/topic/hide-prices
    http://businessbloomer.com/woocommerce-hide-price-add-cart-logged-users/

    Regards,
    Eva Kemp.

    Avatar: dmkc
    dmkc
    Participant
    July 30, 2015 at 10:30

    The removing of prices isn’t an issue, I can do that.

    How would I remove the cart widget? Can you at least help with that?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 30, 2015 at 12:30

    Hello,

    To remove cart widget from header go to Theme Options > Header > Enable cart widget > Off.

    Best regards,
    Jack Richardson.

    Avatar: dmkc
    dmkc
    Participant
    July 30, 2015 at 12:32

    Hi Jack,

    I only want to turn it off for non-logged in users….. how would I do that?

    Thanks

    Avatar: stan
    Stan Russell
    Participant
    July 30, 2015 at 15:12

    Hello dmkc,

    unfortunately our theme does not have feature to hide cart widget from guest users.
    Sorry for inconvenience.

    Regards,
    Stan Russell.

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.