Tutorials/Locker/Password protect only some products on Shopify
Locker

Password protect only some products on Shopify

Shopify's built-in password locks your whole store. This tutorial shows how to put a password on only the products you choose with Locker: install the app, switch on its theme embed, create a password, pick the products, and see what shoppers get on the storefront.

Install Locker
  1. 1

    Open Locker from the App Store

    Go to the Shopify App Store, find Locker and install it on your store. Once it is installed, the button on the listing reads Open.

    Locker: Open Locker from the App Store
  2. 2

    See how Locker works

    The welcome page sums up how Locker works. You create a password and pick what it protects. Customers see a password form on your storefront and get in only with the right password. Every unlock and blocked attempt is kept in a history.

    Locker: See how Locker works
  3. 3

    Choose a plan

    Click Choose a plan and pick Starter or Advanced. Billing goes through Shopify, which shows the price and the free trial before you confirm. After that you land on Locker's home page.

    Locker: Choose a plan
  4. 4

    Product updates, your choice

    Locker asks once whether you want product updates by email: new features and occasional tips, a few emails a year. Click Keep me posted to sign up or Skip for now to go straight to the app. You can change this anytime in Settings.

    Locker: Product updates, your choice
  5. 5

    Open the app embed

    Locker shows its password form through a theme app embed, so nothing is pasted into your theme code. On Locker's home page, the setup guide starts with it: click Enable next to Enable app embed in theme.

    Locker: Open the app embed
  6. 6

    Save the theme

    Shopify opens your theme editor on App embeds, with Locker's Password Protection embed already switched on. Click Save in the top right corner. The same panel lets you change the texts and colors of the password form later.

    Locker: Save the theme
  7. 7

    Check the setup guide

    Go back to Locker. The setup guide now shows the app embed as done, and the Storefront appearance card reads Enabled.

    Locker: Check the setup guide
  8. 8

    Create a password

    In Locker, click Create password. Type the password your customers will use to get in. The description is a note for you, for example who the password is for; customers never see it.

    Locker: Create a password
  9. 9

    Pick the products to protect

    Under Protect resources, click Add products. Search for the product you want to lock, select it and click Add. You can select several products at once; every other product in your store stays open to everyone.

    Locker: Pick the products to protect
  10. 10

    Save the password

    Click Save password in the top right corner. From this moment the product asks for the password on your storefront.

    Locker: Save the password
  11. 11

    What shoppers see

    Open your storefront. The catalog and every other page work as before. Click the protected product: it is covered by a password form until the shopper enters one of its passwords.

    Locker: What shoppers see
  12. 12

    A wrong password is refused

    A wrong password is refused and the page stays locked. Locker records the attempt in its history.

    Locker: A wrong password is refused
  13. 13

    The right password unlocks it

    With the right password the form disappears and the product page opens. The shopper can browse and buy as usual.

    Locker: The right password unlocks it

Ready to try it?

Install Locker

Tutorials

More Locker tutorials

All Locker tutorials