Cannot pass age verification on Theme editor

sweetgeezvapes
Tourist
6 0 3

Hi there.

Can anyone provide guidance on the issue I am having with the theme editor. Since the last update from Shopify I am unable to go past this point. clicking 'enter' does not do anything and just refreshes the page without advancing.

 

Please help, I have been trying to find a solution for this issue for a while now.

 

Screenshot attached.

 

Thank you,

Luke

 

 

Web capture_25-7-2023_12286_admin.shopify.com.jpeg

LU
Replies 5 (5)

Vigilance
Visitor
1 0 2

Hi, 

 

I am having the same problem on my website, have you been able to fix it?

 

If you have would you please share your solution.

WineMouthSG
Visitor
1 0 1

Same. I have tried on Edge, Chrome on Windows 11 AND Safari and Chrome on Mac OS. I was able to do it on my iPhone 13 safari, by cannot on my iPad on iPad Os. What is going on?

aocselections
Tourist
4 0 3

I have the same problem. It's still working on the live page, but on the editor it won't go away and just hides my page permanently so I can't see any edits I am making.

Jono_Ross
Shopify Partner
2 0 0

Late to the party - but for others..

--- when you are editing your sites theme the url becomes - https://admin.shopify.com/store/your-shopify-stores-domain-com, sooo....

{% if page.url contains 'https://your-shopify-stores-domain.com' %}
{% render 'age-check' %}
{% endif %}

BHD
Tourist
8 0 1

Where do I put that in the code? I tried placing it just after this in my theme.liquid:

{% render 'age-check' %}
<a class="skip-to-content-link button visually-hidden" href="#MainContent">
{{ 'accessibility.skip_to_text' | t }}
</a>

 

but that didn't seem to work.