Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Is there any shopify API which will provide the product details based on product handle, language and currency.
Also it should work with hydrogen apps, also any way to get locale, currency value other than from Shopify object as Shopify object will not be present in hydrogen apps
fetch('/en/products/red-rain-coat.js') .then(response => response.json()) .then(product => console.log(product));
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
➜ Weekly updated Shopify tutorials on YouTube
All features are available from Free plan. Live Chat Support is available 24/7.
Hi Amelia
Actually like this I already tried but when app using hydogren or some other translation library then we dont get shopify object.
Also fetching api like this /locale/<productHandle>.js will not work for all stores as with some stores it will work like this /en-gb/handle.json and with some don't
So is there any shopify storefront grapsql api which accepts handle,language and currency and give response?
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025