Skip to content

Commit ffcde68

Browse files
committed
add blog link
1 parent 6b43f99 commit ffcde68

File tree

1 file changed

+3
-1
lines changed
  • Create edit in admin button for current view

1 file changed

+3
-1
lines changed

Create edit in admin button for current view/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
Adds a quick button to the page to jump to the currently viewed resource.
33

44

5-
This version opts to avoid any Liquid edits so can be handled in JavaScript alone. The drawback to this is that Articles can be harder to capture so we fallback to the common tracking scripts in place. If the theme removes `content_for_header` or the tracking object changes, this script will no longer be able to jump to articles. Adding the ID to the page as a global within the theme (along with the edits to this script) could overcome that.
5+
This version opts to avoid any Liquid edits so can be handled in JavaScript alone. The drawback to this is that Articles can be harder to capture so we fallback to the common tracking scripts in place. If the theme removes `content_for_header` or the tracking object changes, this script will no longer be able to jump to articles. Adding the ID to the page as a global within the theme (along with the edits to this script) could overcome that.
6+
7+
This is related to [this blog post](http://freakdesign.com.au/blogs/news/15572921-add-an-edit-button-on-shopify-storefronts).

0 commit comments

Comments
 (0)