Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I had a new staff member attempting to block a customer from ordering, somehow she ended up in the theme code, she thinks, on her phone...
Now the homepage wont load, I may catch a quick glimpse before it is hijacked to this:
https://facemaster.ca/account/login?return_url=%2Faccount
Not a true redirect.
We have no login requirements in the preferences, and I cannot figure out how to stop the homepage from being hijacked by this script. The index.liquid looks fine to me
<div class="index-sections">
{{ content_for_index }}
</div>
I am totally lost and don't want to break it further. The rest of the site works just fine, menus and navigation are good. PLLEEEASE help
OK I see a string she entered in the code when I look at view source, however I cant figure out how to delete it using shopify interface
{%- if customer and customer.tags contains 'blocked' -%} <script> sessionStorage.setItem("blocked", "true"); window.location.href = "/account/logout?return_url=%2Faccount"; </script> {% endif %} {%- if template contains 'login' -%} <script> const blocked = sessionStorage.getItem("blocked"); if (blocked) { alert( "You're not allowed to log in. Please contact us for more information" ); sessionStorage.clear(); } </script> {% endif %}
I think I have it Jimmy rigged for now...
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024