Changelog

  • WooCommerce 7.9.0 was scheduled for release today, July 11, 2023. To allow for some additional testing and monitoring on our end we’ve decided to delay the release.

    We don’t currently anticipate this will be an extended delay. As always we’ll announce the release of WooCommerce 7.9.0 on this blog when it is released.


  • The latest version of WooCommerce Blocks, version 10.6.0, is now available for download on WordPress.org and GitHub.

    Notable Changes

    Cart, Checkout, and Order Confirmation templates are now available in the Site Editor for block themes! These templates enhance your editing experience for the checkout flow by enabling editing the entire page, including header/footer customization.

    The Cart, Checkout, and Order Confirmation templates shown in the template list in the site editor

    Also, with this release, we removed the word beta from the compatibility notice in the Cart and Checkout Blocks to show merchants that these blocks can be considered stable.

    Below you can see the before and after screenshots of the compatibility notice. The corresponding PR can be found at https://github.com/woocommerce/woocommerce-blocks/pull/10019.

    New settings added to the Mini-Cart

    We are adding three new settings to the Mini-Cart block, giving you more customization options and allowing merchants to personalize the color of the price, icon, and product count to match their preferences.

    A screenshot of the Mini Cart Block's inspector controls showing color controls for the Price, Icon, and Product count

    Image size settings added to the Product Image block

    The Product Image is receiving three new settings that allow merchants the width, height and scale for the product image.

    A screenshot of the Product Image Block's inspector controls showing the image size and scale controls

    Added product count setting for filter blocks

    We added a new setting that allow merchants to display or hide the product count for the following blocks: Filter by Attributes, Filter by Stock, and Filter by Rating.

    A screenshot of the Filter by Stock Block's inspector controls showing the "Display product count" control

    Introducing new banner patterns

    We introduced the following new banner patterns:

    Small discount banner with image pattern
    Product collection banner pattern
    Discount banner with image pattern
    Discount banner pattern
    Discount banner pattern

    Changelog

    Enhancements

    • Remove attributes data from saving in HTML for Active Filters block. (10047)
    • Remove attributes data from saving in HTML for Filter by Price block. (10039)
    • Product Image block: Add size settings to change the width, height, and scale. (10034)
    • Remove the word ‘beta’ from the compatibility notice. (10019)
    • Add new Discount banner with image pattern. (9957)
    • Add new Product collection banner pattern. (9953)
    • Add Small discount banner with image pattern. (9947)
    • Add the new Banner discount pattern. (9936)
    • Start using the Single Product block for the Hero Product pattern. (9935)
    • Shop by price pattern: Update titles and links to filter by price and rating. (9915)
    • Update Hero Product 3 Split pattern with opinionated button styling and margin adjustments. (9893)
    • Update header patterns to use the product search block instead of the WP core search block. (9890)
    • Hero Product – Split pattern: Add link to the shop page to the button. (9879)
    • Banner pattern: Update colors and improve spacing and centering in small screens. (9877)
    • Update Display product count option to default to false in Filter by Attributes, Filter by Stock and Filter by Rating blocks. (9833)
    • Only load styles required by the blocks rendered on the page. (9831)
    • Product Rating: Remove unnecessary Product Rating markup in case there are no real or mocked ratings present. (9822)
    • Consistent Pattern Titles. (9814)
    • Mini Cart: Add color settings for the Price, Icon, and Product Count. (9647)
    • Add new Cart, Checkout, Order Confirmation templates and Checkout Header template part to the Site Editor. (9301)

    Bug Fixes

    • Prevent prefetched Cart payload causing wrong values with cached Mini-Cart block. (10029)
    • Make filter by rating preview consistent with default settings. (10007)
    • Fix notice banner links for Legacy notices. (9996)
    • Add to Cart with Options block > Remove opinionated styles for the price list on grouped products. (9988)
    • Add loading and responsive image attribute to image element of Product Image block. (9984)
    • Single Product Template Compatibility Layer: Fix some blocks that don’t show on the frontend side in a specific case. (9982)
    • Fix: Single Product Block – Ensure the Product Summary and Title blocks are always rendered with the correct context independent of their position in the editor. (9968)
    • Ensure saved payment methods do not show if the payment gateway they belong to cannot be used to make payments for the current cart configuration. (9917)
    • Featured Products 5-item grid: Fix extra whitespace in small viewports. (9913)
    • Local Pickup – Only show collection address when set. (9808)
    • Remove unnecessary white space from Testimonials 3 Columns pattern. (9786)
    • Fix customer account block not able to center align. (9750)

  • RC 3 for the July 11 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.9.0-rc.2, the following changes have been made:

    • Fix “Used for variations” checkbox being disabled on Variable products #39106
    • FSE: Fix frontend stylesheets not being enqueued in the Site Editor #38769

    For the complete list, view the changelog in the readme for this release.

    Upcoming PHP Requirement Change

    While 7.9.0 continues to support PHP 7.3, we want to remind you of an announcement we made recently regarding the upcoming change that will require PHP 7.4 beginning with WooCommerce 8.2.0.

    If you’re currently using PHP 7.3, this release adds a dismissible notice reminding you of the upcoming change (#38604).

    Read our announcement post for full details.

    Release Schedule

    We’re on track for our planned June 11 release.

    VersionRelease
    Release CandidateJuly 4, 2023
    Final ReleaseJuly 11, 2023

    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.


  • RC 2 for the July 11 release of WooCommerce is now available for testing! You can either download it directly from WordPress.org or install our WooCommerce Beta Tester Plugin. There were a few issues found with RC.1 so we are directly releasing RC.2.

    Highlights

    Since the release of 7.9.0-beta.2, the following changes have been made:

    • Revert “Always show pricing group fields, disable if not available for a product type (#38531)” #38964
    • Fix upload-plugin spec by updating locator from core profiler #38914
    • Override Jetpack connection data endpoint when Jetpack is not installed #38987
    • Prefetch Jetpack connection and auth info #38929
    • Require wc-admin-functions into products tracking class #39030
    • Send $product_name through woocommerce_cart_item_name filter once #38999
    • Update WooCommerce Blocks to 10.4.5 #39048
    • Update CSS styles for core profiler headers #39059
    • Perform feature flag change and redirection in the same request #38833
    • Add Tracks event recording to Emails settings #38834

    For the complete list, view the changelog in the readme for this release.

    Upcoming PHP Requirement Change

    While 7.9.0 continues to support PHP 7.3, we want to remind you of an announcement we made recently regarding the upcoming change that will require PHP 7.4 beginning with WooCommerce 8.2.0.

    If you’re currently using PHP 7.3, this release adds a dismissible notice reminding you of the upcoming change (#38604).

    Read our announcement post for full details.

    Release Schedule

    We’re on track for our planned June 11 release.

    VersionRelease
    Release CandidateJuly 4, 2023
    Final ReleaseJuly 11, 2023

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

    What’s New?

    • Require wc-admin-functions into products tracking class #39030. Correct WooCommerce API failures due to missing class.

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

    What’s New?

    • Corrected an issue that caused a failure message to appear when product screen loading is interrupted by an unload. #38815
    • Address an issue with the product_type_options filter that could affect compatibility with some extensions. #38854
    • WooCommerce Blocks has been updated to 10.2.4 which adds back Filter by Blocks and addresses issues with their translations. #9954

    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 2 for the July 11 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.9.0-beta.1, the following changes have been made:

    • Address an issue with the product_type_options filter that could affect compatibility with some extensions. #38854
    • Add a redirect to the old product editor when the new product editor is used with an unsupported product type. #38745
    • Address a compatibility warning with the new product editor. #38835
    • Corrected an issue that caused a failure message to appear when product screen loading is interrupted by an unload. #38815
    • Fixed a bug that was redirecting back to the start of the Core Profiler when attempting to skip. #38861
    • Addressed some styling issues with the Core Profiler. #38872
    • Updated from WooCommerce Blocks 10.4.2 to 10.4.4 which includes the following:
      • Fix an issue where the Mini Cart Block always showed the price inclusive of tax, regardless of the settings. #9878
      • Fix an issue where the Product Block defaults to list view with Gutenberg 16. #9916
      • Fix an issue with translations in the Filter by Attribute, Filter by Price, and Filter by Stock Blocks. #9954

    For the complete list, view the changelog in the readme for this release.

    Actions and Filters

    There have not been any new actions or filters added since Beta.1. For the actions and filters added in Beta.1, see the 7.9.0-beta.1 release post.

    Database Changes

    This release has no database changes.

    Template Changes

    This release has no template changes.

    Release Schedule

    We’re on track for our planned June 13 release.

    VersionRelease
    Release CandidateJuly 4, 2023
    Final ReleaseJuly 11, 2023

    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.


  • The latest version of WooCommerce Blocks, version 10.5.0, is now available for download on WordPress.org and GitHub.

    Notable Changes

    Mini Cart: Alternative Icon

    The Mini Cart now has a new setting to select alternative icons:

    Pattern Images Optimization

    We optimized the images used in patterns, reducing the file sizes considerably.

    Performance Optimization

    We added caching to asset src, dependencies, and file version lookups to prevent the same data from being requested on each page load. This has a significant positive impact on page load performance. You can read more about it in the related PR.

    Changelog

    Enhancements

    • Allow Customer Account Block to be found with keyword “My Account”. (9815)
    • Mini Cart: Add an alternative icon setting. (9570)
    • Improved the performance of loading frontend assets through the use of caching. (9120)
    • Add additional optimization to the Pattern images. (9803)

    Bug Fixes

    • Fix error when adding the Reviews by Category block to a store without any product reviews. (9868)
    • Mini Cart block: Fix icon render in the widget selector. (9828)
    • WooCommerce Product Filters pattern: Improve the preview of the Filter by Attribute block. (9812)
    • Ensure the “Change Address” button is visible in the cart even if local pickup is selected. (9809)
    • Fix capitalization in Product Collections: Newest Arrivals pattern. (9777)
    • Add RTL preview support for mini-cart. (9756)
    • Fix mini cart icon not displaying correctly in RTL sites. (9707)
    • Prevent Mini-Cart drawer to show horizontal scrollbar if the system has visible scrollbars. (9676)
    • All Reviews block: Fix error when adding the block to a store without reviews. (9869)
    • Products block: fix compatibility with Gutenberg 16. (9878)

  • Beta 1 for the July 11 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.8.0, the following changes have been made:

    • WooCommerce Blocks has been updated to 10.4.2, for a list of changes includes, see the release posts for 10.3.0, 10.4.0, and 10.4.2.
    • Action Scheduler has been updated to 3.6.1.

    For the complete list, view the changelog in the readme for this release.

    Upcoming PHP Requirement Change

    While 7.9.0 continues to support PHP 7.3, we want to remind you of an announcement we made recently regarding the upcoming change that will require PHP 7.4 beginning with WooCommerce 8.2.0.

    If you’re currently using PHP 7.3, this release adds a dismissible notice reminding you of the upcoming change (#38604).

    Read our announcement post for full details.

    Actions and Filters

    This release adds one new action and one new filter.

    Action

    ActionDescription
    woocommerce_admin_order_data_after_payment_infoHook allowing extenders to render custom content within the Order details box.

    This allows urgent notices or other important order-related info to be displayed upfront in the order page. Example: display a notice if the order is disputed. [Source]

    Filter

    FilterDescription
    woocommerce_general_pricing_disabled_messageAllow developers to change the general pricing message. [Source]

    Database Changes

    This release has no database changes.

    Template Changes

    This release has no template changes.

    Release Schedule

    We’re on track for our planned June 13 release.

    VersionRelease
    Release CandidateJuly 4, 2023
    Final ReleaseJuly 11, 2023

    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 7.8.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.

    Upcoming PHP Requirement Change

    This release continues to support PHP version 7.3. We recently announced our plan to end support for PHP 7.3, beginning with the release of WooCommerce 8.2.0, scheduled for release in October of 2023. Read our announcement post for full details.

    What’s new in 7.8.0?

    Theme-level Global styles for Cart and Checkout blocks

    If you’re using a block based theme on your store that supports global styles, you can now use these to apply design changes to your Cart and Checkout.

    Head over to the site editor (Appearance > Editor), use the navigation menu to navigate to the Cart or Checkout page on your store and click the page — you can then toggle open the styles sidebar:

    Any changes made to the Typography and Colors sections will now be respected by the Cart and Checkout Blocks:

    Other global styles, such as buttons, are also respected by the cart and checkout blocks now also, for example the checkout place order button:

    Filter by Attribute product counter revamped

    Long awaited improvement of the product counter in the Filter by Attribute block. Since 10.1.0 Filter by Attribute dynamically shows the product counts that are currently displayed based on the whole set of filters on a page.

    You can check out the video below to see the new Filter by Attribute counters in action along with Products blocks:

    New patterns

    We prepared multiple patterns that are available in this release. Here’s a preview of a couple of them:

    Hero Product – Split
    Hero Product 3 Split
    Featured Category Triple

    But there’s more! The full list can be found in the Changelog.

    Products block improvements

    We have now added the Pick Some Products advance filter to Products block. This filter allows the merchant to narrow down the exact products to which all subsequent filters will be applied, mirroring the functionality of the existing “Hand-picked Products” plus all the other functionalities available from the “Products (Beta)” block. Here is a quick demo:

    Also, We have added consistent spacing between product elements within the Products block to provide an improved default user interface.

    Mini Cart performance improvement

    The Mini Cart drawer will now open instantly. Previously, there may have been a slight delay if the shopper clicked the button immediately after the page loaded and the network was slow

    Developer Notes

    The Cart Fragments script, responsible for updating the cart widget after a successful add to cart event, can cause a performance issue on stores not making use of that functionality. To mitigate this, the script will now only be enqueued if using the Mini Cart widget.

    Stores with similar functionality (e.g. from a theme) that are not using the widget can re-enable this functionality by either adding the widget to one of their widget areas/sidebars, or by enqueuing the script manually:

    wp_enqueue_script( 'wc-cart-fragments' );

    If you’re looking for an alternative to the Mini Cart widget that does not suffer from the performance issue, try the Mini Cart Block instead.

    Actions and Filters

    This release adds 1 new action and 2 new filters.

    Action

    ActionDescription
    woocommerce_remove_order_itemsTrigger action before removing all order line items. Allows you to track order items. [source]

    Filters

    FilterDescription
    woocommerce_product_add_to_cart_aria_describedbyFilter the aria-describedby description for the add to cart button. [source]
    woocommerce_suggest_jetpackWhen false, Jetpack is removed from the list of suggested extensions. [source]

    Database Changes

    This release has no database changes.

    Template Changes

    This release updates 13 templates

    Template FileGitHub Links
    /templates/cart/cart.php#36868 #37830
    /templates/cart/mini-cart.php#37830
    /templates/checkout/form-pay.php#37514
    /templates/checkout/payment.php#37514
    /templates/global/quantity-input.php#37811
    /templates/loop/no-products-found.php#37514
    /templates/myaccount/downloads.php#37514
    #37933
    /templates/myaccount/form-add-payment-method.php#37514
    /templates/myaccount/orders.php#37514
    #37933
    /templates/myaccount/payment-methods.php#37514
    /templates/order/order-again.php#37933
    /templates/order/order-details.php#37514
    /templates/single-product/product-image.php#37853

    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

    akshaya-rane
    ObliviousHarmony
    faisal-alvi
    adrianduffell
    louwie17
    tomalec
    elazzabi
    om4james
    joelclimbsthings
    lanej0
    ravinderk
    jorgeatorres
    aezazs-multidots
    gigitux
    alexiglesias31
    rodelgc
    TarekNabil
    alopezari
    kmanijak
    nielslange
    menakas
    MrJnrman
    nigeljamesstevenson
    psealock
    tyler-paulson
    barryhughes
    opr
    octaedro
    denho
    jeffpaul
    rjchow
    wcstaley
    nathanss
    joshuatf
    ilyasfoo
    mikejolley
    coreymckrill
    Aljullu
    samueljseay
    chihsuan
    cyberwani
    Benunc
    mujuonly
    shadimanna
    Sidsector9
    AashikP
    jonathansadowski
    xristos3490
    Abdalsalaam
    mattsherman
    ashwinparthasarathi
    kshojib
    rrennick
    lsinger
    om4csaba
    dkotter
    EmranAhmed
    jsnajdr
    Konamiman
    thealexandrelara
    minaldiwan
    iyut
    prettyboymp
    vedanshujain
    moon0326
    alishanvr
    bartech
    mdperez86
    peterfabian
    ecgan
    rcstr

    WooCommerce Blocks

    Aljullu
    iamdharmesh
    tjcafferkey
    dnusca
    invalid-email-address
    mikejolley
    wavvves
    senadir
    thealexandrelara
    nefeline
    sunyatasattva
    creative-andrew
    nielslange
    tarunvijwani
    nerrad
    danielwrobert
    leonardola
    imanish003
    szepeviktor
    Sidsector9
    albarin
    roykho
    gigitux
    kmanijak
    kirtangajjar
    opr