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 *