WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Show products' details and prices only to members (2 posts)

  1. autovall
    Member
    Posted 1 year ago #

    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

  2. Roy Ho
    Member
    Posted 1 year ago #

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

    if ( is_user_logged_in() ) {
         // show details
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic