Develop WooCommerce

The official WooCommerce development blog

WooCommerce 3.9 Has Landed — January 22, 2020

WooCommerce 3.9 Has Landed

We are thrilled to announce that WooCommerce 3.9 is officially available — it has been in development since November 2019, and contains around 600 commits from 18 contributors. This is a minor release, which means everything should be backward compatible with previous versions of WooCommerce.

Even though it’s a minor release, we always recommend checking that all your plugins and your theme are compatible before updating. For your peace of mind, you should also create backups of your site – read this guide for more details.

Continue reading
Updates on WooCommerce 3.9 Release and RC 4 — January 20, 2020

Updates on WooCommerce 3.9 Release and RC 4

We had scheduled WooCommerce 3.9 for release on January 6, but due to recent changes on MaxMind GeoLite2 integration, we have delayed the release until January 21.

WooCommerce uses MaxMind GeoLite2 for geolocalization. It’s possible to enable it by changing the “Default Customer Address” option in WooCommerce settings; enabling geolocation should download the database from MaxMind servers once a month. However, MaxMind now requires an account and a license key to allow downloads. You can read more details on why they require it on this page: “Significant Changes to Accessing and Using GeoLite2 Databases“.

Due to this change, we had to put in some extra work to keep our geolocalization feature functioning. This also requires more testing, so we’ve delayed the release by two weeks.

Today we are releasing WooCommerce 3.9 RC 4. To test it, use our beta tester plugin or download the release here. Check out the beta announcement post—it highlights all the new features and improvements.

If you find any bugs along the way, please open an issue in our GitHub repository. Thank you for testing and helping us make WooCommerce better!

WooCommerce 3.9 Release Candidate Is Now Available — December 24, 2019

WooCommerce 3.9 Release Candidate Is Now Available

WooCommerce 3.9 is almost ready — so close, in fact, you can already test its release candidate.

To test it, use our beta tester plugin or download the release here. We’ll be unveiling WooCommerce 3.9 on January 6th, but if you’re really itching to learn what’s inside, check out the beta announcement post — it highlights all the new features and improvements.

If you find any bugs along the way, please open an issue in our GitHub repository. Thank you for testing and helping us make WooCommerce better!

Testing WooCommerce 3.9? Beta 2 is Available — December 19, 2019

Testing WooCommerce 3.9? Beta 2 is Available

WooCommerce 3.9 beta 2 is now available. This beta release includes an updated version of WooCommerce Blocks 2.5.6 that fixes a few bugs in the All Products block — here’s the changelog if you’re interested.

To test beta 2 use our beta tester plugin or download the release here. WooCommerce 3.9 will be released on January 6th, and the beta announcement post explains all of its new features and improvements.

This is a great time for plugin developers to test the new release and update their plugin headers for the WooCommerce version check. If you find any bugs please open an issue in our GitHub repository, and thanks for testing WooCommerce!

WooCommerce 3.9 Beta 1 — December 11, 2019

WooCommerce 3.9 Beta 1

WooCommerce 3.9 is now officially available for beta testing!

We’re working toward smaller and more frequent releases, and WooCommerce 3.9 will be the first minor release of 2020. Since it’s a minor release, everything is backward compatible. The official version will be available on January 7, 2020.

To try it out download it from the WordPress.org plugin repository, or install the WooCommerce Beta Tester plugin to test out this and all future beta and release candidates.

What’s new in 3.9?

WooCommerce 3.9 is the first minor release of 2020. Being a minor release, everything is backward compatible. As we work towards smaller and more frequent releases, it will be released on January 7th.

WooCommerce blocks

This version of WooCommerce includes WooCommerce Blocks 2.5. WooCommerce Blocks is our eCommerce-focused block collection for the block editor that has been part of WordPress since WordPress 5.0.

WooCommerce 3.9 adds a new “All Products” block (requires WordPress 5.3) that mimics the WooCommerce core shop page but allows easy customization — and it’s powered by JavaScript and the REST API, so customers stay on the same page while browsing your catalogue.

All Products block
All Products block

You can still customize the elements of this page using inner blocks, and use it in conjunction with other new blocks to filter products.

All products and filter blocks together in a column block
All products and filter blocks together in a column block

Check out the WooCommerce Blocks 2.5 release notes for a detailed look! And if you want to follow the latest developments, you can install the feature plugin as well.

New PHP and WordPress minimum requirements

As of WooCommerce 3.9, we are bumping the minimum required PHP version up to PHP 7.0. This sets set us up for using newer and more performant functionality, benefiting all WooCommerce stores. The minimum required WordPress version will also increase to WordPress 5.0.

We have added upgrade nudges in WooCommerce 3.8 pointing users to our new document you can follow to make sure you have the latest and greatest versions. Stores running anything older than PHP 7.0 and WordPress 5.0 will not be able to update to WooCommerce 3.9.

Additional enhancements

And there’s more in WooCommerce 3.9:

  • There’s “Show” button for password fields, like WordPress core introduced in version 5.3.
  • A new WooCommerce onboarding experience will be available to, 10% of new users (we’re testing this new experience and starting small.
  • It introduces a Payment Gateway API to support “pay button” allowing proper setup of those buttons and making it easier to customize their appearance.

The release also contains tweaks, new hooks and fixes, all of which you can find in the readme.txt.

Template file changes

The following template files have been updated/changed in this release.

FileChanges
emails/email-addresses.phpPhone numbers will become clickable, to easy call your customers.
myaccount/lost-password-confirmation.phpAdded new woocommerce_before_lost_password_confirmation_message, and woocommerce_after_lost_password_confirmation_message actions.
notices/error.php, notices/notice.php, notices/success.phpTemplates update to support our new notices format.

Deprecated functions and methods

  • Deprecated the WC_Cart_Totals::round_merged_taxes() method and replaced it with a new method WC_Cart_Totals::calculate_item_subtotals().
  • Deprecated the argument $messages in notices templates, and as a replaced it’s possible to use $notices.

Release schedule

Beta10 December 2019
RC21 December 2019
Release 3.97 January 2020

Testing instructions

We published a Wiki in GitHub to help anyone interested in testing this new release. Check out our release testing instructions.