• autovall

    (@autovall)


    Hi,

    How can I limit the visitors to see product details and prices after login. Everything as normal Woocommerce and WordPress website but when the user clicks on a product to go to the product details page, here will be a check if the user is login then the user will be able to see the product’s details page, else just enlarge product’s clicked image.
    The following is an example website:

    widdop(dot)co(dot)uk

    Thanks

Viewing 1 replies (of 1 total)
  • Roy Ho

    (@splashingpixelscom)

    You can use the conditional check and wrap it around the code you want to show:

    if ( is_user_logged_in() ) {
         // show details
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Show products' details and prices only to members’ is closed to new replies.