WooCommerce Developer Blog

Recent News

Getting to Know Woo: Exploring Server-Side Extensibility with Hooks

Co-written by @ralucastn and @nielslange This is chapter 5 of 5 in the series Getting to Know Woo: A Series on the Cart and Checkout Blocks In the previous posts, we’ve looked at extensibility on the front end side, focusing on adding new content, modifying existing content, and extending payment methods. However, you may sometimes need to modify behavior on the server side. In this final post of the series, we will look at action and filter hooks available in the Cart and Checkout blocks. Extensibility on the Server Side (Hooks) There are also some PHP action and filter hooks…

Getting to Know Woo: Extending Payment Gateway Options in WooCommerce

Co-written by @ralucastn and @nielslange This is chapter 4 of 5 in the series Getting to Know Woo: A Series on the Cart and Checkout Blocks In this series, we’ve learned how to add new content and how to modify existing content when it comes to the Cart and Checkout blocks, but there’s an important aspect of this part of the product that requires its own mention. Extensibility on the Payment gateways side has been one of our most important focuses, and we have been writing about it in the past. In this post, we will look at two of…

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 you want. The Store API allows placing an order using RESTful requests. 💡 RESTful requests are a standardized way for applications to communicate with servers over the internet. These requests use different methods to perform specific actions: • GET: Fetch information from the server.• POST:…

Getting to Know Woo: Modifying existing Cart and Checkout Block Fields

Co-written by @ralucastn and @nielslange This is chapter 3 of 5 in the series Getting to Know Woo: A Series on the Cart and Checkout Blocks In the previous installment of this series we looked at how we could customize the content of the Cart and Checkout blocks. Now, we are going to see how we can customize existing fields using the Filter registry, which is similar to the traditional filter system in WordPress. Modifying existing Cart and Checkout Block Fields Checkout JS filters We have implemented a Filter registry that allows callbacks to be registered to manipulate certain values…

Getting to Know Woo: Customizing Cart and Checkout Fields

Co-written by @ralucastn and @nielslange This is chapter 2 of 5 in the series Getting to Know Woo: A Series on the Cart and Checkout Blocks. In our previous post in this series, we learned about the architecture of the Cart and Checkout blocks. Now, we’re ready for our first stop on covering extensibility in this series: the customization of content in the Cart and Checkout blocks. In this post, we’ll delve into the intricacies of adding custom inner blocks, Slot and Fill (a tool that gives you the possibility to render your own HTML in pre-defined places in the…

Getting to Know Woo: Understanding the Architecture of Cart and Checkout Blocks

Co-written by @ralucastn and @nielslange This is chapter 1 of 5 in the series Getting to Know Woo: A Series on the Cart and Checkout Blocks As a first installment of our series on getting to know the Cart and Checkout blocks, today we will walk through the main architecture of these blocks. From managing data and order processing to store aesthetics, we’ll dissect their functions and limitations A look at Our Main Architecture From a merchant perspective, the Cart and Checkout blocks are parent blocks with a collection of inner blocks: core and user-defined blocks. The parent blocks handle…

WooCommerce Vulnerability Reintroduced from 7.0.1

Background Last year we were alerted to a security issue (thanks to David Anderson) that would potentially allow users with specific capabilities (and, by default, this would include the Shop Manager role) to view user data for all users. This has the possibility of exposing sensitive information. Generally, and within WooCommerce, the information stored as user metadata is not sensitive, however it is possible for other plugins to store sensitive data should they elect to. We are not aware of any cases in which this would pose a risk in WooCommerce on its own. We identified the issue and released…

WooCommerce 8.1.1 Fix Release

WooCommerce 8.1.1 is now available for download. It contains a security fix, and we therefore recommend updating at your earliest possible convenience. What’s new? You can download the latest release of WooCommerce here or visit Dashboard → Updates to update the plugin from your WordPress admin screen. If you spot issues in WooCommerce core, please log them in detail on GitHub. Found a security issue? Please submit a report via HackerOne.

Getting to Know Woo: A Series on the Cart and Checkout Blocks

Over the past months, the Cart and Checkout blocks were available as optional features in WooCommerce Core. Now, the time has come to transition the Cart and Checkout blocks out of the Beta phase and make them the default experience for all new users in the upcoming November release of WooCommerce Core. As we introduce the Cart and Checkout blocks in WooCommerce Core, it’s important to note that several existing extensions currently integrated with the checkout flow will require updates for seamless compatibility. Third-party developers must ensure their extensions are compatible with this new experience to deliver a cohesive shopping…

WooCommerce Blocks 11.1.0 Release Notes

The latest version of WooCommerce Blocks, version 11.1.0, is now available for download on WordPress.org and GitHub. Notable Changes Improve WooCommerce blocks performance for classic themes We made some changes that will split out the styles for our blocks into individual CSS files when the site uses a classic theme. This has been the case for some time with block themes, and now classic themes can benefit from faster load times and lower resource usage when displaying WooCommerce blocks. More patterns in the Product Collection block Two new Product Collection patterns, Rows and Simple Grid, are now available. They offer vertical and horizontal…

Loading…

Something went wrong. Please refresh the page and/or try again.



Recent Releases

WooCommerce Core
WooCommerce Blocks