Last active
April 28, 2021 16:08
-
-
Save sinak/5c8bcc06ab4f6cffbe72 to your computer and use it in GitHub Desktop.
Shopify "Edit this page" bookmarklet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html><body> | |
<h1>Shopify "Edit this page" bookmarklet</h1> | |
<p>Lets you quickly edit any product, page or collection in your Shopify store:</p> | |
<p><a href="javascript:(function()%7Bvar url %3D 'https%3A%2F%2F' %2B document.domain %2B '%2Fadmin%2F' %2B __st.p %2B 's%2F' %2B __st.rid%3Bwindow.open(url%2C '_blank')%7D)()">Shopify Edit</a> <- Drag this link to your bookmarks bar.</p> | |
<p>Then visit your Shopify store, go to a page/collection/product/blog post (doesn't work on homepage), and click the new button in your bookmark bar.</p> | |
<h1>Shopify "Search Orders" bookmarklet</h1> | |
<p>Lets you quickly find orders in your Shopify store. Please note, if you are not a <a href="https://www.repeaterstore.com">RepeaterStore</a> employee, you'll need to replace your shopify domain in the code below.</p> | |
<p><a href="javascript:(function()%7Bvar%20search%20%3D%20prompt('Enter%20your%20search%20term')%3Bif%20(search%20!%3D%20null)%20%7Bwindow.open('https%3A%2F%2Frepeaterstore.myshopify.com%2Fadmin%2Forders%3Fquery%3D%2B'%20%2B%20encodeURI(search))%3B%7D%7D)()">Search</a> <- Drag this link to your bookmarks bar.</p> | |
</body></html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment