How can I hide the add to cart button until logged in

This topic has 2 replies, 2 voices, and was last updated 1 years, 11 months ago ago by Awais Ahmed

  • Avatar: Cambium
    Cambium
    Participant
    August 20, 2022 at 01:20

    Hello,

    I was trying to find an option to hide the add to cart button until the user logged in into the website. So basically all user can see the store but they have get an account to purchase and I would like to accept users or accounts as well if that is possible.

    Thanks,

    Luis

    1 Answer
    Avatar: Awais Ahmed
    Awais Ahmed
    Participant
    August 20, 2022 at 05:28

    Hello, @Cambium,

    Thanks for using our Theme and for Contacting us.

    In order to hide the add to cart button until the user logged into the website. You have to go to the Dashboard >> XStore >> Theme Options >> WooCommerce >> Store >> Catalog Mode then enable the option “Just Catalog” and then the permission as per your need. Here is an image for a better reference to understand: https://postimg.cc/TKngbX4p

    Regards 8Themes Team.

  • Viewing 2 results - 1 through 2 (of 2 total)

The issue related to '‘How can I hide the add to cart button until logged in’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.