Capture a cart contents within an iFrame, then open checkout in a new window

Capture a cart contents within an iFrame, then open checkout in a new window

maxicrisp
Shopify Partner
2 0 0

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.

Replies 0 (0)