How to view the password page without enabling password protection

Hi everyone,
While developing the theme locally, I’m trying to figure out how to view the password-protected page. The site is not in password protection yet, but I want to test and develop the password page before enabling this mode. Does anyone have any ideas?

For example, we can view pages by adding the ?view parameter to the URL without assigning a specific template to the page. Is there a similar approach for viewing the password page?

The reason for this setup is that during BFCM, we plan to open the site only to users who have the password, similar to a VIP-only sale. So, we want to ensure the password page works as expected before enabling it.

Hi Hasan,

When you run shopify theme dev you’ll get a link to view the locally running theme in the theme editor. If you use this link, in the editor you’ll be able to switch to the password page, using the dropdown at the top of the page:


Would this work for you?

1 Like

Hi Liam,

Understood, but is there any way to view this page with hot reload directly, without having to enter the theme editor? I need to see my changes in real-time, and constantly refreshing the page in the theme editor is quite challenging.

Thanks again!

Hey Hasan,

Just go to www.yourstorename.shopify.com/password?view=password

You should be able to see that page.

Hi Rishi,
Thank you for the suggestion, but unfortunately, it didn’t work. As I mentioned earlier, I also need to be able to view it locally with hot reload enabled.

Thanks again for your help!

Does it not work with your local host domain instead of the Shopify? I presume you’re using CLI?

Eg. http://127.0.0.1:9292/password?view=password