Skip to content

Latest commit

 

History

History
44 lines (21 loc) · 1.55 KB

README.md

File metadata and controls

44 lines (21 loc) · 1.55 KB

bookmarklets

How to use Bookmarklets

Chrome

  1. Open your bookmark bar ⌘ + shift + b
  2. Right click > Add Page
  3. Give your bookmarklet a Name, this will show up in the bookmark bar
  4. In the url add javascript: and then paste the javascript code
  5. Click on the bookmarklet to activate it

Bookmarklets

Edit Metafield of a Shopify Default Variant

Use at your own risk. The default variant may change if you make certain edits to your product

From the Shopify admin, when you only have the default variant there is no link to manually edit the metafield for the variant. If you navigate directly to the url /products/{product_id}/variants/{variant_id)/metafields you can edit the default variant metafield. This bookmarklet will open the first variant metafield editor.

defvarmetafield.mp4

Get the .myshopify domain of the current store

This will copy the myshopify domain of the Shopify store that you are on to your clipboard. Helpful for stores with a custom domain. This will only work for liquid storefronts.

myshopifydomain.mp4

Is this store Shopify

This should work for liquid and headless storefronts

isThisShop2.mp4

Copy Shopify GraphQL Admin API ID from Product Page

copygid.mp4