Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
How to check whether the merchant is using the old classic user or the new one-time code user type using liquid?
One work around we found is:
{% assign login_url = routes.account_login_url %}
{% if login_url contains "shopify.com" %}
<span>One-Time Code Login</span>
{% else %}
<span>Classic Login</span>
{% endif %}
Is there any official document way?
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025