Categories
Tutorials WooCommerce Blocks

Tutorial: Placing an order using the Store API

While looking into a Store API related GitHub issue, I decided to create a brief tutorial on how to place an order using the Store API when using WooCommerce Blocks. This tutorial uses a REST client for the examples. The screenshots are from Insomnia, but you can also use other REST clients like Postman if […]

Categories
Tutorials WooCommerce Blocks

Tutorial: Extending the WooCommerce Checkout Block

A few weeks ago, I was lucky enough to be at WCEU 2023 – Athens and had the opportunity to attend some of the workshops. In the workshop by Thomas Roberts (@opr18) and Niels Lange (@nielslange), we walked through the process of extending the WooCommerce Checkout block to include a “Not at home” shipping option.  […]

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
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 […]

Categories
Tutorials

Adding your own store management links

In the new and improved WooCommerce home screen, there are two points of extensibility for plugin developers that have recently had some attention. The first is the setup task list, allowing you to remind the user of tasks they need to complete and keeping track of their progress for them. The second is the store […]