Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
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
The dev team has disabled X-Frame-Options in order to enable my store to be rendered in an iFrame. I'm looking to now send the content of that store to a checkout, where that is then sent to a checkout, and a checkout window is opened in a new window to satisfy the checkout requirements. Is there a way to capture the contents of the cart within the iFrame and then send that to a checkout which is then rendered in the new window?
The idea is that the website is filled with say blog posts, when they click on the blog post it opens up a modal which contains a shopify store in an iFrame. The checkout is fine to be completed within a new tab and redirects the user back to the previous page.