How can I hide products until a user account is created?

Hello,

I need to be able to hide the products from the public. The user can not see the products until we have created them an account. How do I set this up?

Hello,

To ensure that your products are only visible to users with accounts, an app like Locksmith could be ideal for your needs. It allows you to lock any page within your store and make it accessible only to signed-in users: Locksmith App.

Additionally, you can explore a variety of options in the Shopify App Store by searching for apps related to hiding products. Here’s where you can start looking: Apps to Hide Products.

Hope this helps set up your store the way you need!

Hi @ib_holdi

You can do that by wrapping your product, collection code in this

{% if customer %}
// your collection, product page code goes here
{% else %}
You must login to your account to see product.  Login now

{% endif %}

Hi @ib_holdi ,

You can change the status of the product to Draft to hide product from the public.

Hi, @ib_holdi .

Please see this loom video. I hop this is hope full is you.

https://www.youtube.com/watch?v=BE954yw_C8Y&t=171s

If I managed to help you then, don’t forget to Like it and Mark it as Solution.