Updates, tips and notes on design and code
Looking for Shopify Code Snippets? See my GitHub Repo
If you have multiple domains attached to your Shopify store you might want to detect what one is currently being used. You might need this is if you want to show certain content if the Australian domain is used versus when the American domain is used.
If I was designing a password template for a client I'd generally always add the code for that page into a snippet. The reason is pretty simple - it makes it a lot easier to preview the design without locking the store.