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

    In this release we focused on a lot of internal changes and bug fixes. Some highlights include the following:

    Cart & Checkout Integration

    As a highlight for developers, we made a few changes to the way you integrate with the Cart & Checkout blocks.

    WP Data Stores

    We moved a lot of the data related to the Checkout process into wp/data stores, which can now be accessed by other plugins to allow more flexibility and creativity when interacting with the Checkout Block. You can read more about these and how to do that here

    New filters

    We added a new filter for changing the text of the “Place Order” button on the Checkout Block

    const { __experimentalRegisterCheckoutFilters } = window.wc.blocksCheckout;
    __experimentalRegisterCheckoutFilters( 'custom-place-order-button-label', {
    	placeOrderButtonLabel: label,
    } );

    We also added a filter for disabling the ability to remove items from the Cart Block

    const { __experimentalRegisterCheckoutFilters } = window.wc.blocksCheckout;
    
    __experimentalRegisterCheckoutFilters('some-extension-name', {
    		showRemoveItemLink: (value, extensions, { cartItem }) => {
    			return cartItem.name !== 'Beanie';
    		},
    	});
    

    Styling filter blocks is now easier

    Previously, filter blocks were regular blocks containing a title and filter controls. Those blocks only had a styling option for the title. Also, we can’t style the filter controls without increasing the complexity of the block settings.

    Because of those limitations, we upgraded filter blocks to use inner blocks. Each filter block now contains two inner blocks: a core heading block and the filter controls block. The new structures allow merchants to style individual inner blocks, which makes the filter blocks more versatile and easier to customize. In addition, using the core heading block also unlocks many possibilities and functionalities for free.

    Changelog

    Enhancements

    • Improve visual consistency between block links. (7340)
    • Update the titles of some inner blocks of the Cart block and remove the lock of the Cross-Sells parent block. (7232)
    • Add filter for place order button label. (7154)
    • Exposed data related to the checkout through wordpress/data stores. (6612)
    • Add simple, large & two menus footer patterns. (7306)
    • Add minimal, large, and essential header patterns. (7292)
    • Add showRemoveItemLink as a new checkout filter to allow extensions to toggle the visibility of the Remove item button under each cart line item. (7242)
    • Add support for a GT tracking ID for Google Analytics. (7213)
    • Separate filter titles and filter controls by converting filter blocks to use Inner Blocks. (6978)
    • StoreApi requests will return a Cart-Token header that can be used to retrieve the cart from the corresponding session via GET /wc/store/v1/cart. (5953)

    Bug Fixes

    • Fixed HTML rendering in the description of active payment integrations. (7313)
    • Hide the shipping address form from the Checkout when the “Force shipping to the customer billing address” is enabled. (7268)
    • Fixed an error where adding new pages would cause an infinite loop and large amounts of memory used in redux. (7256)
    • Ensure error messages containing HTML are shown correctly in the Cart and Checkout blocks. (7231)
    • Prevent locked inner blocks from sometimes displaying twice. (6676)
    • StoreApi /checkout endpoint now returns HTTP 402 instead of HTTP 400 when a payment fails. (7273)
    • Fix a problem that causes an infinite loop when inserting Cart block in wordpress.com. (7367)

  • We are pleased to announce the release of WooCommerce 7.0. 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 7.0?

    WooCommerce Blocks

    WooCommerce Filter UI Updates

    As part of our objective to provide a seamless out-of-the-box experience with product filters, we have updated the existing filter block UI for a cleaner look and feel and have added a new “Reset” feature for each filter.

    Product Search is now a variation of the WordPress core Search block

    Given the power that Gutenberg block variations offer, we have refactored the Product Search block to be a variation of the WordPress core Search block. That means you have many more customization options now: hiding the label/button, modifying their text, changing the styles, etc.

    In order to have the new Product Search available, you will need to have Gutenberg installed. This will also work with the next version of WordPress (6.1).

    You can easily update existing instances of the Product Search block to this new block variation from the editor.

    Cart & Checkout Blocks: Make the current page into the default cart/checkout pages notice

    We’ve created a notice that, without leaving the current page, changes it to the default cart or checkout page.

    Mobile App “Magic Link”: It’s now easier to sign-in into the mobile app. From the Help toolbar menu in WooCommerce > Home, click “Get the WooCommerce app” and follow the prompts to send a magic link to the email account on your device.

    Multichannel Marketing Experience (Beta)

    We are developing a new multichannel marketing experience in WooCommerce. The Marketing page has gone through a UI revamp which will display recommended marketing extensions organized by categories.

    To start using this new experience, head over to WooCommerce Settings > Advanced > Features page, and check the “Marketing” checkbox.

    More features will be added to this new Multichannel Marketing experience. Stay tuned.

    Actions and Filters

    This release doesn’t add any actions.

    FilterDescription
    woocommerce_product_reviews_list_table_prepare_items_argsProvides an opportunity to alter the comment query arguments used withinthe product reviews admin list table.
    woocommerce_cot_shop_order_search_resultsProvides an opportunity to modify the list of order IDs obtained during an order search. This hook is used for Custom Order Table queries. For Custom Post Type order searches, the corresponding hookis `woocommerce_shop_order_search_results`.

    Database Changes

    Schema
    Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore->get_database_schema
    Database
    wc_update_700_remove_download_log_fk

    Template Changes

    Template Name
    /plugins/woocommerce/templates/emails/email-mobile-messaging.php
    /plugins/woocommerce/templates/global/form-login.php
    /plugins/woocommerce/templates/loop/no-products-found.php

    Deprecations

    There are no deprecations in this release.

    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

    bgrgicak
    nima-karimi
    tjcafferkey
    ilyasfoo
    Konamiman
    Aljullu
    mdperez86
    AnnaMag
    colorful-tones
    coreymckrill
    aezazs-multidots
    rjchow
    iamdharmesh
    jonathansadowski
    roykho
    gigitux
    jorgeatorres
    susameca
    masteradhoc
    samueljseay
    danielwrobert
    mattsherman
    psealock
    vedanshujain
    helgatheviking
    tarunvijwani
    joelclimbsthings
    octaedro
    barryhughes
    daniyalahmadk
    rcstr
    ObliviousHarmony
    moon0326
    peterfabian
    ecgan
    tomalec
    wzieba
    Sidsector9
    chihsuan
    tammullen
    joshuatf
    louwie17
    Timstreep
    rawdreeg
    MrJnrman

    WooCommerce Blocks

    dinhtungdu
    danielwrobert
    gigitux
    senadir
    alexflorisca
    tarunvijwani
    tarhi-saad
    sunyatasattva
    Aljullu
    tomasztunik
    opr
    albarin
    tjcafferkey
    nielslange
    wavvves

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

    Changes

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

    • Fix the wc pay view logic so that we don’t display it even when payment task is completed. (#34892)
    • Fix: can’t place orders for Saint Martin (French part). (#34920)
    • Correct the textarea name in the Product Short Description template.(#34936)

    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’re excited to announce that the first release candidate for WooCommerce 7.0 is now available. We are currently on track for our planned October 11th release date.

    Changes

    Since the beta.3 release, the following changes have been made:

    • Add a header for the store details task item. (#34712)

    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 3 for the October 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

    • Fix failing to update onboarding profile data for PHP 8. (#34832)

    The complete list of changes, tweaks, fixes, and improvements included in this release can be viewed in the readme.txt for the release.

    Actions and Filters

    This release doesn’t add any actions.

    FilterDescription
    woocommerce_product_reviews_list_table_prepare_items_argsProvides an opportunity to alter the comment query arguments used withinthe product reviews admin list table.
    woocommerce_cot_shop_order_search_resultsProvides an opportunity to modify the list of order IDs obtained during an order search. This hook is used for Custom Order Table queries. For Custom Post Type order searches, the corresponding hookis `woocommerce_shop_order_search_results`.

    Database Changes

    Schema
    Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore->get_database_schema
    Database
    wc_update_700_remove_download_log_fk

    Template Changes

    Template Name
    /plugins/woocommerce/templates/emails/email-mobile-messaging.php
    /plugins/woocommerce/templates/global/form-login.php
    /plugins/woocommerce/templates/loop/no-products-found.php

    Deprecations

    There are no deprecations in this release.

    Release Schedule

    VersionRelease
    Release CandidateOctober 4th, 2022
    Final ReleaseOctober 11th, 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.


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

    In this release, we introduce the Cross-Sells Products block! Ever wanted to cross-sell related products right from the Cart block? Now you can!

    Go to your products data and add “Cross-sells” products in the 🔗 Linked Products section.

    When your customers go to their cart, if they have already selected any item featuring cross-selling products, these will show up right there, ready to purchase!

    You can show up to two rows of 3 products. Please try out this new block and let us know what you think!

    On top of that, we are continuing to work on bug fixes, UX improvements for both merchants and developers and ensuring better and better compatibility with WooPay.

    Changelog

    Enhancements

    • Create Cross-Sells product list for showing the Cross-Sells products on the Cart block. (6645)

    Bug Fixes

    • Fix a bug with the product details block. (7191)
    • Fix: Ensure that the Express Payment block is not cut off when selecting the Checkout block in the editor. (7152)
    • Make chevron clickable in Filter by Product block input. (7139)
    • Fix: Inner blocks control position for Cart Block. (6973)
    • Enabled HTML rendering within notices for checkout. (6800)
    • Fix: Render HTML elements on Cart and Checkout blocks when using the woocommerce_shipping_package_name filter. (7147)

    Technical debt

    • Remove unused CSS selectors from Filter blocks. (7150)

    Compatibility

    • WooPay: fixed a compatibility issue with some error messages shown by WooPay. (7145)
    • WooPay: Fixed an issue with WooPay which would display tax totals on multiple lines even when configured otherwise. (7084)

  • Beta 2 for the October 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

    • Only show the product image upload tip once, and on all product edit pages. (#34739)
    • Remove typecasting to prevent fatal when $screen_id is null. (#34734)
    • Bumped WooCommerce Blocks to 8.5.1 which ensure that scripts are loaded using absolute URLs to prevent loading issues with subfolder installs. (#7211)

    Note that the first two highlight changes were already included in the public 6.9.3 release but was not in 7.0 beta.1. Thus this beta 2 release includes them.

    The complete list of changes, tweaks, fixes, and improvements included in this release can be viewed in the readme.txt for the release.

    Actions and Filters

    This release doesn’t add any actions.

    FilterDescription
    woocommerce_product_reviews_list_table_prepare_items_argsProvides an opportunity to alter the comment query arguments used withinthe product reviews admin list table.
    woocommerce_cot_shop_order_search_resultsProvides an opportunity to modify the list of order IDs obtained during an order search. This hook is used for Custom Order Table queries. For Custom Post Type order searches, the corresponding hookis `woocommerce_shop_order_search_results`.

    Database Changes

    Schema
    Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore->get_database_schema
    Database
    wc_update_700_remove_download_log_fk

    Template Changes

    Template Name
    /plugins/woocommerce/templates/emails/email-mobile-messaging.php
    /plugins/woocommerce/templates/global/form-login.php
    /plugins/woocommerce/templates/loop/no-products-found.php

    Deprecations

    There are no deprecations in this release.

    Release Schedule

    VersionRelease
    Release CandidateOctober 4th, 2022
    Final ReleaseOctober 11th, 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.


  • WooCommerce 6.9.4 is available for download.

    What’s New?

    • Bumped WooCommerce Blocks to 8.3.3 which ensure that scripts are loaded using absolute URLs to prevent loading issues with subfolder installs. (#7211)

    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.


  • WooCommerce 6.9.3 is available for download.

    What’s New?

    • Fixed an issue where under the product image, there was a display of a tip that repeated in certain situation (#34739)
    • Fixed an issue where admin screen crashes with critical error when using PHP 8.1.(#34734)

    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.


  • Beta 1 for the October 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.

    Changelog

    You can view a log of all of the changes in this release here.

    Actions and Filters

    This release doesn’t add any actions.

    FilterDescription
    woocommerce_product_reviews_list_table_prepare_items_argsProvides an opportunity to alter the comment query arguments used withinthe product reviews admin list table.
    woocommerce_cot_shop_order_search_resultsProvides an opportunity to modify the list of order IDs obtained during an order search. This hook is used for Custom Order Table queries. For Custom Post Type order searches, the corresponding hookis `woocommerce_shop_order_search_results`.

    Database Changes

    Schema
    Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore->get_database_schema
    Database
    wc_update_700_remove_download_log_fk

    Template Changes

    Template Name
    /plugins/woocommerce/templates/emails/email-mobile-messaging.php
    /plugins/woocommerce/templates/global/form-login.php
    /plugins/woocommerce/templates/loop/no-products-found.php

    Deprecations

    There are no deprecations in this release.

    Release Schedule

    VersionRelease
    BetaSeptember 20th, 2022
    Release CandidateOctober 4th, 2022
    Final ReleaseOctober 11th, 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.