WooCommerce 5.6 Released

WooCommerce 5.6 has been officially released! We’ve been hard at work and this release has

This is another minor release and so you should expect everything included to be backwards compatible with the previous version.

As always, we recommend creating a backup of your site and making sure that the themes and plugins are compatible before updating. You can check out this update guide for more information.

What’s new in 5.6?

  • Added a new options to enable a lookup table to improve filtering by product attributes.
  • A new “Refunds and Returns Policy” sample page will be included by default in all installations, Merchants can chose to publish this page if they want to.
  • WooCommerce Blocks 5.4.1, and 5.5.1. These updates contain a number of enhancements, bug fixes, and some improvements to allow products to be added by SKU in the Hand-Picked Products block.
  • WooCommerce Admin 2.5.0. This new package contains lots of bug fixes and stability improvements.
  • Improved support to Twenty Twenty-One theme.
  • Added support for “Shipping Phone”, in addition to Billing Phone in email templates and in the Order’s edit screen, note that WooCommerce Shipping & Tax extension already includes a “Shipping Phone” for the checkout form.
  • Fixed a problem preventing blocks from rendering when included within the shop page.

These are just some of the changes that are included in WooCommerce 5.6. You can find the complete changelog for this release in the changelog.txt file.

Compatibility Changes

Our aim is to maintain backwards compatibility through every release unless otherwise noted. This section contains any alternations that may be noteworthy for developers in pursuit of that.

Actions & Filters

This release adds one hook:

HookDescription
woocommerce_email_sentAction hook fired when an email is sent from WooCommerce.

And one update to a filter:

HookDescription
woocommerce_logout_default_redirect_urlFilter the redirect URL page, used to only get applied to wc_logout_url(), but now is also applied in other places that uses WooCommerce’s logout endpoint.

Database

There are no database changes in this release, but a database upgrade will be necessary to install the new “Refunds and Returns Policy” sample page.

Templates

FilterDescription
templates/emails/email-addresses.phpUpdated to display shipping phone if available.
templates/emails/plain/email-addresses.phpUpdated to display shipping phone if available.
templates/order/order-details-customer.phpUpdated to display shipping phone if available.

Reposted from WooCommerce

Leave a Reply

Your email address will not be published. Required fields are marked *