Changelog

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

    Notable Changes

    We’ve refined the logic for loading the Interactivity API, ensuring seamless integration when WooCommerce Blocks is incorporated into the WooCommerce plugin.

    We fixed a bug affecting websites that were using block themes with checkout shortcodes and were switched to a blocks-based checkout template when updating via wp-cli.

    Changelog

    Bug Fixes


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

    Notable Changes

    We’ve refreshed the plugin page with a new banner and icon.

    Additionally, we’ve temporarily removed client-side navigation in the Products (Beta) block due to some minor concerns related to the Product Button not working as expected in some cases. Rest assured, we’ll reintroduce it shortly after addressing these concerns.

    Changelog

    Enhancements

    • Update WooCommerce Blocks brand assets (https://github.com/woocommerce/woocommerce-blocks/pull/10622)

    Bug Fixes

    • Fix “On sale” badge class (https://github.com/woocommerce/woocommerce-blocks/pull/10634)
    • Remove client-side navigation from Products beta block (https://github.com/woocommerce/woocommerce-blocks/pull/10636)

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

    Notable Changes

    Interactivity API Integration with Product Button

    We have integrated the Product Button with the Interactivity API, enhancing the shopping experience. These are the highlights:

    • Real-time Counter Update:
      Quantity changes in the mini-cart are immediately reflected on the Product Button.
    • Smoother Counter Animations:
      The counter in the Product Button updates with smoother animations.
    • Streamlined Visual Feedback:
      The Product Button smoothly transitions from ‘Add to Cart’ to ‘Loading’ status to show the quantity in the cart when a product is added, providing clear visual feedback.

    Known Issue: When the Products (Beta) block is loaded with the Classic Placeholder block, the Product Button doesn’t work as expected in the Classic Template block. Specifically, clicking the ‘Add to Cart’ button in the Classic Template Block results in a complete page refresh. This is not the expected behavior. We encourage users experiencing this issue to consider migrating from the Classic Placeholder block to the Products block. This block is designed to work smoothly with the Interactivity API and to ensure the Product Button functions correctly.

    Performance Enhancements for Checkout

    We spent some time tidying up the Store API performance, this resulted in a 100ms faster server response, or 25%-30% faster Cart/Checkout requests.

    We also changed how shipping selection works, and it is now visibly faster by 1000ms and feels immediate.

    We still have a lot of performance improvements planned and will share them as we release them.

    Changelog

    Enhancements

    • Add the wc-blocks-footer-pattern class identifier to all footer patterns. (#10542)
    • Add the wc-blocks-header-pattern class identifier to all header patterns. (#10541)
    • Featured Products: Fresh & Tasty pattern: Enhance mobile view and optimize images. (#10521)
    • Add placeholder images and update text styles for the Alternating Image and Text pattern. (#10479)
    • Performance: Selecting shipping rates during checkout, and API calls in general, are now faster. Shipping selection improved by at least 1 second. (#10472)
    • Prevent a conflict with 3rd party plugins caused by using the session class too early. (#10373)
    • Product Collection: Use Interactivity API for pagination. (#10361)
    • Products: Fix the before/after shop item hooks. (#10332)
    • Checkout: Prevent postcode validation error notice appearing after pushing changes for other fields. (#10315)
    • Product Button block: Integrate Interactivity API to make the block dynamically. (#10006)

    Bug Fixes

    • Fixed wcSettings inconsistent property naming style by converting all properties to camelCase. (#10439)
    • Fix Express Payments buttons display in the Cart block. (#10534)
    • Fixed a bug which caused theme border colors to not correctly show on the blocks on the editor side. (#10468)
    • Fix: Compatibility layer issue when the Products (Beta) block is the top level block. (#10455)
    • Products (Beta): Hooks are no longer fired around the empty content. (#10453)
    • Fix an issue where inner Cart blocks were incorrectly nested. (#10447)

  • WooCommerce 8.0.2 is now available for download.

    What’s new?

    • This release fixes an issue inadvertently introduced in 8.0.0 that caused the minimum length for attribute values to be three characters long. #39686

    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.


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

    Notable Changes

    We have improved how the stylesheet of the blocks are enqueued in classic themes.

    Changelog

    Bug Fixes

    • Create wc-all-block-styles chunk with all blocks stylesheet for classic themes. (10543)
    • Fix the “On Sale” badge position. (10550)

  • A critical issue that has been identified in WooCommerce version 8.0. As a result, we are releasing an update to 8.0 to ensure the stability and reliability of your WooCommerce-powered websites. Please read this advisory carefully for more information on how this affects you and the necessary steps to take.

    Issue Description:

    A bug affecting WooCommerce version 8.0 has been reported, impacting certain critical functionalities like the Onboarding Wizard (OBW) and Payments Menu. This bug arises from a protocol switch and could result in unexpected errors, including 404s on the status page.

    Version Update:

    To address this issue, we are releasing 8.0.1.

    Affected Versions:

    • WooCommerce 8.0.0

    Steps to Check if You’re Affected:

    • Check your WooCommerce version: Verify whether your website is running WooCommerce 8.0.0.
    • Test critical functionalities: If you’re using the Onboarding Wizard or the Payments Menu, test these features thoroughly to ensure they are working as expected.
    • Monitor for errors: Keep an eye out for any unexpected errors or 404s on the status page.

    Next Steps:

    • Upgrade to Version 8.0.1: If you’re currently using WooCommerce 8.0.0, it is recommended to upgrade to version 8.0.1.
    • Stay Informed: Follow our blog and Community Slack or updates on the resolution of this bug.


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

    Notable Changes

    We have enhanced the logic for caching the JavaScript assets of the WooCommerce Blocks: when your site URL changes, the plugin version changes, or when enabling/disabling HTTPS the script data cache will be refreshed. This patch ensures scripts load from the correct location.

    Changelog

    Bug Fixes

    • – Ensure cached script data is refreshed following a site URL change, version change, or when switching between the WooCommerce Blocks feature plugin and WooCommerce Core. (10278)

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

    Updated WordPress Minimum Version

    With today’s release of WordPress 6.3, we’ve updated the minimum version of WordPress required for WooCommerce to 6.2 in keeping with our L-1 policy.

    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 8.0.0?

    New WooCommerce Blocks Templates

    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.

    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

    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

    Actions and Filters

    This release adds one new action and no new filters.

    Action

    ActionDescription
    woocommerce_before_delete_orderFires immediately before an order is deleted from the database. (Note: this was added for the CPT data store). [Source]

    Database Changes

    This release has no database changes.

    Template Changes

    This release has no 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

    moon0326
    barryhughes
    ismaeldcom
    coreymckrill
    nima-karimi
    mahmoudsaeed
    joelclimbsthings
    elazzabi
    ecgan
    DAnn2012
    vladolaru
    opr
    samueljseay
    gigitux
    prettyboymp
    nielslange
    nigeljamesstevenson
    Abdalsalaam
    jonathansadowski
    ObliviousHarmony
    oaratovskyi
    tammullen
    nerrad
    octaedro
    chihsuan
    manooweb
    kmanijak
    SavPhill
    rrennick
    lsinger
    kidinov
    helgatheviking
    lanej0
    chrismccluskey
    rjchow
    tim-steele
    mattsherman
    louwie17
    martynmjones
    shendy-a8c
    Konamiman
    rodelgc
    nathanss
    psealock
    invalid-email-address
    alopezari
    danieldudzic
    mdperez86
    joshuatf
    mikejolley
    thilinah
    thealexandrelara
    vedanshujain

    WooCommerce Blocks

    hsingyuc
    DAnn2012
    hritikchaudhary
    danieldudzic
    masteradhoc
    DAreRodz
    invalid-email-address
    tjcafferkey
    thealexandrelara
    tarunvijwani
    nefeline
    gigitux
    roykho
    wavvves
    imanish003
    Aljullu
    dinhtungdu
    kmanijak
    albarin
    mikejolley
    danielwrobert
    nielslange
    Sidsector9
    opr
    multiplehats


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

    Notable Changes

    We’ve improved template detection to better align with the WooCommerce settings and enhanced migration reliability. Additionally, in response to Gutenberg updates, we’ve added safeguards to handle diverse return types from the getEditedPostType function, ensuring stability and preventing crashes.

    Changelog

    Bug Fixes

    • Classic Template block registration: Add defensive type handling. (10475)
    • Fixed an issue where modifications to the Cart/Checkout templates made in the site editor would not be visible on the front end. #10462

  • RC2 for the August 8 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 8.0.0-rc.1, the following changes have been made:

    • Fixed an issue where the toolbar button text didn’t appear in WordPress 6.3. #39572
    • Fixed an issue than didn’t allow selection of attributes by clicking on their name within the new product editor. #39574
    • WooCommerce Blocks has been updated to 10.6.4. #39582

    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 8.0.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 August 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.