woocommerce/plugins/woocommerce-blocks/docs
Mike Jolley a932ceb59f
Fix extensionCartUpdates not surfacing errors to cart and checkout (#49762)
* Add context to type

* Clean up notifyerrors helpers

* Notify and clear top level cart errors

* changelog

* Make extensionCartUpdate surface the errors

* No automatic clearing of notice

* Handle generic errors only, add docs

* Rename param

* Fix linting in readme

* Update toc

* test coverage

* Unused import

* We're only dealing with arrays of errors so simplify logic
2024-08-14 15:24:44 +01:00
..
.media/images Blocks E2E: Streamline E2E utils implementation (#47660) 2024-05-27 14:54:06 +00:00
block-references Add "(Experimental)" suffix to experimental blocks (#48071) 2024-06-10 15:12:10 +02:00
contributors Fix e2e-guidelines.md syntax (#49018) 2024-07-03 11:01:14 +02:00
designers/theming Expand block templates documentation (#48247) 2024-06-11 10:04:48 +02:00
examples Format Markdown files using wp-scripts (https://github.com/woocommerce/woocommerce-blocks/pull/6462) 2022-06-09 14:43:17 +02:00
internal-developers Compatibility Layer: fix 'woocommerce_before_single_product_summary' hook position (#50392) 2024-08-07 14:53:11 +02:00
third-party-developers/extensibility Fix extensionCartUpdates not surfacing errors to cart and checkout (#49762) 2024-08-14 15:24:44 +01:00
README.md Clean up theming sections in WooCommerce blocks docs (#48420) 2024-06-12 16:29:42 +02:00

README.md

WooCommerce Blocks Handbook

Table of Contents

The WooCommerce Blocks Handbook provides documentation for designers and developers on how to extend or contribute to blocks, and how internal developers should handle new releases.

Contributors

Want to contribute to the WooCommerce Blocks plugin? The following documents offer information that can help you get started.

Internal developers

Are you an internal developer? The following documents offer information about the different blocks, the Block Client APIs, the Store API, the templates and the testing process.

Third-party developers

Are you a third-party developer? The following documents explain how to extend the WooCommerce Blocks plugin with your custom extension.

Designers and theme developers

The following document explains how to to create block themes that work in WooCommerce and how to customize the styles of WooCommerce blocks.

Block References

Developer Resources

Tools

  • @woocommerce/extend-cart-checkout-block This is a template to be used with @wordpress/create-block to create a WooCommerce Blocks extension starting point. It also showcases how to use some extensibility points, e.g. registering an inner block in the Checkout Block, applying filters to certain texts such as the place order button, using Slot/Fill and how to change the behaviour of the Store API.

Articles

The following posts from developer.woo.com provide deeper insights into the WooCommerce Blocks development.

Tutorials

The following tutorials from developer.woo.com help you with extending the WooCommerce Blocks plugin.


We're hiring! Come work with us!

🐞 Found a mistake, or have a suggestion? Leave feedback about this document here.