Skip to content

Instantly share code, notes, and snippets.

@jonathanmoore
Created September 7, 2018 23:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathanmoore/fbde4df45979c9a72949f8bb3333852e to your computer and use it in GitHub Desktop.
Save jonathanmoore/fbde4df45979c9a72949f8bb3333852e to your computer and use it in GitHub Desktop.
You can add this code snippet to your theme that will cause any external links on your online store to open in a new browser tab. This is a variation of the Shopify customization guide that does not require jQuery. https://help.shopify.com/en/themes/customization/navigation/open-external-links-in-new-browser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment