Categories
Engineering Spotlight

How does WooCommerce Blocks render interactive blocks in the frontend?

As Gutenberg is starting to experiment with several approaches to render interactive blocks on the front end, for example using React, we wanted to share how this is currently done in WooCommerce Blocks. Our approach is not the only way of doing it, and it will probably evolve once APIs with the same purpose are […]

Categories
Developer Advisory

Updates to wc-settings

tl;dr In WooCommerce Blocks 6.3.0/WooCommerce 6.0.0, any script that has a dependency on wc-settings will now be loaded in the footer, not the header. The details The enqueued script with the handle, wc-settings is composed of two things: The actual script that exposes a getSetting function for clients to consume. Inline script data provided by the server that’s […]

Categories
WooCommerce Blocks Release Notes

WooCommerce Blocks 6.0.2 Release Notes

A new version of WooCommerce Blocks has been released! Version 6.0.2 is now available for download from GitHub and WordPress.org. This is a patch release to fix a fatal error in websites that were running WooCommerce 5.6 or earlier, WooCommerce Blocks 6.0.0/6.0.1, and a third-party plugin that integrates with WooCommerce Blocks. WooCommerce Blocks 6.0.2 fixes that issue, and […]

Categories
WooCommerce Blocks Release Notes

WooCommerce Blocks 6.0.1 Release Notes

A new version of WooCommerce Blocks has been released! Version 6.0.1 is now available for download from GitHub and WordPress.org. This release is packed with new features, an updated Checkout block, a new Terms and Condition block, global styles for reviews blocks, new extensibility for filtering payment methods, and several bug fixes! What’s New in the Checkout block? […]

Categories
WooCommerce Blocks Release Notes

WooCommerce Blocks 5.4.0 Release Notes

A new version of WooCommerce Blocks has been released! Version 5.4.0 is now available for download from GitHub and WordPress.org. This release includes updates to the express payment section in Cart and Checkout blocks, an update to the hand-picked block, and several bug fixes. Changelog