Changelog

  • A new version of WooCommerce Blocks has been released! Version 3.8.0 is available for download from GitHub and WordPress.org. This version will also be available in the upcoming WooCommerce 4.8 release.

    Bug Fix

    This release fixes a bug where the Phone field missing from the checkout page when shipping was not configured.

    For Developers

    Documentation was updated to include a new document describing feature flags and experimental interfaces: feature-flags-and-experimental-interfaces.md.

    We have updated our webpack config to be more compatible with Beanstalk deployment (3360)

    Changelog:

    • Show the phone number field in the billing section when shipping is disabled in settings. (3376)
    • Add new doc referencing feature flags and experimental interfaces. (3348)
    • Change delimiter used for spltChunks from tilde to hyphens (3360)


  • We are excited to announce that WooCommerce 4.7 is now publicly available! It has been in development since October 2020 and has been updated with 393 commits from 22 contributors.

    This is a minor release, which means everything is backward compatible with the previous version.

    Black Friday is coming up and we’re keeping this release small, focusing on stability and compatibility, with most of the updates being fixes.

    As always, we recommend creating a backup of your site and making sure that themes and plugins are compatible before updating. You can check out this update guide for more information.

    What’s new in 4.7?

    The WooCommerce 4.7 release contains updated versions of WooCommerce Admin (1.6.3) and WooCommerce Blocks (3.5.0 & 3.6.0), fixes, and localization improvements.

    Notable fixes and improvements

    1. Updated product_cat/tag taxonomy template file names to product-cat, and product-tag. (#27736).
    2. Excluded draft pages from the “Shop page” setting. (#27890).

    You can review the complete changelog for this release on the changelog.txt file.

    Filters and actions

    We have added one new filter:

    FiltersDescription
    woocommerce_should_send_low_stock_notificationDetermine if the current product should trigger a low stock notification..

    Database changes

    This release does not introduce any changes to the database.

    Template changes

    Several files were added or updated in this release, including:

    FileDescription
    content-product-cat.phpNew file introduced by #27736 to replace content-product_cat.php
    taxonomy-product-cat.phpNew file introduced by #27736 to replace taxonomy-product_cat.php
    taxonomy-product-tag.phpNew file introduced by #27736 to replace taxonomy-product_tag.php

    Note that content-product_cat.php, taxonomy-product_cat.php, and taxonomy-product_tag.php are still supported by WooCommerce.

    Much 💜 to all the contributors

    Finally a big thanks to everyone in the community who has contributed via issue reports, fixestranslation, testing, supporting other users or simply spreading the word.

    WooCommerce Core

    claudiosanches rodrigoprimo rrennick Konamiman shiki roykho
    claudiosanches rodrigoprimo rrennick Konamiman shiki roykho
    ObliviousHarmony haszari vedanshujain juliaamosova timmyc dominic-ks
    ObliviousHarmony haszari vedanshujain juliaamosova timmyc dominic-ks
    peterfabian tammullen james-allan sudoshreyansh Knyazevich Luminus
    peterfabian tammullen james-allan sudoshreyansh Knyazevich Luminus
    Rowayda-Khayri Aljullu NicholasMacedo pjv jondcampbell kloon
    Rowayda-Khayri Aljullu NicholasMacedo pjv jondcampbell kloon
    om4james jozeflambrecht ibonkonesa
    om4james jozeflambrecht ibonkonesa

    WooCommerce Admin

    joshuatf becdetat psealock joelclimbsthings octaedro timmyc
    joshuatf becdetat psealock joelclimbsthings octaedro timmyc
    samueljseay jeffstieler ecgan moon0326 adrianduffell dechov
    samueljseay jeffstieler ecgan moon0326 adrianduffell dechov
    mattsherman zzap rtpHarry rrennick
    mattsherman zzap rtpHarry rrennick

    WooCommerce Blocks

    nerrad Aljullu senadir budzanowski haszari mikejolley
    nerrad Aljullu senadir budzanowski haszari mikejolley
    kloon corsonr farookibrahim
    kloon corsonr farookibrahim

    Action Scheduler

    rrennick
    rrennick

  • Today we released Storefront 2.9.0 with support for PHP 8 and WP 5.6! The new version can be downloaded from WordPress.org and GitHub.

    As of this release, all CSS files included in Storefront are minified which improves the load times of your store’s user-facing pages. We also included custom styles for the Filter Products by Price block so it honors the accent color of your store:

    https://user-images.githubusercontent.com/3616980/96615478-99bb0e00-1301-11eb-90ad-bcf7af565730.gif
    Animation showing the color picker in the customizer changing the price slider color

    Here is the full changelog:

    • Enhancement – Added styles to the Filter Products by Price block, so the accent color is used in the slider. #1508
    • Performance – Added CSS minification. #1503
    • Fix – Cover block text color attributes not being applied. #1513
    • Fix – Inconsistent font sizes of category and product titles in shop page. #1501
    • Dev – Update various dependencies, including major updates:
      • autoprefixer v10 and postcss v8 #1502
      • grunt-contrib-jshint v3 #1507
      • node-sass v5 #1523

    Download the latest release of Storefront from WordPress.org, or venture over to Dashboard → Updates in your WordPress admin to update your theme.

    As usual, if you see any issues, please log them in detail on Github.


  • A patch version of WooCommerce Blocks has been released. Version 3.7.1 is available for download from GitHub and WordPress.org.

    This release fixes an issue with the signup feature in the Checkout block. The API now only creates an account if the relevant store option is enabled ( Account Creation > Allow customers to create an account during checkout`).


  • This release fixes a bug discovered recently that allows anonymous users to create an account during checkout even when the “Allow customers to create an account during checkout” setting is disabled. The fix to this bug can be found here.

    We found this problem while investigating reports of a bot that is creating spam orders in some WooCommerce stores. We will publish another post with more information detailing what we know about the actions of this bot and how it is using the bug that is fixed in this release later today.

    The gist of it is that the bot is able to create a user when placing an order exploiting the bug fixed by 4.6.2. After creating the user, the bot tries to find vulnerabilities in other plugins installed on the site that require an unprivileged authenticated account. Updating to WooCommerce 4.6.2 will stop the bot from creating a user account when the “Allow customers to create an account during checkout” setting is disabled, but it won’t stop it from creating orders. Removing user accounts created by the bot is recommended.

    Here is the WooCommerce 4.6.2 changelog:

    • Prevent checkout from creating accounts when the related setting is disabled.

    Thanks to everyone for reporting this issue promptly and helping out with the fix release.

    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 any other issues in WooCommerce, 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 3.7.0 is available for download from GitHub and WordPress.org.

    Sign up for an account in Checkout block

    This release includes support for creating an account from the checkout block. The signup flow is also updated to use a secure password-reset link for setting the initial account password.

    Checkout signup in blocks requires WooCommerce 4.7, so ensure you keep WooCommerce Core updated on your store.

    Allowing shoppers to sign up to your store during checkout is a great way to strengthen the relationship with your customers. If you’ve been waiting for this to adopt the Cart & Checkout blocks – give them a try now!

    Bug fixes

    This release includes some important bug fixes and improvements. As always, it’s recommended to keep all plugins on your store up to date.

    If your store has orders that total $0 (e.g. free products, or giveaway coupons), this release includes a fix to ensure these are handled correctly.

    See the changelog below for full details about what’s included in the release.

    Changelog

    Enhancements

    • Allow shoppers to sign-up for an account from the Checkout block. (3331)
    • Standardise & refactor colors scss to align with Gutenberg colors and WooCommerce brand. (3300)

    Bug Fixes

    • Fix PHP 8 error when argument is not invocable in AssetsDataRegistry::Add_data. (3315)
    • Improve layout of Cart block line item quantity selector & price on smaller screens. (3299)
    • Correctly process orders with $0 total (e.g. via coupon) in Checkout block. (3298)
    • Respect Enable Taxes setting for checkout block taxes display. (3291)
    • Fix 3D secure payment errors. (3272)
    • Show current selected attributes when re-edit Products by Attribute block. (3185)

  • We’re excited to announce that the release candidate is now available! We are on track for our planned November 10 WooCommerce 4.7 final release date. Note that this release candidate doesn’t include any changes since 4.7 beta 2.

    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.

    Thanks to all of our testers and contributors!


  • WooCommerce 4.7.0 beta 2 is now available for testing! This version reverts one change for templates and also includes an updated version of WooCommerce Admin 1.6.3. You can either download it directly from WordPress.org or install our WooCommerce Beta Tester Plugin.

    Notable fixes and improvements

    Since the first beta version, the following fixes were added:

    • WooCommerce Admin 1.6.3 (#28104).
    • REST API – Add parent_name for variations in line_items (#28080).
    • Reverted “Use first gallery image on single product when image not assigned” (#28094).

    Testing

    As with the previous several releases, we have published testing instructions for 4.7. We’d love your help in testing this release.

    If you discover any bugs during the testing process, please let us know by logging a report in GitHub.


  • This release fixes WooCommerce Admin bugs introduced in WooCommerce 4.6.0.

    The main issue affected stores running WooCommerce 4.6.0 together with the latest version of Gutenberg installed as a plugin. For those stores, the Analytics pages were empty (#5385).

    The only change in WooCommerce core for this release is the inclusion of the latest version of WooCommerce Admin. Here is the full changelog for WooCommerce Admin 1.6.2:

    • Gutenberg compat fix for empty reports (leaderboard, customers report). #5409
    • Fix for missing activity panels. #5400
    • Adds array casting on onboarding profile option. #5415
    • Gutenberg compatibility fix for home screen inbox. #5416
    • i18n fix for Performance Indicators labels Home Screen. #5405

    Thanks to everyone for reporting these issues promptly and helping out with the fix release.

    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 any other issues in the WooCommerce core, please log them in detail on GitHub. Found a security issue? Please submit a report via HackerOne.


  • WooCommerce 4.7.0 beta 1 is now available for testing! You can either download it directly from WordPress.org or install our WooCommerce Beta Tester Plugin.

    What’s new?

    The WooCommerce 4.7 release contains an updated version of WooCommerce Blocks 3.6.0, several fixes, and localization improvements.

    Notable fixes and improvements

    The main fixes and stability improvements in this release are:

    • Use first gallery image on single product when a product thumbnail isn’t assigned. (#27289). (Feature reverted in 4.7.0 beta 2).
    • Update product_cat/tag taxonomy template file names to product-cat, and product-tag. (#27736).
    • Exclude draft pages from the “Shop page” setting. (#27890).

    You can review the complete changelog for this release on the changelog.txt file.

    Filters and actions

    We have added one new filter:

    FiltersDescription
    woocommerce_should_send_low_stock_notificationDetermine if the current product should trigger a low stock notification..

    Database changes

    This release does not introduce any changes to the database.

    Template changes

    Several files were added or updated in this release, including:

    FileDescription
    content-product-cat.phpNew file introduced by #27736 to replace content-product_cat.php
    taxonomy-product-cat.phpNew file introduced by #27736 to replace taxonomy-product_cat.php
    taxonomy-product-tag.phpNew file introduced by #27736 to replace taxonomy-product_tag.php
    single-product/product-image.phpUpdated to support include the first image as a product thumbnail, see #27289 (Feature reverted in 4.7.0 beta 2)
    single-product/product-thumbnails.phpUpdated to support include the first image as a product thumbnail, see #27289 (Feature reverted in 4.7.0 beta 2)

    Note that content-product_cat.php, taxonomy-product_cat.php, and taxonomy-product_tag.php are still supported by WooCommerce.

    Release Schedule

    This version of WooCommerce is scheduled to be released as follows:

    VersionRelease
    BetaOctober 20, 2020
    Release CandidateOctober 27, 2020
    4.7 Final ReleaseNovember 10, 2020

    Testing

    As with the previous several releases, we have published testing instructions for 4.7. We’d love your help in testing this release.

    If you discover any bugs during the testing process, please let us know by logging a report in GitHub.