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
Classic Template block registration: add defensive type handling #10475
- Ensure that you have installed Gutenberg 16.3.0.
- Open the Site Editor.
- Click on the navigation.
- Click on the pencil (to edit button).
- Ensure that the Site Editor doesn't crash
Before | After |
---|---|
Screen.Capture.on.2023-08-04.at.10-19-35.mp4 |
Screen.Capture.on.2023-08-04.at.15-03-14.mp4 |
Update check for active cart template and migration routine #10462
- Go to Pages > Cart and edit the page. It will load the site editor. Add some text below the header, for example. Feel free to add anything for testing purposes. Save the template.
- Add an item to your cart and then load the Cart page on the front end. Ensure your changes from step 1 are visible.
- Go to the WP Dashboard, then WooCommerce > Settings > Advanced and change the cart page slug to something different. Repeat step 2 and ensure it still works with your change visible. Ensure the path to the Cart page shown in your browser is the one you updated it to.