We have a test Shopify store within a Shopify Partner account.
As the store is currently classed as “in development”, the Shopify password protection feature is automatically switched on, and the toggle to switch it off is disabled.
NOTE: We don’t want to publish this store as it’s purely for testing purposes.
One of the things I need to test is a GDPR cookie consent tool from CookiePro
Part of the process of setting this tool up, requires that their software scans/crawls the store looking for all of the 3rd party scripts that you have running.
It them produces a report that you use to classify scripts and implement their cookie consent tool.
However, their crawler is failing to complete a crawl as it is hitting this password protection page immediately.
The CookiePro tool does have a feature to get around login pages, whereby we supply their software with the password and the HTML form IDs for the password text field and the submit button.
(i.e. their crawler software must use this information to autocomplete the form and then access the site to perform the crawl.)
The problem I’m having is that the password protection page that is being served up is Shopify’s default page.
And the ‘Submit’ button on this page doesn’t have a HTML ID attribute set?
So my plan was to add an ID attribute into the button code (see below id=“passwordbtn”):
{% form 'storefront_password' %}
{{ form.errors | default_errors }}
{% endform %}
However, when I save this change and check the live page, the code does not show up.
I think this is because I’m adding the code to our Theme’s password protection page code template and not Shopify’s default password protection page.
So my questions are:
- Where is the Shopify code that I need to change located?
Or if it’s not possible to access or change this code… - How can I make Shopify use the Password Protection pages that comes with our theme? (Guessing it’s not been mapped properly)
NOTE: Our theme is Wokiee Theme. I’m not a developer but can code a little, so if anyone can give me any pointers that would be a great help.

