Categories
Developer Resources

New @wordpress/data stores in WooCommerce Blocks

In WooCommerce blocks 8.7.0 we refactored a significant portion of our Cart and Checkout blocks’ code. Specifically, a lot of the data previously kept in React Contexts was moved into WordPress data stores (@wordpress/data). We did this to make it easier for third party extensions to extend the functionality of the Cart and Checkout blocks. […]

Categories
Developer Resources

How The Checkout Block Processes An Order

Have you ever wondered, what happens after a user hits the “Place Order” button in the Checkout Block? In this post, we will go through a step by step deep-dive on the inner workings of the Checkout Block order flow. Structure First, let’s take a look at the main areas associated with processing the checkout […]

Categories
Tutorials WooCommerce Core

Exposing Payment Options in the Checkout Block

A while ago, we announced the public availability of developer documentation covering the integration of payment methods with the Cart and Checkout Blocks. This time, we will show you an example that includes the necessary client side (JS) and server side (PHP) components involved in exposing a payment gateway in the new Checkout Block.  Note: […]

Categories
Release Post WooCommerce Blocks Release Notes

WooCommerce Blocks 7.8.0 Release Notes

A new version of WooCommerce Blocks has been released! Version 7.8.0 is now available for download from GitHub and WordPress.org. In this release, we are including some minor bug fixes and improvements: The Featured Category block now can set the product image as a Fixed Image and a Repeated Image via new media controls. The Mini Cart block now has Font Size and Font Family support. The Cart and Checkout blocks respect low stock […]

Categories
Tutorials WooCommerce Core

Hiding Shipping and Payment Options in the Cart and Checkout Blocks

A while ago we made our new, block-based checkout available for testing in the WooCommerce Blocks plugin. The new Cart and Checkout blocks were built from the ground up to deliver a conversion-optimized checkout experience that is fully customizable in the WordPress Block Editor.   The new blocks are powered by the Store API, which follows […]