PASSWORD PROTECTED PAGE

Lisa_Carmichael
Shopify Partner
32 0 1

Can someone please tell me how to created just a "password protected page" with Shopify?  I don't want to password protect the entire site---just a "page" for wholesale and private label products.  Thanks so much!  Lisa

Lisa Carmichael Webmaster-Digital Entrepreneur- Instructor RANK FOR MORE THAN 300 KEYWORDS ON GOOGLE PAGE 1-4 IN JUST 23 MONTHS ORGANICALLY-BLOGGER, GOOGLE WEBMASTER TOOLS, PAY PER CLICK CONSULTING, LINKING, WHITE HAT SEO, WEB DESIGN, WP, MAC, BLOGGER, SHOPIFY, WEEBLY, AFFILIATE MARKETING, FACEBOOK AND TWITTER MARKETING, CAMPAIGN MARKETING, CROWDFUNDING, MAINTAINING YOUR KEYWORDS. EMAIL ME FOR CLASS INFORMATION. I NEED AT LEAST 5-BUT NO MORE THAN 7-8 ATTENDEES-BUT I CAN TEACH YOU HOW TO RISE ABOVE THE OTHERS AT LIGHTENING SPEED-AND I CAN TEACH YOU THE ART OF GROWTH-HACKING FOR THE REAL PASSIONATE ONES! CLEARSKINMINERALS@GMAIL.COM
Replies 14 (14)
Ava
Shopify Staff
Shopify Staff
1161 77 184

Hey!

 

My name is Ava, I’m one of Shopify’s Gurus and I’m here to help 🙂

 

If you wanted to password protect certain products/collection/pages that are only for wholesale customers only, you can use an app called Locksmith. This app will allow you to hide pages from customers who do not have special access to these pages. Can you take a look at this app and see if it would work for you? There is a 15-day free trial also, so you can test it out first free of charge.

 

Let me know if you have any more questions, happy to help!

 

Ava

Social Care Guru | support@shopify.com

Ava | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

BYGONE
Excursionist
11 0 29

its crazy how much shopify doesn't do - then you have to pay extra to a 3rd party.

is there currently no other way to do this?

Michel_Arteta
Shopify Partner
21 2 29

it actually depends. you can either use an app like Shopify stuff was recommending or you can implement this functionality by yourself. I'd need to gather more information to get a sense of what exactly you need but for example if you want to just restrict one page, you can do password protected by checking if customer is logged in. 

 

% if customer %}
<div class="page-width">
  <div class="grid">
    <div class="grid__item medium-up--five-sixths medium-up--push-one-twelfth">
      <div class="section-header text-center">
        <h1>{{ page.title }}</h1>
      </div>
      <div class="rte">
        {{ page.content }}
      </div>
    </div>
  </div>
</div>
{% else %}
  {%- include 'lock-content-login' -%}
{% endif %}

Where lock-content-login will be the login form and reset password code. 

Now let's say that you want to tag wholesale customer only. Then you can add customerTags to the conditional 

 

{% assign customerTags = customer.tags | join:',' %}
{% if customerTags contains 'wholesale' %}   
cammunication
Tourist
6 0 1

Hi Michel! Where do you paste this code?

I need to protect with password just one page and It would be perfect if it's visible only for customers that are logged in.

 

Cheers.

LindsayE22
New Member
2 0 1

Thank you for providing that code. Where do you insert it? Where do you edit which specific product page needs this protection? Thank you so much!

retsof
New Member
2 0 2

You would paste that entire code block as a page template(theme>edit code).

You'll also have to select the template you created as the template for the page through your theme UI.

Whatever content and title you enter through the theme UI for the page will appear where the liquid interpreter code is.

 

shellyscott
Tourist
6 0 2

Michael, 

I am wondering the same thing, I want to "lock" a collection with some kind of code that I can implement myself for an upcoming holiday collection. So for example, I want to give plp early access with a password or special link, lets say a day before the actual collection goes live to those that signed up. I of course then want the collection to drop the day that its supposed to for the rest of those to purchase, then establish this system again when I have another collection go live. 

I haven't found anyone but YOU that has come close to helping with this specific thing and wondering if there is any code that you could provide with instruction on where to code it. I just don't want to pay the monthly subscriptions that are too expensive for what I am looking for. 

Secondly, since you are a guru with coding, I am trying to add a "gift wrap option" I installed some code to my shop, but it has this terrible "checkmark" box that says "gift wrap this for 6$, but you can't see it well and its not like sticking out so people can see it, I want to be able to add pictures to it and I would also like to have an option where when they click on an item it would be nice to have something that pops up that says "would you like to gift wrap this for $6?? I hope that made sense. 

If this is too long to respond on here, you can email me at littlehouseonthehomesteadmn@gmail.com I am just REALLY needing some help.

Blessings,

Shelly

wayward
New Member
1 0 0

i too would love some personal assistance with creating a password protected page for my logged in customers only. 

WhiteWater_Web
Shopify Expert
277 2 14

Hi all - we have a solution for password protecting pages/collections/etc - without the use of an app, and without having to involve tagged 'customer accounts'. For anyone who is interested please contact us at info@whitewatersolutions.com.

Take care.

WhiteWater Web

A certified Shopify Partner and Expert, WhiteWater Web (WWW) is a premium digital solutions company specializing in web dev/design, digital marketing, and online strategy.
earlylearner
New Member
2 0 8

Hey whitewater team - The Shopify Q&A platform is meant to be a learning space, not selling space. Using questions as lead generation doesn't feel community-first . I'm disappointed you are pushing to your site instead of sharing a transparent answer for everyone to learn from. Modern brands build through trust and service, not selling. 

WhiteWater_Web
Shopify Expert
277 2 14

Hi all - to be 100% transparent we have been working with the Shopify platform since 2006 (yes, that long) and we are extremely committed to seeing entrepreneurs succeed on the solution.

The only thing we're trying to 'promote' is that this can be done without the use of an expensive app, and/or without the use of customer accounts. Because every theme is different, everyone's use of apps is different (which can impact the theme/custom code), Shopify plans are different, etc. there is no 'one' way of doing this. All we're encouraging everyone to do is be creative - as it can be solved with a custom approach 🙂

Cheers!

WhiteWater Web

A certified Shopify Partner and Expert, WhiteWater Web (WWW) is a premium digital solutions company specializing in web dev/design, digital marketing, and online strategy.
PieceCraftLove
Excursionist
23 1 9

I don't think you did anything wrong, EVERYONE uses the Shopify Support Forum as a place to promote their apps.  You were just trying to help without chaining us to a solution that drains our bank accounts forever.  Thank you for your willingness to help, I would LOVE to see a ONE TIME payment option for an app that solves this issue too.

WhiteWater_Web
Shopify Expert
277 2 14

Thanks PieceCraftLove, we appreciate that feedback 🙂

Keep well and stay safe!

WhiteWater Web

A certified Shopify Partner and Expert, WhiteWater Web (WWW) is a premium digital solutions company specializing in web dev/design, digital marketing, and online strategy.
Michel_Arteta
Shopify Partner
21 2 29

Sorry for the late reply, DM on linkedin. I am happy to teach you or explain you how to implement this for your next campaign