Changelog

  • WooCommerce 6.1.1 is available now. This release resolves a bug introduced in 6.1.0, rolls back the deprecation introduced in 6.1.0, and improves WooCommerce’s support for WordPress 5.9.

    Here’s what’s new:

    • Introduced support for the Twenty Twenty-Two theme, ahead of the release of WordPress 5.9. (#31536#31575#31619#31626#31632#31630#31631#31633, #31634)
    • Updated the version of WooCommerce Blocks to 6.5.2, which includes a fix for Store Editing Templates, which mostly affects sites running WordPress 5.9. (#5519)
    • We reverted the warning about the deprecation to is_ajax introduced in 6.1.0. This was causing issues on some sites when WP_DEBUG_DISPLAY was set to true in production. Despite this rollback, we recommend not displaying debug information on production sites. (#31672)
    • We fixed an jQuery compatibility issue with FlexSlider introduced in 6.1.0. (#31623)

    You can see the complete set of changes in the readme file for the release.

    You can download the latest release of WooCommerce here or visit Dashboard → Updates to update the plugin from your WordPress admin screen.

    As usual, if you spot issues in WooCommerce core, please log them in detail on GitHub. Found a security issue? Please submit a report via HackerOne.


  • A new version of WooCommerce Blocks has been released! Version 6.8.0 is now available for download from GitHub and WordPress.org.

    Full-Site Editing templates

    This release rolls out some fixes for the Block based Full-Site Editing templates, specifically one regarding custom templates. It also adds Global Styles support for the Price Filter block, Stock Indicator block, Summary Product block, and Product Title block.

    All Product block with custom global style added to the Product Title block

    WooCommerce Blocks

    We fixed a styling issue in the Checkout block when an order has multiple shipping packages.
    We’ve also aligned the display of images in product grid blocks with the default way to display product images in WooCommerce: images will be cropped into a square. This change won’t affect any existing blocks, only the ones added from now on. Switching to Full Size images can be done by editing the block.

    Dev Notes

    The built-in Stripe Payment Method Extension integration has been removed. This has been part of the extension itself since Stripe version 5.2.0 (2021-05-19) and is no longer necessary. If you’re using an older version of Stripe (lower than 5.2.0) you’ll need to update to have the payment method still shown during the Checkout block.

    The Cart block now supports some Store API hooks for tweaking some behaviors:

    Hook for disable quantity inputs for cart items:
    add_filter( 'woocommerce_store_api_product_quantity_editable', function( $quantity, $product, $cart_item )  {
        return false;
    }, 10, 3 );
    Hook for change the multiple/step property for all cart items:
    add_filter( 'woocommerce_store_api_product_quantity_multiple_of', function( $quantity, $product, $cart_item )  {
        return 4;
    }, 10, 3 );
    Hook for changing the minimum and maximum for all cart item:
    add_filter( 'woocommerce_store_api_product_quantity_minimum', function( $quantity, $product, $cart_item )  {
        return 5;
    }, 10, 3 );
    
    add_filter( 'woocommerce_store_api_product_quantity_maximum', function( $quantity, $product, $cart_item )  {
        return 30;
    }, 10, 3 );
    Hook for changing the quantity for products (this affects add to cart events):
    add_filter( 'woocommerce_store_api_product_quantity_minimum', function( $quantity, $product, $cart_item )  {
        return 5;
    }, 10, 3 );

    For more details please see the Changelog below:

    Changelog

    Enhancements

    • Add support for the global style for the Price Filter block. (5559)
    • Hold stock for 60mins if the order is pending payment. (5546)
    • Allow users to reinsert the WooCommerce Legacy Template block. (5545)
    • Add support for the global style for the Stock Indicator block. (5525)
    • Add support for the global style for the Summary Product block. (5524)
    • Add support for the global style for the Product Title block. (5515)
    • Fix duplicated checkout error notices. (5476)
    • Store API: Throw errors when attempting to pay with a non-available payment method. (5440)
    • Add support for the wide and full alignment for the legacy template block. (5433)
    • Store API and Cart block now support defining a quantity stepper and a minimum quantity. (5406)
    • Added controls to product grid blocks for filtering by stock levels. (4943)

    Bug Fixes

    • Use consistent HTML code for all rating sections, so that screen readers pronounce the rating correctly. (5552)
    • All Products block displays thumbnails. (5551)
    • Fixed a styling issue in the Checkout block when an order has multiple shipping packages. (5529)
    • Fixed a visual bug (#5152) with the points and rewards plugin. (5430)
    • Filter Products By Price block: Don’t allow to insert negative values on inputs. (5123)

    Technical debt

    • Remove invalid $wpdb->prepare() statement in Featured Category block. (5471)
    • Remove Stripe Payment Method Integration (which is now part of the Stripe Payment Method extension itself). (5449)

    Various

    • Update the block theme folders to latest Gutenberg convention (i.e. templates and parts). (5464)

    We released WooCommerce Blocks 6.5.2 and WooCommerce Blocks 6.7.2 that include an update to Store Editing Templates in anticipation of WordPress 5.9.


  • Beta 1 for the February 2022 release of WooCommerce is now available for testing! You can either download it directly from WordPress.org or install our WooCommerce Beta Tester Plugin.

    Highlights

    • Add support for Twenty Twenty-Two theme.
    • WooCommerce Blocks: We’ve updated to the 6.7.1 version of the feature plugin. See the release posts for 6.6.0 and 6.7.0 to see what’s new.
    • WooCommerce Admin: We’ve updated to the 3.1.0-rc version of the feature plugin. See the changelog to find out what’s new.

    Filters and Actions

    This release doesn’t add any filters or actions.

    Database Changes

    There are no database changes in this release.

    Template Changes

    There are no template changes in this release.

    Deprecations

    There are no deprecations in this release.

    Release Schedule

    VersionRelease
    BetaJanuary 18, 2021
    Release CandidateJanuary 25, 2021
    Final ReleaseFebruary 8, 2022

    Testing

    If you’d like to dive in and help test this new release, our handy WooCommerce Beta Tester plugin allows you to switch between beta versions and release candidates. You can also download the release from WordPress.org.

    A set of testing instructions has been published on our Wiki page in GitHub. We’ve also posted a helpful writeup on beta testing to help get you started.

    If you discover any bugs during the testing process, please let us know by logging a report in GitHub.


  • We are pleased to announce the release of WooCommerce 6.1. This release should be backwards compatible with the previous version.

    This release contains:

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

    What’s new in 6.1?

    • WooCommerce Blocks: We’ve updated to the 6.5.1 version of the feature plugin. See the release posts for 6.4.0 and 6.5.0, and the changelog for 6.5.1 to see what’s new.
    • WooCommerce Admin: We’ve updated to the 3.0.3 version of the feature plugin. See the changelog to find out what’s new.
    • ActionScheduler: ActionScheduler has been updated to version 3.4.0. See the release post to see what’s new.

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

    Actions and Filters

    This release adds one action:

    ActionDescription
    woocommerce_page_wc-addons_connection_errorTriggered when there is an error with the connection to the woo.com marketplace.

    This release doesn’t add any filters.

    Database Changes

    There are no database changes in this release.

    Template Changes

    There are no template changes in this release.

    Deprecations

    The is_ajax function has been deprecated. The WordPress function wp_doing_ajax should be used instead.

    Much 💜 to all the contributors

    Finally a big thanks to everyone in the community who has contributed via issue reports, fixes, translation, testing, supporting other users, or simply spreading the word.

    WooCommerce core

    MrJnrman Luc45 roykho rrennick zhongruige jonathansadowski
    MrJnrman Luc45 roykho rrennick zhongruige jonathansadowski
    rodelgc lanej0 tjcafferkey ObliviousHarmony claudiosanches vedanshujain
    rodelgc lanej0 tjcafferkey ObliviousHarmony claudiosanches vedanshujain
    barryhughes sunyatasattva anitaa1990 jeffstieler louwie17 drjamesj
    barryhughes sunyatasattva anitaa1990 jeffstieler louwie17 drjamesj
    Aljullu Konamiman tammullen joelclimbsthings adrianduffell ilyasfoo
    Aljullu Konamiman tammullen joelclimbsthings adrianduffell ilyasfoo
    psealock
    psealock

    WooCommerce Admin

    chihsuan moon0326 louwie17 joshuatf octaedro joelclimbsthings
    chihsuan moon0326 louwie17 joshuatf octaedro joelclimbsthings
    jeffstieler NeosinneR ilyasfoo adrianduffell johnregan3
    jeffstieler NeosinneR ilyasfoo adrianduffell johnregan3

    WooCommerce Blocks

    ralucaStan mikejolley sunyatasattva gigitux Aljullu tjcafferkey
    ralucaStan mikejolley sunyatasattva gigitux Aljullu tjcafferkey
    opr dinhtungdu alexflorisca nielslange jonny-bull malithsen
    opr dinhtungdu alexflorisca nielslange jonny-bull malithsen

    Action Scheduler

    ovidiul barryhughes danielbitzer glagonikas Konamiman peterfabian
    ovidiul barryhughes danielbitzer glagonikas Konamiman peterfabian
    olegabr jeffstieler vedanshujain roykho jonathansadowski
    olegabr jeffstieler vedanshujain roykho jonathansadowski

  • A new version of WooCommerce Blocks has been released! Version 6.7.1 is now available for download from GitHub and WordPress.org.

    This is a patch release to fix the payment_data[0] [value] is not of type string.boolean error users were seeing in the Checkout block when trying to pay with their saved cards. This was a regression introduced in version 6.6.0.

    For more details checkout the Changelog below.

    Changelog

    Bug Fixes

    • Convert token to string when setting the active payment method. (5535)

  • It’s been a while since we bumped the minimum PHP version of WooCommerce to 7.0, and it is about time for a new bump. Starting with version 6.5, scheduled for release in May 2022, WooCommerce will require PHP 7.2 or newer to work.

    Why this change?

    The PHP ecosystem is evolving rapidly. At the time of writing this, the only actively maintained versions of PHP are 8.0 and 8.1; PHP 7.4 entered “security fixes only” mode and PHP 7.3 went unsupported as of December 2021. WordPress recommends at least PHP 7.4 for performance and security reasons, and these reasons are even more important on an e-commerce site.

    WooCommerce also depends on a number of third-party packages — and many of those are gradually dropping support for older PHP versions. This is already causing issues, as it’s increasingly hard to find packages that support all the range of PHP versions from 7.0 to 8.1.

    Why 7.2 specifically? This is the oldest version that still has a significant number of WooCommerce installs running according to our data:

    Note that of all the sites running on PHP 7.0 or 7.1, only about half seem to be actively maintained — that is, running a WooCommerce version that is at most six months old.

    What happens if I don’t upgrade?

    If your server is still on PHP 7.0 or 7.1 by the time WooCommerce 6.5 is published, your WooCommerce instance will continue working, but you won’t be able to upgrade past WooCommerce 6.4 (or any 6.4.x maintenance release published afterwards).

    We strongly recommend upgrading your servers to at least PHP 7.4 in order to keep your WooCommerce sites up to date, performant, and secure.


  • We’re excited to announce that the second release candidate for WooCommerce 6.1 is now available. We are currently on track for our planned January 11th release date.

    Changes

    Since the release of RC.1, the following changes have been made:

    • WooCommerce Admin has been updated from 3.0.0-RC1 to 3.0.1. The changelog is available here.
    • Support has been added for Gutenberg 12.1.0’s block template naming convention. (#31522)

    Testing

    If you’d like to dive in and help test this new release, our handy WooCommerce Beta Tester plugin allows you to switch between beta versions and release candidates. You can also download the release from WordPress.org.

    A set of testing instructions has been published on our Wiki page in GitHub. We’ve also posted a helpful writeup on beta testing to help get you started.

    If you discover any bugs during the testing process, please let us know by logging a report in GitHub.


  • A new version of WooCommerce Blocks has been released! Version 6.7.0 is now available for download from GitHub and WordPress.org.

    Full-Site Editing templates

    This release rolls out some fixes for the Block based Full-Site Editing templates, specifically one regarding custom templates and one around the template retrieving logic. It also adds Global Styles support for the Active Product Filters block.

    WooCommerce Blocks

    We fixed two bugs signalled to us by our users: blank fields in the Checkout block for logged in customers and a bug happening in the On Sale Products block when no variable products are present. The Checkout block now prevents a zero shipping price from being shown in the Checkout when no shipping methods are available.

    For more details please see the Changelog below:


    Changelog

    Bug Fixes

    • Fixed an issue where the checkout address fields would be blank for logged in customers. (5473)
    • Account for products without variations in the On Sale Products block. (5470)
    • Ensure that the translation of the “Proceed to Checkout” button is working. (5453)
    • Remove text decorations from product filtering blocks items. (5384)
    • Update the template retrieving logic to allow for older Gutenberg convention and newer one (`block-templates`/`block-template-parts` vs. `templates`/`parts`). (5455)
    • Fix custom templates with fallback to archive being incorrectly attributed to the user in the editor instead of the parent theme. (5447)

    Various

    • Added Global Styles (text color) to the Active Filters block. (5465)
    • Prevent a 0 value shipping price being shown in the Checkout if no shipping methods are available. (5444)

  • We’re excited to announce that the first release candidate for WooCommerce 6.1 is now available. We are currently on track for our planned January 11th release date.

    Changes

    Since the beta release, the following change has been made:

    Testing

    If you’d like to dive in and help test this new release, our handy WooCommerce Beta Tester plugin allows you to switch between beta versions and release candidates. You can also download the release from WordPress.org.

    A set of testing instructions has been published on our Wiki page in GitHub. We’ve also posted a helpful writeup on beta testing to help get you started.

    If you discover any bugs during the testing process, please let us know by logging a report in GitHub.


  • Beta 1 for the January 2022 release of WooCommerce is now available for testing! You can either download it directly from WordPress.org or install our WooCommerce Beta Tester Plugin.

    Highlights

    • WooCommerce Blocks: We’ve updated to the 6.5.0 version of the feature plugin. See the release posts for 6.4.0 and 6.5.0 to see what’s new.
    • WooCommerce Admin: We’ve updated to the 3.0.0-rc version of the feature plugin. See the changelog to find out what’s new.
    • ActionScheduler: ActionScheduler has been updated to version 3.4.0. See the release post to see what’s new.

    Filters and Actions

    This release adds one action:

    ActionDescription
    woocommerce_page_wc-addons_connection_errorTriggered when there is an error with the connection to the woo.com marketplace.

    This release doesn’t add any filters.

    Database Changes

    There are no database changes in this release.

    Template Changes

    There are no template changes in this release.

    Deprecations

    • The is_ajax function has been deprecated. The WordPress function wp_doing_ajax should be used instead.

    Release Schedule

    VersionRelease
    BetaDecember 21, 2021
    Release CandidateDecember 28, 2021
    Final ReleaseJanuary 11, 2022

    Testing

    If you’d like to dive in and help test this new release, our handy WooCommerce Beta Tester plugin allows you to switch between beta versions and release candidates. You can also download the release from WordPress.org.

    A set of testing instructions has been published on our Wiki page in GitHub. We’ve also posted a helpful writeup on beta testing to help get you started.

    If you discover any bugs during the testing process, please let us know by logging a report in GitHub.