Changelog

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

    This release contains bug fixes and enhancements, including the option to customize the Products by Attribute template from the Site Editor and improving product blocks performance by removing cart fragments support. In addition, multiple validation errors can now be cleared in a single action, which reduces the number of actions dispatched onto the store.

    Changelog

    Bug Fixes

    • Fix skewed placeholder of a Product Image block. (7651)
    • Fix missing translations in the inspector (editor mode) for the Cart Cross-Sells Blocks. (7616)

    Enhancements

    • Move paymentResult to the payment store. (7692)
    • Add the Products by Attribute template. (7660)
    • Make loading placeholder colors match the current font color for the theme. (7658)
    • Remove cart fragments support to improve performance in product blocks. (7644)
    • Add a clearValidationErrors action to the wc/store/validation data store. (7601)
    • Add ValidatedTextInput and ValidationInputError to the @woocommerce/blocks-checkout package. (7583)
    • Convert product-elements/image to TypeScript. (7572)
    • Add StoreNoticesContainer to the @woocommerce/blocks-checkout package. (7558)
    • Convert product-elements/price to TypeScript. (7534)
    • Adds the option of providing a custom class for the product details on the Cart Block. (7328)

    Various

    • Change action type name for use shipping as billing option. (7695)

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

    Since the release of 7.1, the following changes have been made:

    This release introduces a guided tour of the WooCommerce In-App Marketplace located in WP-Admin > WooCommerce > Extensions

    7.2 beta 1 also includes several other fixes, tweaks, and enhancements. For the complete list, view the changelog in the readme for this release.

    Actions and Filters

    This release adds 3 new actions.

    ActionDescription
    woocommerce_json_search_found_customersFilter to customize the display of the currently selected customer for an order in the order edit page.This is the same filter used in the ajax call for customer search in the same metabox.. [Source]
    woocommerce_get_customer_payment_tokens_limitControls the maximum number of Payment Methods that will be listed via the My Account page. [Source]
    woocommerce_before_quantity_input_fieldHook to output something before the quantity input field. [Source]

    Database Changes

    This release does not contain any database changes.

    Template Changes

    Template Name
    /plugins/woocommerce/templates/cart/cart.php
    /plugins/woocommerce/templates/global/form-login.php
    /plugins/woocommerce/templates/global/quantity-input.php

    Release Schedule

    We’re still on track for our planned December 13 release.

    VersionRelease
    Release CandidateDecember 6th, 2022
    Final ReleaseDecember 13th, 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.9.1 is now available for download from GitHub and WordPress.org.

    This is a patch release that addresses the following:

    Bug fixes

    • Display correct block template when filtering by attribute. (7640)

  • WooCommerce 7.1.0 was released this past Tuesday, November 8. The release package included an inadvertent change that bumped the required PHP version to PHP 7.4. In the past, we’ve communicated in advance whenever we’ve modified the PHP requirement for WooCommerce, and it is our intention to continue doing so moving forward.

    We’ve updated the package, which can be downloaded directly from WordPress.org, to correct this issue. If you’re running PHP 7.2 or PHP 7.3, the updated package is now compatible with your PHP version.

    If you’re running PHP 7.4 or newer, no action is required on your part.

    While we’re currently continuing to support PHP 7.2 and up, we strongly urge you use PHP 8.0 or newer. PHP 7.4, while still receiving security updates, will only receive security support through November 28.


  • We are pleased to announce the release of WooCommerce 7.1. This release should be backward 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.1?

    Spotlight tour for products task

    The new product spotlight tour intends to help new store owners to create their products in a guided way. It filters out distractions and includes helpful texts to describe essential fields within the product form.

    You can try out the new spotlight tour by going to WooCommerce > Home and then Add products > Start with a template from the setup task list. Select any template, and then click on Go.

    WooCommerce Blocks

    New Block Patterns

    WooCommerce Blocks now come with 6 new header and footer patterns each. You can view the new patterns here:

    Woo Minimal Header | Dark
    Woo Footer with 2 Menus | Dark

    Filter for place order button label

    The Place Order button either shows Place Order or the payment method label, e.g. Proceed to PayPal. However, a merchant couldn’t change the button label. A merchant can now change the label using a JavaScript snippet.

    Snippet
    const label = () => 'Pay now';
    
    const { __experimentalRegisterCheckoutFilters } = window.wc.blocksCheckout;
    __experimentalRegisterCheckoutFilters( 'custom-place-order-button-label', {
    	placeOrderButtonLabel: label,
    } );
    Checkout Button

    Cross-Sells on Cart Block

    Go to your product’s 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!

    New @wordpress/data stores

    Much of the data previously kept in React Contexts was moved into WordPress data stores (@wordpress/data) to make it easier for third-party extensions to extend the functionality of the Cart and Checkout blocks. All changes are backward compatible, further information about this feature is available here.

    Actions and Filters

    This release adds two new actions and one new filter.

    Actions

    ActionDescription
    woocommerce_before_delete_orderFires immediately before an order is deleted from the database. [Source]
    woocommerce_before_trash_orderFires immediately before an order is trashed. [Source]

    Filter

    FilterDescription
    woocommerce_feature_description_tipAllows customizing the message that appears under the description of each feature on the features settings page. [Source]

    Database Changes

    This release introduces High Performance Order Storage behind a feature flag, but it remains disabled by default. There are no database changes in this release if you do not enable HPOS.

    For a complete overview of High Performance Order Storage, take a look at the posts we’ve previously made, such as this post with frequently asked questions, or this one that addresses backward compatibility.

    Template Changes

    This release does not contain any template changes.

    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

    nima-karimi
    roykho
    MrJnrman
    ismaeldcom
    mattsherman
    peterfabian
    aheckler
    vedanshujain
    coreymckrill
    gigitux
    wzieba
    barryhughes
    louwie17
    nigeljamesstevenson
    tammullen
    octaedro
    igorskyflyer
    samueljseay
    lanej0
    rodelgc
    budzanowski
    mdperez86
    wavvves
    jonathansadowski
    Konamiman
    chihsuan
    ecgan
    joshuatf
    alopezari
    rjchow
    oaratovskyi
    peterbialkowski
    xristos3490
    jorgeatorres
    zhongruige
    psealock
    joelclimbsthings

    WooCommerce Blocks

    senadir
    danielwrobert
    beaulebens
    mikkamp
    albarin
    danieldudzic
    alexflorisca
    imanish003
    mikejolley
    gigitux
    Aljullu
    dinhtungdu
    hsingyuc
    thealexandrelara
    tjcafferkey
    sunyatasattva
    tarhi-saad
    wavvves
    nielslange
    opr
    ralucaStan
    tarunvijwani

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

    This release contains both bug fixes and enhancements, including the possibility of enabling and configuring Rate Limiting for Store API endpoints. This feature is disabled by default and supports basic proxy configurations. Documentation on how to use it can be found here.

    Changelog

    Enhancements

    • Improve the appearance of the Express Payment Block. (7465)
    • Add Stock Status setting to Product Query Block. (7397)
    • Improve performance for get_store_pages method. (6898)
    • Adding rate limiting functionality to Store API endpoints. (5962)

    Bug fixes

    • Fix margins from Product Selector description on Filter Products by Attribute block. (7552)
    • Fix the text color for the header and footer WooCommerce patterns. (7524)
    • Product button: Fix ‘In cart’ button localization. (7504)
    • Fix: Restore transform functionality for filter widgets. (7401)
    • Developers: Fixed an issue where the project would not build on Windows machines. (6798)
    • Active Product Filters: Fix active filter grouping for Product Ratings and Stock Statuses (7577)

  • The second Release Candidate for the November 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

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

    • WooCommerce Blocks has been updated to version 8.7.5 to improve support for WordPress 6.1 and the Twenty Twenty-Three theme.
    • Several fixes and improvements to High Performance Order Storage. #35118 #35349  #35366 #35333 #35402
    • A fix to onboarding when the Gutenberg plugin is active. #35448

    Release Schedule

    We’re still on track for our planned November 8 release.

    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.


  • Release Candidate for the November 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

    Since the release of Beta 2, the following changes have been made:

    • Support for the Twenty Twenty-Three theme. #35306
    • A fix for High Performance Order Storage when get_current_screen() is undefined. #35371

    Release Schedule

    We’re still on track for our planned November 8 release.

    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 7.0.1 is available for download.

    What’s New?

    • With WordPress 6.1 just around the corner which introduces the new TT3 (Twenty Twenty-Three) theme, we’ve added compatibility changes to this release so that everything will look nice with that theme. (#35306)
    • Simplify and reduce size of payload supplied by the woocommerce_get_customer_details ajax endpoint which addresses a security concern relating to handling of user information that is exploitable by shop managers and above. Thanks for highlighting this David Anderson.
    • Updated WooCommerce Blocks to version 8.5.2 which includes compatibility with TT3 (Twenty Twenty-Three) theme. (#35423)

    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 8.8.2 is now available for download from GitHub and WordPress.org.

    In this minor release, we focused on improving the way blocks integrate with block themes and dark backgrounds!

    Filter by Price block

    The price slider looks better on dark themes:

    Before
    After

    Also, we improved the price slider ‘inactive’ range:

    Before
    After

    Filter by Attribute block

    The dropdown is legible on dark backgrounds:

    Before
    After

    Mini Cart block

    The Mini Cart drawer uses the background color of the body element as the default background color:

    Before
    After

    Changelog

    Enhancements

    • Fix Mini Cart Global Styles. 7515
    • Fix inconsistent button styling with TT3. (7516)
    • Make the Filter by Price block range color dependent of the theme color. 7525
    • Filter by Price block: fix price slider visibility on dark themes. 7527
    • Update the Mini Cart block drawer to honor the theme’s background. 7510
    • Add white background to Filter by Attribute block dropdown so text is legible in dark backgrounds. 7506