how to load js from app into store front and checkout page
i create the script tag but the js load looklike with end?shop=store-url.myshopify.com
shopify_js.js?shop=store-url.myshopify
how to manage the app in node express js side.
A developer is trying to load JavaScript from their Shopify app into both the storefront and checkout pages. They’ve encountered issues with script tags loading incorrectly.
Solutions provided:
Key limitation identified:
Checkout Extensions are only available for Shopify Plus stores, not Basic plan stores. The discussion remains open regarding how to implement this functionality on lower-tier plans.
how to load js from app into store front and checkout page
i create the script tag but the js load looklike with end?shop=store-url.myshopify.com
shopify_js.js?shop=store-url.myshopify
how to manage the app in node express js side.
For loading to the store front you can checkout ScriptTagAPI and the theme app extension.
But checkout page you should checkout Checkout Extension.
@jeff0723 thanks For the your valuable answer For storefront side i added theme app extension. it was good mange the app storefront assets
https://shopify.dev/api/checkout-extensions/checkout this only on Shopify Plus store only.
how to do in basic plan or lower to the shopify plus store.