Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hey there,
With the announcement of depreciation of ScriptTags:
https://community.shopify.com/c/announcements/shopify-scripts-deprecation/td-p/1943804
How would an app that emeds an iFrame into the order status page do this going forward? From what I can see, Checkout UI extensions would be the way to go, but this is restricted to Shopify Plus, therefore killing this for non plus merchants.
Any thoughts appreciated!
Thank you
The deprecation that you linked is for Shopify Scripts, which is unrelated to ScriptTags. Shopify Scripts are Ruby scripts that provide server-side business logic for Plus merchants only. ScriptTags provide client-side JavaScript and are available to all merchants.
Jarthorn | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Sorry, I got my wires crossed with the link I referenced. I was indeed referring to the ScriptTags resource. I had noticed that it was being depreciated, but I no longer see that notice on the API docs?
https://shopify.dev/docs/api/admin-rest/2023-04/resources/scripttag
It does state on the page linked above "Your app might not pass App Store review if it uses script tags instead of theme app extensions".
Is using the ScriptTag resource still a valid way to embed an iframe to the order status page going forward? As I mentioned before, I think Checkout UI extensions would be an alternate method, but it states "Checkout UI extensions are available only to Shopify Plus merchants"
Thank you!
Script Tags are not yet deprecated for the online store, but we do recommend Checkout UI extensions as the better long term path. These will be available as Order status page extensions later in 2023, and are now available in a developer preview. Extensions on the order status page will not be a Plus-only feature (since as you noted, the existing solution is available to all merchants).
Jarthorn | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog