Develop WooCommerce

The official WooCommerce development blog

Storefront 2.4.5 release notes — March 15, 2019

Storefront 2.4.5 release notes

Storefront 2.4.5 has been tagged for release and uploaded to WordPress.org.

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

* Fix - Revert changes made to the navigation menus that in some cases could cause menus to be hidden on the page.

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.

Storefront 2.4.4 release notes — March 14, 2019

Storefront 2.4.4 release notes

Storefront 2.4.4 has been tagged for release and uploaded to WordPress.org.

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

* Tweak - Update UTM parameters on WooCommerce.com links.
* Tweak - Compress and minify `pep.min.js`.
* Tweak - Minify CSS files in the `base` folder.
* Fix - Underline links in post content, footer, and breadcrumbs for better accessibility.
* Fix - Bolder outline styles for better accessibility.
* Fix - Stop Handheld Navigation items from being read by screen readers when the menu is collapsed.
* Fix - Add styling for product columns on the header widget area.
* Fix - Hide bundle/composite child cart items below the desktop size threshold.
* Fix - Split Jetpack styles into separate files to fix a flash of content when using the infinite scroll option.
* Dev - Update node dependencies.
* Dev - Handheld Footer Bar JavaScript moved from `navigation.js` to `footer.js`.

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.

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 WordPress.org.

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.

Storefront 2.4.2 release notes — December 11, 2018

Storefront 2.4.2 release notes

Storefront 2.4.2 has been tagged for release and uploaded to WordPress.org.

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

* Fix - Load in functions.php missing storefront-woocommerce-functions.php file required for compatibility with Jetpack's Infinite Scroll feature.
* Dev - Update order of Sass import files in gutenberg-blocks.scss and gutenberg-editor.scss to ensure that these are compiled correctly.
* Dev - Update Grunt tasks.

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.