A user is trying to embed content from a standalone Shopify page into a product page on the Launch theme, which lacks built-in page-as-section functionality.
Attempted Solutions:
iFrame approach: Using custom liquid with an iframe pointing to the page URL resulted in security blocking errors from Shopify, preventing the embed from displaying.
Liquid include method: A suggested alternative involved creating a custom section using Liquid code with {% assign page_handle %} and {% include 'page' %} statements to pull content from the separate page. However, this also produced errors when implemented.
Current Status:
The user has created a custom page template (page.brokercontent.json) but cannot successfully integrate it into the product page.
Multiple variations of both approaches have failed with similar blocking/error messages.
One commenter noted that iFrames can work for external embeds (like booking widgets) on Shopify, suggesting the issue may be specific to embedding internal Shopify pages.
Unresolved: The discussion remains open with no working solution identified for embedding the internal page content into the product template.
Summarized with AI on November 12.
AI used: claude-sonnet-4-5-20250929.
Hello, I am attempting to embed a traditional page into a product page. The goal is to use the normal page to hold all the content which changes and then just edit that. For various reasons it needs to be added in this manner. I have assigned a unique template “page.brokercontent.json” but am not sure how to get this embedded.
I know on some themes there is an option to add a page as a section on products, I am working on Launch theme and do not have that option. I have tried using custom liquid to add an iframe of the page, using the URL https://sphereguru.com/pages/sphere-guru-brokerage-plan as the source. This only produced an error saying, due to security risks the domain had blocked the iframe.
I then tried the following code, and similar variations most of which produced this result:
Any help with this would be greatly appreciated, we essentially need to create a section for our product which displays the content on an existing page. Thank you!
It appears that you have tried using an iframe to embed the page, but this produced an error due to security risks. One thing you could try is to create a custom section within your product template and use Liquid code to pull in the content from the separate page.
You can create a new section within your product template, and within that section, use the following Liquid code to pull in the content from the separate page:
This code will assign a handle to the separate page and then use the “include” statement to pull in the content from that page. You will need to replace “sphere-guru-brokerage-plan” with the handle of your separate page.
I must be doing something wrong, I receive this error message. The second attached screenshot is of the separate page template, which is for the page which needs to be inserted. I tried replacing the name with page.brokercontent and other variations to match but same error. Any idea where I am going wrong?
It might be something specific to that page that’s causing Shopify to block it when it’s inserted as an iFrame. I use the ClassBento booking widget in a Shopify iFrame to capture bookings on my Shopify site and it works really well.