Hi, when I try to checkout I get this message...
It looks like this page is redirecting to a page that isn't compatible with this editor. To ensure that your redirect doesn't interfere with the editing experience, replace window.location.href = with window.top.location.href =
Can someone please advise me where to find this code to change it so I can go to my checkout page...
Elias here with Shopify Support. Thank you for reaching out!
The error you're receiving is due to the Storefront editor trying to redirect to the checkout. However, this won't work because the Storefront editor is for designing your store. There isn't a code to change that. If you'd like to go to your checkout page, you can view your website normally on a separate window. You can also preview your website from the admin, by clicking on the preview icon beside the "Online store' and it will open your website on a separate tab.
Here's what the preview icon looks like:
I hope this helps clarify the Storefront editor error message! If you have any other questions, please don't hesitate to let me know!