Okay
  Public Ticket #1350344
Woocommerce Links for Only Logged in Users
Closed

Comments

  • hatupen started the conversation

    Hello,

    How can I show Woocommerce page links (My Account, Orders, etc.) to only logged in users? There is no option in the menu settings.

    Thanks!

  •  3,034
    Andrew replied

    Hi hatupen,

    There is no option for this in the theme.
    You will need to do your own customization.

    You could add code around the links \ elements in the PHP files to check if the current status of the user is logged in: https://developer.wordpress.org/reference/functions/is_user_logged_in/

    Hope you can work it from there.

  • hatupen replied

    Thanks Andrew. I have seen there are plugins for this. They basically add options to menu items to disable the links based on the roles. Will they work or the theme does not allow for this option at all?

  •  9,016
    Tahir replied

    Hey Again,

    They should work with Salient as we follow standard integration guidelines of Woocommerce . 

    B.est 


    ThemeNectar Support Team