Hide Add to Basket button for guest users

Home Forums WPLMS AddOns WPLMS WooCommerce Hide Add to Basket button for guest users

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #218906
    ramprasadv
    Spectator
    Hello, I want the functionality of add to basket button like - 1. If guest user(not logged in) click on add to basket button, guest user should redirect to login page 2. If user is logged in he should have add to basket feature available. Our site link for your reference - http://w8e.c29.myftpupload.com Thank you
    #218907
    ramprasadv
    Spectator
    This reply has been marked as private.
    #219054
    Mk
    Moderator
     If guest user(not logged in) click on add to basket button, guest user should redirect to login page.
    Currently, it's not available. If you got through the concept of the guest user you will see we are taking a user's id and setting it as a guest user. that means if anyone is using the system as a guest user, he is virtually connected through that user id. In the current scenario, if a guest user clicks on add to basket button it makes them log out from the guest log in ( virtual log in).  
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Hide Add to Basket button for guest users’ is closed to new replies.