Beta 4: WooCommerce Preview Switcher

My WooCommerce has gone crazy.

In the preview switcher I have no option to select a WooCommerce Product.

In the title it tells me it is the WooCommerce Single Layout and in the layout options I can see the elements I have but I can’t see them in the preview and the option to select the woocommerce preview has gone.

This happened when I switched from one CPT to my WooCommerce Single Product but nothing I do seems to fix it.

Just an update to this. I deleted my old layout created in beta 3 as I thought that might be the issue.

I created a new layout for the single product page - the layouts menu it is showing as unassigned but when I try to load it I am ending up with an empty page and nothing in the options.

Seems like this issue is happening when switching between different layouts. So if I am editing my attorney layout and switch to editing my Woocommerce layout then I end up with the below screenshot. If I then refresh page it renders correctly.

I had the same thing yesterday, but didn’t got time to investigate further.

Thanks for the feedback here!

As for the Preview Switcher, we removed all WooCommece contexts from the standard Layout Builder modes. You’ll just need to create a new Layout and set the type to “WooCommerce Single” and it will fire up with a product in the preview for you. Then you can change it to any product you want.

There’s a race condition I’m tryin to unravel where the workspace locks up if you navigate between builders or load a new entity. This why you’re seeing the workspace go blank. What you can do in the meantime is just refresh in place and it will fix the workspace.

Got it.

I have been refreshing and had gone through the process of deleting the old page and creating a new one.

Thanks for your patience on that one. I still haven’t resolved this race condition, but hoping to have it wrapped up for a patch tomorrow.