Develop WooCommerce

The official WooCommerce development blog

WooCommerce 4.1 Beta 1 — April 7, 2020

WooCommerce 4.1 Beta 1

Hello everyone,

With WooCommerce 4.0 now comfortably behind us, it’s time to begin our next release cycle.

As of today, WooCommerce 4.1 is available for beta testing. You can either download it directly from WordPress.org or install our WooCommerce Beta Tester Plugin.

What’s new in 4.1?

The primary focus of this minor release is stability and performance. If you’d like to dig into the details, take a moment to review the changelog for a more granular breakdown of everything included. In addition, keep an eye out for another blog post soon containing developers notes for this release.

Here’s a broad overview of what’s new.

New Setup Wizard

With this release we’ve finished our roll-out of the new setup wizard. All new shops will be directed through this new setup flow, so if you haven’t checked it out yet, you should!

Database Update

This release requires a database update, as we’ve added a new table to the WooCommerce database structure. This table is critical to processing orders and checkout and is installed automatically after updating.

Nudge for WordPress Version

Note that there is no change in the minimum requirements for this version.

However, sites not currently running on WordPress 5.2 will see a notification to upgrade to the latest and greatest. Why?

In WooCommerce 4.2, the next release, we are scheduled to update the minimum version of WordPress to 5.2 (now 5.0) to keep up with changes in the WordPress ecosystem.

New Hooks and Functions

We’ve added several new hooks and functions in this release:

FunctionDescription
get_woocommerce_currency_symbols()Returns an array of all registered currency symbols
ActionTriggered
woocommerce_emogrifierBefore an email is run through emogrifier
FilterDescription
woocommerce_can_restock_refunded_itemsPrevents stock from being increased by refunds
woocommerce_order_get_tax_locationEnables filtering of the location that an order should be taxed for
woocommerce_product_upsells_products_headingAllows for filtering of the heading text for product upsells

Template File Changes

The following template file has been updated:

FileChanges
emails/admin-cancelled-order.phpWording of this notice

Release Schedule

Here are our targets for the 4.1 release cycle:

VersionRelease
BetaApril 7th
Release CandidateApril 21st
4.1 ReleaseMay 5th

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.

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!

Coming Soon: WooCommerce Marketing Hub — March 31, 2020

Coming Soon: WooCommerce Marketing Hub

Our vision at WooCommerce is to democratize commerce. It’s why we’ve introduced WooCommerce Shipping, WooCommerce Tax, and most recently, WooCommerce Payments (Beta). These services — designed by WooCommerce, exclusively for WooCommerce stores — help thousands of merchants fulfil and transact more efficiently. In parallel, we’ve started work on a new experience that will help store owners accelerate their businesses growth: WooCommerce Marketing.

With increasing competitiveness in online business, we all know that “build it and they will come” just isn’t enough. Marketing needs to be strategic, proactive, impactful, and efficient to manage. The current marketing experience within WooCommerce has room to improve as merchants encounter all kinds of hurdles before they even get to try their first marketing activity.

As such, there’s a real and meaningful opportunity for WooCommerce and the WooCommerce developer community to elevate the way store owners engage with marketing tools. Creating smoother, richer marketing experiences will enable our merchants to drive more store growth faster, which benefits us all.

Simplification, Curation and Education

WooCommerce 4.1 adds a new Marketing tab to emphasize its importance in merchants’ growth. This is the foundation for the development of a robust marketing hub to enable central management, control, and guidance for effective marketing.

The new marketing tab in WooCommerce

This dashboard focuses on:

  • Simplifying management, installation, and set up of marketing extensions.
  • Curating the right marketing extensions at the right time: Store owners will see a limited set of recommendations, taking the guesswork out of identifying extensions that help merchants market their stores.
  • Educating merchants: Relevant articles and marketing guides right on the dashboard will help our merchants understand where to focus, and how to make impactful marketing decisions.

While our plans for WooCommerce Marketing are expansive, we plan on starting with a small selection and growing the number and scope of integrations based on merchant usage and feedback. Although we anticipate iteration to fulfil our long-term vision, we’ll maintain focus on simplification, curation, and education.

Beyond v1

This work represents a small first step towards a more integrated, cohesive marketing experience in WooCommerce core.

We’ll be expanding on the work in this initial release to give ourselves, our partners, and extension developers a centralized hub from which merchants will be able to launch, manage, and measure their marketing activities. Think automations, campaigns, customer segmentation, coupon management, marketing focused analytics, and reporting…our roadmap is long and exciting, and we’re just getting started!

If you have ideas or suggestions feel free to leave them on the WooCommerce ideas board, or if you have general comments – let us know in the comments section below.

March 26: Community Chat #8 — March 24, 2020

March 26: Community Chat #8

Greetings everyone! The third community chat of 2020 is going to take place on Thursday, March 26 at 18:00 UTC in the #core channel of the WooCommerce Community Slack. If you don’t already have access to the group, you can request an invite here.

In this Community Chat, we will discuss the experience with WooCommerce 4.0 release, what is coming up in WooCommerce 4.1 and we’ll also talk about the addition of marketing tools in WooCommerce with a new guest, Gary Murray.

If you have any questions or topics you would like to chat about during Community Chat #8, please drop a comment below.

Community Chat #7 Notes — March 23, 2020

Community Chat #7 Notes

We hosted 7th edition of WooCommerce community chat on 27 February earlier this year. This was day after release candidate launch of WooCommerce 4.0. You can read the full backscroll on this slack link (which may expire very soon) or read on the notes below.

We hosts these chats on WooCommerce Community Slack in #core channel. If you do not already have access to this group, you can request an invite!

WooCommerce 4.0

We started the chat by discussing incoming 4.0 release and chatted a bit around major changes going to be included in the release, notably the action scheduler update. We are also posting some awesome testing instructions for the past few releases now (h/t Julia and Tam) which will hopefully help in testing beta and release candidates.

Flat tables

Discussion about the custom (flat) product and order tables also made a cameo in the chat. Unfortunately, while the progress is not stopped, its also not super fast. Hopefully, we will have some good news soon.

PR Merge Process

We also talked a bit about the PR merge process and how to know which PRs are going to be included in the next release. Generally, we aim to merge the PRs in the release which is tagged with a milestone for that release.

Once the beta is released, we do not merge feature PRs for that release, but we try to include any high priority bug fixes even late in the release process.

WooCommerce Payments

We also talked about WooCommerce Payments, which is in beta as of this writing. When available, it would be possible to manage payments from inside WooCommerce Dashboard.

Till the next one!

Thanks again to all whom attended. If you have any ideas on how to make our chats more helpful, or if you have a question/topic you would like to discuss, please leave a note in the comments below.

While this concluded our chat, stay tuned for announcement about the next one.

WooCommerce 4.0.1 Fix Release — March 20, 2020

WooCommerce 4.0.1 Fix Release

WooCommerce 4.0.1 is now available! This is a minor release and includes several bug fixes discovered after releasing 4.0 to our customers. It addresses problems related to Action Scheduler migration, multisite installations, coupon usage, variation saving, and shipping estimates.

Here’s the full change-log for this release:

WooCommerce
* Enhancement – Update Action Scheduler to 3.1.4. #25966
* Enhancement – Bump Woocommerce Admin dependency to version 1.0.2. #25961
* Enhancement – Update dependency woocommerce/woocommerce-admin to v1.0.3 #25975
* Fix – Add usage_count meta before using it in a query. #25882
* Fix – Corrected argument type validation in plugin installer API. #25858
* Fix – Use standard admin_url function instead of absolute path. #25884
* Fix – Reverted the performance optimization made to variation saving. #25950
* Fix – Send dummy params to evaluate_cost method to detect validation errors. #25946
* Fix – Made the package shipping check more permissive. #25916
* Fix – Fix admin notes table does not exist errors when upgrading to 4.0.x. #25891

WooCommerce Admin
* Enhancement – Onboarding: business step: add Google Ads extension install.
* Tweak – create database tables on an earlier hook to avoid conflicts with core WooCommerce.
* Fix – Add Report Extension Example: Add default props to ReportFilters.
* Fix – Product report sorting by SKU when some products don’t have SKUs.
* Fix – type warning on install timestamp in PHP 7.4.
* Fix – PHP error when WooCommerce core is Network Active on Multisites.
* Fix – missing database table errors on WooCommerce upgrade.
* Fix – undefined const WC_ADMIN_VERSION_NUMBER when WP < 5.3
* Fix – Made the admin note loading more resilient to prevent failures when loading notes with invalid content_data. #3926
* Fix – Removed replace_actionscheduler_store_class function. #3936
* Fix – Rename Google Shopping image asset. #3931
* Fix – Fix calling protected has_satisfied_dependencies on outdated plugin. #3938
* Dev – Add Changelog script.
* Dev – Fix failing tests after WC core merge.
* Dev – Bump WooCommerce tested up to tag.
* Dev – Update prestart script so readme.txt stable tag is updated.

Action Scheduler
* Fix – Re-create tables if needed on Scheduled Actions screen load. #492
* Fix – Add null action check on Scheduled Actions screen list rows. #493
* Fix – Fix context on ignored action log message. #481
* Fix – Restore scheduled action row and bulk action processing on WooCommerce Status screen. #487
* Fix – Include logs table re-create missed in #492. #495
* Fix – Ensure valid table name in save action. #498

We highly recommend updating WooCommerce to this version as soon as possible.

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