How to add script tag in Shopify store with remix and node template?

Topic summary

A developer is attempting to add a JavaScript file to a Shopify store using the Remix and Node template but cannot find relevant documentation. They want to fetch product information from local files within their app.

Recommended Solution:

  • Use theme app extensions to include JavaScript files within block liquid files via schema
  • Set up an app proxy to retrieve product information
  • Make HTTP requests from the extension’s JS file to access needed data

Resources Provided:

  • Shopify’s app extension documentation
  • App proxy setup guides
  • Theme app blocks framework documentation

Status: The original poster is new to Shopify app development and requested video tutorials or additional documentation. The responder confirmed that Shopify’s dev docs contain all necessary resources to address these needs.

Summarized with AI on November 13. AI used: claude-sonnet-4-5-20250929.

Hello there,

I am trying to add a script tag in the Shopify store but I can’t find any document on it.

I just wanted to add a “.js” javascript file and inside this file, I want to fetch the information of the products.

Is this doable on local files?

I followed this template to create an app.

https://shopify.dev/docs/apps/getting-started/build-qr-code-app

Hi buddy, it seems you need app extension , in app extension you can include .js file in blocks liquid file schema section. For get product info, you can setup the app proxy , then you can make http request start from the extension js file to get it.

Happy hunting.

Hi @NickShi , I appreciate your prompt response. Thank you. I am new to app development. Is there any document or video that includes this issue?

In my previous reply already includes some useful resources :slightly_smiling_face:

Anyway, the Shopify App dev docs include all you needs.

Good luck.