• Resolved vanni784

    (@vanni784)


    As the title says, there’s no option for this in the settings so hopefully someone can help.

Viewing 1 replies (of 1 total)
  • Plugin Author templateinvaders

    (@templateinvaders)

    Hi,

    There is no option to hide wishlist button for guests but you can easily achieve this logic by customizing a template for wishlist button.

    You can copy wp-content/plugins/ti-woocommerce-wishlist/templates/ti-addtowishlist.php to wp-content/themes/THEME_NAME/woocommerce/ti-addtowishlist.php and wrap all HTML markup with a PHP condition like:

    if (is_user_logged_in()){ 
    ...HTML MARKUP HERE... 
    }

    You can contact us directly via this page https://templateinvaders.com/help/ if you need further assist with it.

    Kind regards,
    Konstantin.

Viewing 1 replies (of 1 total)
  • The topic ‘Hide “add to wishlist” button when the user is logged Out’ is closed to new replies.