The documentation for WooCommerce Blocks has moved to the WooCommerce monorepo.
Please refer to the documentation in the new location as the files in this repository will no longer be updated and the repository will be archived.
Zip file for testing: woocommerce-gutenberg-products-block.zip
Fix broken post/page editor screens in WordPress versions earlier than 6.2. (9090)
- Make sure your environment is WordPress 6.1.1
- Ensure the Post, Page and Site editors load without issues.
- Go to Appearance > Editor > Templates > Single Product and add the Product Image Gallery block somewhere on the page.
- Without reloading the page, edit the Single template (or any other template unrelated to WooCommerce). Verify you can't add the Product Image Gallery block.