"View current draft" does not work for Shopify pages

Builder content link
https://builder.io/content/d621971c72094ba68a96cdbb9dd1d28d

Builder public api key
64dd5478e25746bf9db3b6c0319905f6

What are you trying to accomplish
I want to be able to preview a Shopify page before publishing it

Screenshots or video link

Code stack you are integrating Builder with
react

Hi there, thanks for reaching out!
It appears you have quite a bit of custom code written. As a first troubleshooting method, if you remove the custom code and save the content, and try the preview link again, does it work then?

Thanks for the swift reply. A reactionary first thought is, “why would custom code make a difference if the published page loads OK?”

For reference, this content which is the currently live page loads fine on the web store, but does not load in the Builder preview:
https://store.bigscreenvr.com/products/bigscreen-beyond
– vs –
https://builder.io/content/26522d31d06f4ecf92da68693db2f01b

I have custom code in many places. I’ll try removing one at a time.

Update: I tested this Shopify page with all of my own custom code removed, and Builder’s page preview still does not load.

Hi there,

Thank you for trying that out for us. I’ve taken a deeper look and the issue is not the “view current draft”, but rather the Shopify Linked Content section is not outputting anything. We saw that this section is linked to dynamic data custom code, so the issue lies within this block. More particularly it could the result of window.BigData returning as undefined in the console
Screen Shot 2023-07-18 at 1.59.08 PM

When we tested out adding just a basic text block and previewing the page, we were able to see it appear: Loom | Free Screen & Video Recording Software | Loom