BACK

how to password protect a page on shopify

How to Password Protecting a Page or a Collection ✅ Easy Solution Here hey we are welcome to you in

Foysal Ahmed

Updated on Feb 06,2023

How to Password Protecting a Page or a Collection ✅ Easy Solution Here

The above is a brief introduction to how to password protect a page on shopify

Let's move on to the first section of how to password protect a page on shopify

Let TThunt's experts help you find the best TikTok product on your Shopify business!

Find TikTok products (It's Free)
No difficulty
No complicated process
Find winning products
3.5K Ratings

WHY YOU SHOULD CHOOSE TTHUNT

TThunt has the world's largest selection of TikTok products to choose from, and each product has a large number of advertising materials, so you can choose advertising materials for TikTok ads or Facebook ads without any hassle.

how to password protect a page on shopify catalogs

How to Password Protecting a Page or a Collection ✅ Easy Solution Here

hey we are welcome to you in my youtube,channel in this tutorials i am going to,show you how to protect a page or a,collection so if you want your visitor,must login or register to visit any page,or any collection then you can continue,this video here i am going to share easy,and fast solution with you so let's get,started,here is my shopify online store and i am,going to visit catalog page,this is my catalog page and i wanted to,protect this space for non log in user,or registered user okay to explain it,more clearly i want once any customer or,any visitor want to visit my product,page they must have to log in a register,okay we are going to actually draw this,text or,function right now in our online store,so to do this first i am going to my,admin panel here is my shopify admin,panel and i am going to click on the,action button,then edit code,so i wanted to protect this page or,collection page,so to do this from here i am going to,search collection template file and here,is the collection template liquid file,under section folder,so click on this file to open it,now i am going to add my function here,so at the top,i write my function,if customer means if customer login then,show this collection,else,customer not logged in or register,they will show this message,login and register,then finally,we will end this function,indeed,okay we have done,now going to click on the save,and,refresh my browser to chat,you can see,login and register,there is login and register link so we,can make it more,stylish,just add simple css,we just add some css here to make it,looks nicer we are done,click save,and refresh,wow please login to visit all exclusive,product login and register so thank you,for your time watch this video if you,think this video is helpful then click,on the like button and subscribe to my,channel have a nice day bye

Congratulation! You bave finally finished reading how to password protect a page on shopify and believe you bave enougb understending how to password protect a page on shopify

Come on and read the rest of the article!

Browse More Content