Has anyone successfully integrated Shopify Storefront Web Components with Readymag? I’m trying to add an Add-to-Cart button to a Readymag site using the Headless channel.
Problem: The web components ignore the store-domain attribute and call https://mydomain.com/api/2026-01/graphql.json instead of https://mydomain.myshopify.com/api/... – resulting in a 404.
What I’ve confirmed:
-
Direct
fetch()calls to the Storefront API work perfectly from the Readymag page -
Everything works in the official Web Components Playground
-
When enabling the “use iframe” option in Readymag’s widget settings, the Web Components work correctly and call the right domain. However, the iframe creates layout issues – the widget is not properly integrated into the page design
Does somebody know how to make it work without an iframe?
Thank you!!