Password protection for your online store
You can restrict visitor access to your online store by adding a password. Your password page is the landing page where you allow customers to enter your store with the password that you provide.
When your password page is active, search engines find and display only the password page of your online store. Other pages, such as product pages, are hidden and aren't displayed in search results.
On this page
Add your online store password
You can add password protection for your online store.
Steps:
From your Shopify admin, go to Online Store > Preferences.
In the Password protection section, select Restrict access to visitors with the password.
In the Password field, enter the password that you want to add to your online store and restrict access with. Don't use the same password that you use to log in to your Shopify admin.
Optional: In the Message to your visitors field, enter the message that you want to display to visitors on the password page. If you don't want to display a message, then leave this field blank.
Click Save.
Remove your online store password
If you remove password protection, then anyone can visit your online store.
You can remove password protection from your online store only after you pick a pricing plan. If you pick a plan during a free trial, then you won't be charged any subscription fees until your free trial expires.
Steps:
From your Shopify admin, go to Online Store > Preferences.
In the Password protection section, deselect Restrict access to visitors with the password.
Click Save.
Edit your password page settings
You can edit the content that displays on your password page, such as the text, colors, and typography.
Steps:
Hide the footer on your password page
You can hide the footer section on your password page.
Steps:
From your Shopify admin, go to Online Store > Preferences.
In the Password protection section, find the Message to your visitors field, and then paste the following code either above or below any existing content in the field:
<style>footer { display: none; }</style>
- Click Save.
Edit the theme code for your password page
If you want to make customizations that aren't available in the theme settings, then you can edit the theme code for your password page.
Steps:
To learn more about the password.liquid
template, refer to password.liquid.