App reviews, troubleshooting, and recommendations
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello there,
1)
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.
2)
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 🙂
Anyway, the Shopify App dev docs include all you needs.
Good luck.