Develop WooCommerce

The official WooCommerce development blog

WooCommerce Blocks 2.4 Release Notes — August 29, 2019

WooCommerce Blocks 2.4 Release Notes

Version 2.4.0 of WooCommerce Blocks feature plugin is now available. This release includes new blocks to display product reviews, a product search block, as well as some fixes.

Reviews by Product

Display reviews of a specific product to build trust and fine-tune the content that you want to show.

reviews-by-product

Reviews by Category

Do you want to display reviews from specific categories instead of a single product? We’ve got you covered with the Reviews by Category block.

Screen Shot on 2019-08-28 at 11_53_22

All Reviews

Show a list of all product reviews in a landing page, blog post or any other page in your site.

Screen Shot on 2019-08-28 at 11_56_54

Product Search

Help shoppers find your products by placing a search box in some specific locations.

product search

Existing block enhancements

  • Now it’s possible to allow hidden products to be selected and shown in the Hand-picked products block.

2.4.0 Changelog

- Feature: A new block named 'All Reviews' was added in order to display a list of reviews from all products and categories of your store. #902
- Feature: Added Reviews by Product block.
- Feature: Added Reviews by Category block.
- Feature: Added a new product search block to insert a product search field on a page.
- Enhancement: Add error handling for API requests to the featured product block.
- Enhancement: Allow hidden products in handpicked products block.
- Fix: Prevented block settings being output on every route.  Now they are only needed when the route has blocks requiring them.
- Dev: Introduced higher order components, global data handlers, and refactored some blocks.
- Dev: Created new HOCs for retrieving data: `withProduct`, `withComponentId`, `withCategory`.
- Dev: Export block settings to an external global `wc.blockSettings` that can be reliably used by extensions by enqueuing their script with the `wc-block-settings` as the handle. #903
- Dev: Added new generic base components: `<OrderSelect />` and `<Label />` so they can be shared between different blocks. #905

What’s next?

In the upcoming weeks we plan to release a batch of new blocks focused on filtering products. Stay tuned for updates!

Using WooCommerce Blocks

If you’re using WooCommerce core you’ll have access to blocks, however, for the newest developments you may want to use our feature plugin as well. To get started:

  • Head over to your admin dashboard and go to Plugins > Add New.
  • Enter the search keyword woocommerce blocks
  • Look for the WooCommerce Blocks plugin and click Install Now.

Once installed and activated you can use the new features listed in this post.

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

WooCommerce Admin v0.18.0 — August 28, 2019
August 29th: Community Chat #2 — August 27, 2019
WooCommerce Blocks 2.3.1 Release Notes —

WooCommerce Blocks 2.3.1 Release Notes

Version 2.3.1 of WooCommerce Blocks feature plugin is now available. The full changelog is below:

- Fix: Fix deprecation notices with PHP 7.4.
- Fix: Removed unused screen-reader-text css styles for buttons which caused some theme conflicts.
- Fix: Left align stars to fix alignment in Storefront.
- Fix: Best-sellers block query results #917
- Fix: Fix duplicated translatable string #843

These changes will also be included in the next WooCommerce core fix release.

If you would like to check out and use the WooCommerce Blocks feature plugin, you can install it by:

  • Heading over to your admin dashboard and go to Plugins > Add New.
  • Entering the search keyword woocommerce blocks
  • Looking for the WooCommerce Blocks plugin and clicking Install Now.

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

Storefront 2.5.3 release notes — August 19, 2019

Storefront 2.5.3 release notes

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

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

* Fix - Introduce extra block styles to fix issue with WooCommerce 3.7 blocks.
* Fix - Make Storefront admin notices conform to new WP.org theme rules.
* Dev - Add filter to alter credit links.

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.5.2 was released earlier today, but due to a mistake in the release process, it contained an additional and unused directory. As soon as we noticed the error, we released Storefront 2.5.3 to remove the directory and replace version 2.5.2. Users that updated to 2.5.2 won’t experience any issues.