Develop WooCommerce

The official WooCommerce development blog

WooCommerce 3.5.5 security/fix release — February 20, 2019
February 28th: Dev Chat #24 — February 15, 2019

February 28th: Dev Chat #24

January’s dev chat was a fantastic – we chatted about the new WooCommerce Admin ( aka wc-admin ), the WooCommerce Blocks, and Performance and Scalability Improvements. In case you missed the chat, you can checkout the backscroll here.

The next chat will be on Thursday February 28th at 16:00 UTC in the #core channel of the WooCommerce Community Slack. If you don’t already have access to the group, you can request an invite here.

For February’s dev chat, we will be talking about what is coming in WooCommerce 3.6 which is set to release in late March.

If you have any other questions, or topics you would like to chat about during Dev Chat #24, please drop a comment below.

See you all on the 28th!

wc-admin v0.7.0 release notes — February 14, 2019

wc-admin v0.7.0 release notes

We are happy to announce the availability of a new build of the wc-admin feature plugin! If this is the first time you have heard about wc-admin, it is a new JavaScript-driven interface for managing your WooCommerce stores that is focusing on creating new and improved reports, and a dashboard to monitor all the important key metrics of your site. You can read more about the background of the project in our Alpha announcement post – or watch the keynote from WooSesh.

And while the plugin isn’t quite ready yet to be run on production sites, we would love for you to install it on a staging or test instance and try it out. You can download version 0.7.0 right here. If you do test out the plugin, and have some feedback – please do open an issue in the GitHub repository, or reach out to us in the #core channel on WooCommerce slack.

0.7.0 Highlights

Product Comparison Report

With the addition of advanced segmentation support in the REST API, you can now compare different product ( and variation ) performance over a specified date range. This allows for store operators to perform highly customized analysis of their sales data.

Tabular Data Filtering

In many of the new reports ( Products, Categories, Coupons, Taxes and Customers ), a search field is shown at the top of the table. This search utility received some great improvements in v0.7.0 and now supports fuzzy searching for data contained within the table.

Analytics Settings + Transient Notifications

A new Settings section has been added to Analytics. Currently on this screen you can chose which order statuses to exclude from the totals in your reports. Interacting with this form also shows the new Transient Notifications ( aka “toast” style notifs ) system:

Feature Flags

We have also added the ability to create “feature flags” in the project. This allows us to omit certain features from our released .zip files while we are still finishing development of them. You will notice that in the v0.7.0 release, the Activity Panels are not shown as we are still developing those further.

REST API Updates

Analytics Updates

Thank You, and What’s Next?

First a big THANK YOU to everyone that has downloaded a release to test, and also to those of you who have reported bugs. Your input is extremely valuable to us, so please keep testing and let us know if we can help!

The next two weeks we are primarily focusing on testing and bug fixing – getting things cleaned up and ready for releasing the plugin to the repo! We are also performing tests of wc-admin against data from to validate all works as expected on high-volume sites.

If you would like to see more details about what we are working on, please visit our project board on GitHub.

WooCommerce Blocks 1.4.0 Release Notes — February 13, 2019

WooCommerce Blocks 1.4.0 Release Notes

Version 1.4.0 of WooCommerce Blocks is now available as a feature plugin. It’s the easiest, most flexible way to display your products on posts and pages!

What’s new in 1.4.0

Products by Attribute Block

Screen capture of adding the Products by Attribute block, selecting an attribute "Color", then selecting "Blue". After clicking Done, the preview shows a grid of products.

As the name suggests, this block will display any products that have been assigned a specific attribute term, or multiple attribute terms. If you’ve tried the Products by Category block, the UI should feel familiar.

Aside from the attribute selection options, the settings match our other product grid blocks. You can arrange the layout into a specific number of rows and columns, and you can order the products by a variety of options like newness, price, rating, sales, etc.

Featured Product Height

It’s now possible to specify a custom height to the Featured Product block. It works by adding a handle to the bottom of the block, which you can drag to make the block taller.

Screen capture of dragging the handle to grow the block.

Featured Product background image

In addition to setting a custom height, you can now also set a custom background image for the Featured Product block.

screenshot of the block toolbar, with the "Edit Media" button in focus.

Lots of bug fixes

That’s it for new features, but 1.4.0 also includes a bunch of handy fixes and improvements:

  • The correct product image placeholder is now displayed in previews.
  • It’s no longer possible to create broken layouts by displaying products in grids with too many columns.
  • Adding a Featured Product block without an image will not cause a PHP notice.

1.4.0 Changelog

The full changelog for 1.4.0:

  • Feature: Added new block: “Products by Attribute”
  • Enhancement: Added the ability to resize the Featured Product block (a default and minimum height can be set by your theme)
  • Enhancement: Updated button on Featured Product block to match core button block behavior
  • Components: Added new control component GridLayoutControl to manage row/column layout values
  • Components: Updated ProductAttributeControl to list only attribute types, then once selected, list terms in that attribute
  • UX: Remove ability to change selected product in Featured Product block, to prevent “sticky” product links.
  • Fix: A product without an image will now use the placeholder image in grid-layout block previews
  • Fix: Previously, there was a PHP notice when a Featured Product has no background image
  • Fix: There is now an enforced limit on column and row counts (which can be set by your theme)
  • API: Added attr_operator support to products endpoint to compare product attribute terms
  • Build: Update packages
  • Build: Remove unnecessary internationalization build step

What’s next?

We’re aiming to merge this feature plugin in to WooCommerce core for 3.6. Before that happens we anticipate one more major release for WooCommerce Blocks. A few new features are planned for that release such as block transformations, and enhanced customisability.

Using the WooCommerce Blocks plugin

To get started with WooCommerce Blocks, make sure you are updated to the latest version of Gutenberg, or running WordPress 5.0.x. Then download the latest version of the plugin here or venture over to Dashboard → Updates, to update the plugin from from WordPress.

As always, if you have feature requests, or spot any bugs,  please log them in detail on Github.

Storefront 2.4.3 release notes — February 5, 2019

Storefront 2.4.3 release notes

Storefront 2.4.3 has been tagged for release and uploaded to

Here’s what’s changed pulled directly from the changelog:

* Feature - Replicate Storefront's layout logic in the block editor. Wide and Full-width options are made available only if supported.
* Enhancement - Product pagination is now circular and skips hidden products.
* Tweak - Remove unused variables from `inc/customizer/class-storefront-customizer.php`.
* Tweak - Refactored "Posted on" section in `storefront_post_meta()`.
* Tweak - Standardize mixing of static/non static function calls in the `Storefront_Customizer` class.
* Tweak - Remove padding and transition styles from post navigation.
* Fix - Remove hard coded colors for Blocks from `gutenberg-blocks.css` and use colors set in the Customizer instead.
* Fix - Clear floats on alignwide and alignfull blocks.
* Fix - When outputting custom styling for extensions, check if the object `$storefront` is in the expected format and has right properties.
* Dev - Babel added as a dependency.
* Dev - New `assets/js/src/editor.js` file.
* Dev - Revert filter name. `storefront_woocommerce_customizer_css` reverted to `storefront_customizer_woocommerce_css`.
* Dev - New hooks added to post header section: `storefront_post_header_before`, `storefront_post_header_after`.

Download the latest release of Storefront here or venture over to Dashboard → Updates to update your theme from WordPress.

As usual, if you spot any other issues, please log them in detail on Github.