• Beta 2 for the April 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.6.0 beta 1, the following changes have been made:

    • Update WooCommerce Blocks to 9.8.4, which includes the following changes:
      • Fix an issue where extensions were unable to programatically set the shipping address during payment processing.
      • Fix border styles not visible in the editor in Featured Product and Featured Category blocks.
      • Fix “Save changes” default behavior bug in the Firefox browser.
      • Fix unlinked border widths not being applied correctly in the frontend in WordPress 6.2 for some blocks.
    • Fix a HPOS caching issue that was introduced in WooCommerce 7.6.0 Beta 1.
    • Fix a HPOS synchronization issue that could reset meta data to a previous state.
    • Fix an issue that kept the onboarding wizard from launching after installation.
    • Fix a fatal error when running the wc_admin_daily cronjob.
    • Declare compatibility with WordPress 6.0 through 6.2.

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

    Actions and Filters

    No changes introduced.

    Database Changes

    No changes introduced.

    Template Changes

    No changes introduced.

    Release Schedule

    We’re still on track for our planned April 11 release.

    VersionRelease
    Release Candidate April 4, 2023
    Final Release April 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 Blocks 9.8.2 is now available for download, this is a fix release that follows 9.8.1, which we released last week.

    These are the changes included:

    WC Blocks 9.8.1

    Bug Fixes

    • Fix Single Product page not visible in block themes that provided a custom template. (8758)
    • Products by Attributes: Fix the block rendered empty in the Editor. (8759)
    • Fix the local pickup price in the shipping type selector and pickup options. (8623)

    WC Blocks 9.8.2

    Enhancements

    • Display the link to add the shipping address when the shipping address is not available. (8141)

    Bug Fixes

    • Fix Customer Account block doing a 404 request in the frontend. (8798)
    • Fix issue that prevented spaces being added to Mini Cart, Cart and Checkout buttons in Firefox. (8777)

  • WooCommerce 7.5.1 is now available for download.

    What’s new?

    • We’ve addressed an issue where during upgrade, dbDelta may have caused an unnecessary ALTER to be executed. #37277
    • We’ve fixed an issue with variable product quantity selectors. #36871
    • This release bumps the version of WooCommerce Blocks included in WooCommerce to 9.6.6. #37298
      • Version 9.6.6 of WooCommerce Blocks includes a fix to a 404 error that was introduced in WooCommerce 7.5.0. While the error didn’t break anything user-facing, it had the potential to cause 404 error logs to increase in size. #8445

    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 April 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.5.0, the following changes have been made:

    • Update WooCommerce Blocks to 9.8.1, which includes the following changes:
      • Improvements to the look and feel, and the performance of the Mini Cart block.
      • Improved attributes filtering in the products block.
      • See the release post for 9.8.0 for a complete list.
    • Many other small improvements and bug fixes.

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

    Actions and Filters

    This release adds one new filter and two new actions.

    Filter

    FilterDescription
    woocommerce_product_allow_backorder_use_radioAllow 3rd parties to control whether “Allow backorder?” option will use radio buttons or a select. [Source]

    Actions

    ActionDescription
    woocommerce_reduce_order_item_stockFires when stock reduced to a specific line item. [Source]
    woocommerce_widget_layered_nav_filters_startAllow 3rd party developers to add their own filters to start the Layered Navigation Filters Widget. [Source]

    Database Changes

    No changes introduced.

    Template Changes

    No changes introduced.

    Release Schedule

    We’re still on track for our planned April 11 release.

    VersionRelease
    Release Candidate April 4, 2023
    Final Release April 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.5.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.5.0?

    Support for Style Book

    Gutenberg 14.8 introduced Style Book, which allows merchants, web developers, and site admins to preview individual blocks. With the WooCommerce Blocks 9.5.0 release, the Featured Product and the Featured Category blocks are available here. This will enable the preview of any global style changes applied to these blocks.

    Global Styles

    Besides previewing blocks within the Style Book, we also migrated various blocks away from hardcoded CSS towards Global Styles. Since WooCommerce Blocks 9.5.0, the Product Button, Product Rating, and Product Price blocks utilise Global Styles.

    The Product Rating block has gained support for padding global styles, making it easy to add spacing around it.

    Screenshot showing the tool to set specific padding to the Product Rating block

    New Blocks

    In addition to the Story Book and Global Styles improvements, we’re thrilled to introduce the following new blocks:

    • Store Breadcrumbs block: Provides a clear and easy-to-follow navigation trail, allowing users to quickly understand their location within the store and facilitating navigation to previous sections.
    • Product Results Count block: Displays the total number of products and how many are currently displayed, based on the global query.
    • Catalog Sorting block: Allows users to sort products within a category by various criteria, such as price, popularity, and newness.

    Multichannel Marketing (Beta)

    We add a new Channels card that displays a list of recommended channels and registered channels. Extensions will be able to register themselves as a marketing channel by integrating with the Multichannel Marketing library, and display basic stats about the channel.

    Actions and Filters Changes

    There are no action or filter changes this release.

    Template Changes

    There are no template changes this release.

    Database Changes

    This release contains two DB updates:

    1. We add two columns to the wc_order_stats table: date_paid and date_completed. Additionally, both of these columns are then backfilled by data from the postmeta table. #36492
    2. The experiment for the new product management feature is now turned off. Note that this will do a single update_option call, but only for very few stores that have it enabled. #36894

    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

    IanDelMar
    chihsuan
    nathanss
    alopezari
    Screenfeed
    louwie17
    lsinger
    Aljullu
    nigeljamesstevenson
    coreymckrill
    Luc45
    rjchow
    rrennick
    jonathansadowski
    nima-karimi
    aniketpatel32
    kevinruscoe
    ecgan
    senadir
    ilyasfoo
    elazzabi
    a-ghigi
    MMTE
    octaedro
    lanej0
    samueljseay
    Konamiman
    vedanshujain
    barryhughes
    joelclimbsthings
    wvega
    apenchev
    tarhi-saad
    gigitux
    psealock
    mattsherman
    hsingyuc
    mdperez86
    joshuatf
    moon0326
    AnnaMag
    peterfabian
    MrJnrman
    tomalec

    WooCommerce Blocks

    wavvves
    DAreRodz
    nerrad
    dinhtungdu
    nefeline
    kmanijak
    sunyatasattva
    danielwrobert
    opr
    tjcafferkey
    alexflorisca
    albarin
    roykho
    Aljullu
    tarhi-saad
    tarunvijwani
    gigitux
    danieldudzic
    mikejolley
    nielslange
    senadir
    ralucaStan

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

    Notable Changes

    Better performance and look and feel for the Mini Cart block

    With this release, we introduced many improvements to the Mini Cart block. Among others, it’s been optimized and has better performance. When opening the Mini Cart, the content shows up immediately, as it’s preloaded in the background while the browser is idle.

    The Empty Mini Cart button, which encourages shoppers to add products to the cart, now matches your theme styles.

    Improved Attributes filtering in Products block

    The new Products block now allows filtering products by attribute directly from the Editor interface. The experience has been enhanced by providing a user-friendly collapsible menu with attributes. Additionally, you can quickly filter attributes by typing their name. These enhancements provide a more streamlined experience for selecting the products you want to display.

    Also, when checking the attributes, there’s now a live preview of the products from the Editor perspective, which allows seeing how the block will be displayed in the frontend of your store.

    Improved margins in Products block patterns

    There are a number of available patterns using the Products block. All of them have now consistent and scalable margins.

    Here’s the list of available patterns to try out:

    • WooCommerce 1:1 Image 4-Column Products Row
    • WooCommerce 3-Column Product Row
    • WooCommerce 4-Column Product Row
    • WooCommerce Large Image Product Gallery
    • WooCommerce Minimal 5-Column Products Row
    • WooCommerce Minimal Product List
    • WooCommerce Product Gallery
    • WooCommerce Product list with 1:1 images
    • WooCommerce Product list with full product description

    Dev note

    In this release, we are adding two new filters for the Cart block, they are: proceedToCheckoutButtonLabel and proceedToCheckoutButtonLink.

    By using these filters, developers can alter the text and link of the “Proceed to checkout” button in the Cart. Our documentation has additional information on these filters and an example of how to use them.

    Changelog

    Enhancements

    • Add Product Meta block. #8484
    • Add proceedToCheckoutButtonLabel and proceedToCheckoutButtonLink filters and delete cached filters when registering new ones. #8613
    • Add border style controls to the Mini Cart block. #8654
    • Add support to non-AJAX add to cart in the Products block. #8532
    • Fix mini-cart Start shopping button to follow the current theme styles. #8567
    • Fix: change the “Add-to-Cart behaviour” mini-cart select to a toggle button. #8558
    • Fix: enable global styles for the Product Result Count block. #8517
    • Fix: increase the “Customer account” size icon. #8594
    • Improve Mini Cart drawer close button alignment and make it inherit the text color #8605
    • Made the cart and checkout view switcher compatible with List View in the editor. #8429
    • Preload Mini Cart inner blocks frontend scripts to improve performance #8653
    • Products block: improved UX and UI for the Product Attributes advanced filter. #8583
    • Products: Improve spacing consistency of product elements in patterns. #8401
    • Reduce the number of scripts needed to render a page containing the Mini Cart block #8657 #8703

    Bug Fixes

    • Fix ‘Edit Mini Cart template part’ link in WP 6.2 #8574
    • Fix Mini Cart block having some translations missing in the editor. #8591
    • Fix Mini Cart block inserter preview not showing the cart amount. #8516
    • Fix: remove unnecessary class from the Mini-cart badge. #8557
    • Fixed a bug where quickly clicking through shipping methods would cause UI to update multiple times after the final selection is made. #8498
    • Products block: Fix attributes filters that do not update the editor preview correctly #8611
    • Revert “Show Cart and Checkout blocks in Style Book” #8602

    Technical debt

    • Change the required minimum version from 6.1.1 to 6.1.0. #8649
    • Only call wp.apiFetch.createPreloadingMiddleware() when necessary. #8647

  • RC 1 for the March 2023 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.5 rc 1, the following changes have been made:

    • Upgrade WooCommerce Blocks to 9.6.5 for a host of improvements. You can see the full list of changes in WooCommerce Blocks for more.

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

    Actions and Filters

    No changes introduced.

    Database Changes

    No changes introduced.

    Template Changes

    No changes introduced.

    Release Schedule

    We’re still on track for our planned March 14 release.

    VersionRelease
    Release CandidateMarch 7th, 2023
    Final ReleaseMarch 14th, 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.


  • Update: After releasing WC Blocks 9.7.1 we received some reports from the community that it was causing a fatal error in some stores. The issue could be reproduced in WordPress sites which didn’t have Gutenberg enabled. We started investigating it as soon as we learned about it and we released a fixed version soon after: 9.7.2.

    We really appreciate all the feedback and reports we received from the community, it really helps us make WooCommerce better! Thanks a lot for being a part of the WooCommerce community.

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

    Notable changes

    New Blocks

    We’re thrilled to introduce the following new blocks for the Single Product Template. This is our first iteration to port over existing functionalities of the Single Product template to the Site Editor.

    • Single Product Details block: The block version of the product details in the Single Product Template. Merchants can now add product descriptions, information, and reviews to their stores.
    • Add to Cart Form block: The block version of the add to cart form enables merchants to display a button in single product templates. Options are also displayed depending on product type. e.g. quantity, variation.

    Disabling payment gateways stops associated saved payment information from displaying

    We have improved our payment system by preventing saved cards from displaying if the payment gateway that added them is disabled. This ensures that users only see available and enabled payment options, making the payment process more efficient and straightforward.

    Clearer Checkout Events in the Payment System

    We have made changes to the checkout events in our payment system to improve clarity and reduce confusion. Several events were renamed to improve their accuracy and clarity:

    • onCheckoutValidationBeforeProcessing renamed to onCheckoutValidation
    • onCheckoutAfterProcessingWithSuccess renamed to onCheckoutSuccess
    • onCheckoutAfterProcessingWithError renamed to onCheckoutFail
    • onPaymentProcessing renamed to onPaymentSetup

    Fix: Product categories, Product Tags & Keyword filters not working in the Products block

    The following filters should be working fine, which are available in the Inspector Controls of the Products block:

    • Product Categories
    • Product tags
    • Keyword

    Enhancements

    • Add Related Products block. (8522)
    • Products block: Set the Product Title as a link by default. (8519)
    • Add support for the woocommerce_loop_add_to_cart_args filter in the Products block. (8422)
    • Enable the Inherit query from template setting by default for the Products block in archive products templates. (8375)
    • Update the blockified archive templates to use the Products block. (8308)
    • Improve the dismissal behavior of the incompatible gateways notice. (8299)
    • Add the Add to Cart Form block, allowing merchants to display a button so the customer can add a product to their cart. Options will also be displayed depending on product type. e.g. quantity, variation. (8284)
    • All Products: Add alignment settings for the Product Rating and Product Price blocks. (8264)
    • Enable users to migrate to blockified Product Archive templates. (8248)
    • Add Product Image Gallery block. (8235)
    • Add Single Product Details block that displays the product description, information, and reviews. (8225)

    Bug Fixes

    • Add the woocommerce_disable_compatibility_layer filter to disable the compatibility layer. Disable the compatibility layer when Archive Product and Single Product templates contain the WooCommerce Product Grid Block. (8550)
    • Ensure custom shipping methods supporting local pickup show up in the shipping options when no WC Blocks pickup locations are enabled. (8542)
    • Focus the coupon code input when the form is revealed in the cart. (8525)
    • Fix: Make Price product margin work in the All products block. (8518)
    • Fix an issue in which setting the city/state would not persist in the first time for certain customers. (8497)
    • Fix noticeContext declaration in the Shipping calculator. (8495)
    • Update Product Details block so it inherits more styles from the theme. (8494)
    • Fix: Adjust Catalog Sorting colors in dark themes. (8483)
    • Remove opinionated styles from Button component on block themes that define button styles. (8478)
    • Fix individual border controls not showing in the editor for Featured Product and Featured Category blocks. (8472)
    • Fix potential console warnings when certain Checkout Blocks are disabled. (8471)
    • Prevent saved cards from appearing that belong to gateways that are not enabled. (8461)
    • Fix error: “Undefined property $area” error on the BlockTemplatesController. (8443)
    • Fixed an issue where warnings relating to payment method script dependencies were shown when editing pages with Elementor. (8428)
    • Performance – Prevent extra API hydration in the editor when using All Products block. (8413)
    • Product Price: Fix typography styles in the editor. (8398)
    • Fix spacing and display issues for Store Breadcrumbs, Catalog Sorting and Product Result Counts blocks. (8391)
    • Fix Product categories, Product Tags & Keyword filter not working in Products block. (8377)

    Technical debt

    • Rename the checkout events. (8381)


  • WooCommerce 7.4.1 is now available for download.

    What’s new?

    This release bumped the version of WooCommerce Blocks included in WooCommerce to 9.4.4.

    Version 9.4.4 of WooCommerce Blocks fixes an issue that had the potential to cause errors with some extensions when the tax address was filtered before the session was initiated. #8537

    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 March 2023 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.5 beta 1, the following changes have been made:

    • Upgrade WooCommerce Blocks to 9.6.2 to fix a bug

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

    Actions and Filters

    No changes introduced.

    Database Changes

    No changes introduced.

    Template Changes

    No changes introduced.

    Release Schedule

    We’re still on track for our planned March 14 release.

    VersionRelease
    Release CandidateMarch 7th, 2023
    Final ReleaseMarch 14th, 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.