WooCommerce 4.3 – What we’ll see
As of today, WooCommerce 4.3 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 WooCommerce 4.3?
Go to WooCommerce 4.3 Changelog.
New Home page experience
WooCommerce 4.3 will have completely new home page for a more focused experience that enables easier store management. It includes just the 3 most important items for merchants to glance at:
- the inbox messages,
- a quick overview of the common store metrics, and
- shortcuts pointing to the most used settings
WooCommerce 4.3 Blocks update
- A new status for orders: “draft”
- All “Product Grid” type blocks now default to 3 rows instead of one for the initial settings
- HTML editing is no longer supported in several blocks to prevent accidental breakage
- More options available for Filter Products by Attribute block
- Improved handling of taxes for Filter Products by Price block
- Styling consistency and CSS improvements
If you have any of the Product Grid blocks (except All Products) in use on your site, and you never changed any of the default settings for the block, then the block will update to 3 rows instead of 1 row for the rendered products. However, if the block was saved to your content with settings changed, then the rendered content will not be affected. So you will want to double-check your blocks after the update.
For now, Cart and Checkout blocks are not enabled in the bundled version of Blocks. If you want to use those, please install the separate Blocks plugin.
Miscellaneous improvements
- improved concurrency handling for stock level management
- added a new Verify database tool to rebuild the database schema
- fixed CSV import and export tool bugs
- improved template caching in container environments
- fixed erroneous behavior of add-to-cart links
PHP version support
Automattic will be increasing the version required to run WooCommerce to PHP 7.2 soon as well. With WooCommerce 4.3, to provide enough lead time for merchants and store owners, you will start to see a recommendation to update to PHP 7.2+.
Extension compatibility warning
WooCommerce 4.3 will remove the warning for compatibility for minor WooCommerce versions and only display it for major versions.
WooCommerce 4.3 New Hooks and Functions
Filter | Description |
---|---|
woocommerce_status_widget_low_in_stock_count_pre_query | Allows filtering the low stock count in the stock dashboard widget. |
woocommerce_status_widget_out_of_stock_count_pre_query | Allows filtering the out of stock count in the stock dashboard widget. |
woocommerce_get_path_define_tokens | Allows filtering the path constants to manage when tokenizing template file paths. |
woocommerce_hold_stock_for_checkout | Allows for filtering whether or not the hold stock functionality should be enabled or disabled. |
woocommerce_add_payment_method_form_is_valid | Allows for filtering whether or not a payment method should be allowed to be added. |
woocommerce_hide_base_tables_missing_nag | Allows for filtering whether or not the base table missing notice should be shown. |
woocommerce_settings_features | Allows for filtering the features advanced settings. |
Action | Description |
---|---|
woocommerce_add_payment_method_form_bottom | Executes in the templates/myaccount/form-add-payment-method.php template right above the add button. |
woocommerce_before_get_rates_for_package | Executes before the shipping rates for a package are fetched from a shipping method. |
woocommerce_after_get_rates_for_package | Executes after the shipping rates for a package are fetched from a shipping method. |
WC 4.3 New database tables
In WooCommerce 4.3 they’ve added a new database table called wc_reserved_stock
to allow for better stock management and help with handling concurrent requests. This should prevent stock levels to drop below zero, as it sometimes happened previously.
WC 4.3 Release Schedule
Version | Release |
---|---|
Beta | June 16th |
Release Candidate | June 23th |
4.3 Final Release | July 7th |
WooCommerce 4.3 Changelog
**WooCommerce**
* Enhancement - Show notice to update to latest PHP if version is < 7.2. #26775
* Enhancement -Add template cache clearing. #26752
* Enhancement - Add 47 Kenya counties. #26728
* Enhancement - Accessibility: add aria-disabled attribute to "Update cart" button on checkout page. #26726
* Enhancement - Update "Subtotal" translation string in wc-template-functions.php. #26706
* Enhancement - Add a new Features settings section, enabling woocommerce_homescreen_enabled for all new stores. #26625
* Enhancement - Add warning in status report if a base database table is missing. #26455
* Enhancement - Updated stock handling to prevent race conditions when orders come in at the same time. #26395
* Tweak - Allow checkout even if reserved table is not present. #26705
* Tweak - Add note to Products Importer description that TXT files are also supported. #26670
* Tweak - Allow set different notice types with WC_Admin_Notices. #26410
* Fix - Encode HTML entities for product attribute name and values. #26754
* Fix - Fix an issue with attribute value escaping in product CSV exports. #26739
* Fix - Fix comment_type value for reviews created with WordPress 5.5. #26729
* Fix - Close unbalanced <p> tag in auth "Grant Access" form template file. #26725
* Fix - Remove check for the existing term when parsing category via CSV & instead catch an existing term error when adding a new category to the database. #26720
* Fix - Domain update script now replaces woocommerce-admin domain also in Blocks package. #26690
* Fix - Correct grammar mistake in the help tip of the Connected to WooCommerce.com field of the System Status Report. #26666
* Fix - Allow float value timezone offsets to display the correct float values. #26637
* Fix - Add asterisk to star rating if 'Star ratings should be required, not optional' checkbox is enabled. #26596
* Fix - Use calculations similar to cart for orders as well (fixed regression). #26583
* Fix - Fixed data-id of notices in checkout. #26386
* Fix - Fixed password visible toggle in the checkout page. #26292
* Fix - Product description display fix when multiple products shortcodes are present on a page. #26250
* Fix - Using the add-to-cart parameter with a product variant id will now have the variation attributes populated correctly. #26237
* Fix - Better template caching support for multi-server environments. #23971
* Dev - Adjusted the WC tested up to check to only apply to major versions. #26685
* Dev - Make shipping calculations more flexible by providing actions. #26542
* Dev - Trigger check_variations with custom values. #26525
* Dev - Add verify_base_db method to check if all base tables are present. #26454
* Dev - Added action before the "Add payment method" save button and a filter to validate manually added fields when adding payment method. #26445
* Dev - `wc_get_shipping_method_count() has a new argument (`$enabled_only`) which allows restricting the non-legacy shipping methods to the enabled ones. #25753
* Dev - Added pre query filters for WP dashboard WooCommerce status widget. #25321
**REST API 1.0.10**
* Enhancement - Add API tool to clear template cache. woocommerce/woocommerce-rest-api#212
* Enhancement - Add API tool to verify base DB tables. woocommerce/woocommerce-rest-api#188
**WooCommerce Admin 1.3.0**
* Enhancement - Add Jetpack stats to performance indicatorts / homepage #4291
* Enhancement - New "Store Management" quick links card on WooCommerce home screen. #4350
* Enhancement - Inbox notifications layout updates #4218
* Enhancement - New Home Screen #4303
* Enhancement - Use WordPress Core colors for styling accents. #4558
* Tweak - make revenue report total sales column optional #4397
* Tweak - Adjustments to WooCommerce Payments setup task #4373
* Tweak - Handling of plugin installs in OBW #4411
* Tweak - Update design of Setup Checklist #4434
* Tweak - Add scrollable styling to left side of Table, and keep updated #4179
* Tweak - Add custom autocompleter support to Search component #4518
* Tweak - reduce asset filename length. #4535
* Tweak - Use single dash for country/state dropdown options #4553
* Tweak - Use label tag for toggleable shipping zones #4554
* Tweak - Make it easier to add submenu items to the Marketing menu #4561
* Fix - misaligned 'required' text on selects #4307
* Fix - exception when opening dashboard after selecting extensions to purchase #4357
* Fix - REST API collections schema #4377
* Fix - Monetary Advanced Filters in Customers Report with correct currency object prop. #4356
* Fix - In App purchase "back link" #4301
* Fix - Search results selectable by clicking on item text or icon #4474
* Fix - Filters' static query parameters #4458
* Fix - The WCPay method not appearing as recommended sometimes #4345
* Fix - Removed URLSearchParams method #4501
* Fix - REST API collections schema. #4484
* Fix - null issue in wpNavMenuClassChange #4513 🎉 gradosevic
* Fix - RTL stylesheet loading for split code chunks. #4542
* Fix - Don't show store location step in tax and shipping tasks if the address has already been provided #4507
* Fix - Check for enabled methods before payment task completion #4530
* Fix - Solved a problem with the method onChoose in the last onboarding step. #4583
* Fix - Only mark purchase task as complete when products exist #4574
* Dev - Add jest-dom eslint plugin. #4327
* Dev - Migrate onboarding data store to wp.data #4433
* Dev - Remove use of `IconButton` in favor of `Button` #4415
* Dev - Fix error handling for plugins on server error #4462
* Dev - update @wordpress/components and @wordpress/base*styles #4427
* Dev - Migrate user store to wp.data #4505
* Dev - Add options data store to wp.data #4144
* Dev - Runtime feature config override #4523
**WooCommerce Admin 1.2.4**
* Tweak - reduce asset filename length and remove tilde characters. #4535
* Fix - RTL stylesheet loading for split code chunks. #4542
**WooCommerce Blocks 2.7.1**
* Fix - Use IE11 friendly code for Dashicon component replacement. #2708
* Fix - Fix PHP warnings produced by StoreAPI endpoints when variations have no prices. #2722
* Fix - Fix missing scoped variable in closure and missing schema definitions. #2724
* Fix - Fix undefined index notice for query_type on the product collection data endpoint. #2723
**WooCommerce Blocks 2.7.0**
* Enhancement - Filter block font sizes have been adjusted to be in line with other blocks. #2594
* Enhancement - The All Products block and the other product grid blocks now share more styles and the markup is more similar (see release post or docs to learn how to undo this change). #2428 [DN]
* Enhancement - The Cart and Checkout blocks now use the heading styles provided by the theme. #2597
* Enhancement - The Cart block titles have been merged into one. #2615
* Enhancement - The item count badges of the Checkout block have been updated so it looks better in light & dark backgrounds. #2619
* Enhancement - Checkout step progress indicator design has been updated to match the theme headings style. #2649
* Performance - Reduce bundlesize of blocks using @wordpress/components directly. #2664
* Fix - Fix bug in Checkout block preventing a retry of credit card payment when first credit card used fails and a new one is tried. #2655
* Fix - Avoid some theme style properties leaking into the Cart and Checkout select controls. #2647
* Fix - Fixes to the product grid blocks in Twenty Twenty: discounted prices are no longer underlined and the On Sale badge is correctly positioned in the All Products block. #2573
* Fix - Improved alignment of credit card validation error messages. #2662
* Fix - Show the 'No shipping methods' placeholder in the editor with the _Checkout_ block if there are shipping methods but all of them are disabled. #2543
**WooCommerce Blocks 2.6.1**
* Fix - Updated the wc_reserved_stock table for compatibility with versions of MySql < 5.6.5. #2590
**WooCommerce Blocks 2.6.0**
* Enhancement - Add dropdown display style to Filter Products by Attribute block. #1255
* Enhancement - Add option to display a Filter button to Filter Products by Attribute block. #1332
* Enhancement - Add support for image for product categories block #1739
* Enhancement - An error notice will be shown in All Product if the customer is trying to add a product above stock or sold individually. #2278
* Performance - Improvements to REST API performance #2248
* Performance - Avoid loading Assets API during REST requests #2286
* Fix - Add placeholder to the on-sale products block when no results are found. #1519
* Fix - Added correct ellipsis character in Product Search block #1672
* Fix - If product is changed for featured product block, update the link in the button. #1894
* Fix - Import from `@woocommerce/settings` in `@woocommerce/block-settings` #2330
* Dev - Accessibility of the All Products block and filter blocks has been improved. #1656
* Dev - All Products Block: Update sorting labels to match frontend options #2462
* Dev - Change PropType validation for Icon component #1737
* Dev - Changed default rows and columns for product grid blocks to 3x3. #1613
* Dev - Check for instance of WP_Block in render_callback #2258
* Dev - Devs: `ENABLE_REVIEW_RATING` setting was renamed to `REVIEW_RATINGS_ENABLED` and now it also verifies reviews are enabled, to better match WooCommerce API. #1374
* Dev - Fix price filtering when stored prices do not match displayed prices (determined by tax settings). #1612
* Dev - HTML editing is no longer supported in several blocks. #1395
* Dev - Implement __experimentalCreateInterpolateElement for translations. #1736
* Dev - Load WooCommerce Core translations for 'Sale!' and some other strings if translations are unavailable for WooCommerce Blocks. #1694
* Dev - Prevent data hydration on REST requests #2176
* Dev - Show relationship between terms in the active filters block. #1630
* Dev - Table creation validation for install routine #2287
* Dev - Update the icons used in the blocks. #1644
Related Articles
If you enjoyed reading this, then please explore our other articles below:
More Articles
If you enjoyed reading this, then please explore our other articles below: