Yesterday, Automattic launched version 4.0 of its WooCommerce plugin. Except for the new admin interface, which has been in testing for over a year, the development of this update began in January 2020. The update also includes an updated onboarding experience for new users.
Version 4.0 is a major release of the plugin. Users should create a database backup before upgrading. The WooCommerce team suggests testing on a staging site before upgrading on a live site to make sure everything runs smoothly.
The new version is not completely backward compatible with previous versions of WooCommerce. Reading the How to Update WooCommerce documentation before clicking the update button is recommended.
Developers and end-users should take note of the changes to the Action Scheduler library, which is the background job runner bundled in WooCommerce. In the past, it stored data as a custom post type, which has now been switched to a custom database table. The change should make background processes more performant with large amounts of data. It also has the potential to break custom code that does not interface directly with the API, but this should not be an issue for most users.
WooCommerce Admin Project Merged into the Core Plugin
With well over a year of developer and user feedback, the WooCommerce team decided it was time to merge its new admin interface into the core plugin. Originally, the interface was developed as a separate plugin named WooCommerce Admin. The project began alpha testing in October 2018 and was later released publicly in February 2019.
The new admin interface features a customizable dashboard. End-users can choose which stats to display in the performance section, select the charts they want to appear, and customize their leaderboard output.
Reports are much improved over previous iterations. The updated interface allows better filtering and comparisons. It should provide merchants with more useful insights into how well their shop is performing.
Plugin developers should take note that admin notices may not appear on all WooCommerce screens. This seems to be limited to custom screens created by WooCommerce. Notices appear on WordPress-generated pages (e.g., products, orders, coupons). While this may be a welcome sight for third-party notices that are sometimes plastered across the admin, it could
This article was written by Justin Tadlock and originally published on WordPress Tavern.