Republish Scripts
Shopify Scripts need to be republished (opens in a new tab) to make sure it runs as expected in the newly installed app context. Here's how to do it:
- Open your script in the Script Editor app and click on Unpublish.
- Make sure "Online Store and Storefront API channels" is selected and click on Save & Publish.