We are pleased to announce the release of WooCommerce 7.6.0. This release should be backwards compatible with the previous version.
This release contains:
- 485 commits from 47 contributors in WooCommerce Core.
- 188 commits from 21 contributors in WooCommerce Blocks.
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 WooCommerce 7.6?
Here are a few highlights of changes included in this release.
- Add – Add a cache for orders, to use when custom order tables are enabled #35014
- Add – Add an encoding selector to the product importer #36819
- Add – Allow sorting by menu_order in products widget. #37002
- Add – Log to order notes when coupons are removed or applied. #30642
- Fix – Fix incorrect usage of dispatch, useSelect, and setState calls in homescreen along with settings and onboarding package to ensure compatibility with current versions of the Gutenberg plugin #37641
- Fix – Ensure product importer imports all lines in a CSV file. #36839
- Fix – Fixes filtering by attributes in the Analytics Orders and Variations reports. #37223
- Fix – Fix incorrect VAT exempt behaviour on shop page when prices are exclusive of tax. #33991
- Fix – Treat order as seperate resource when validating for webhook since it’s not necessarily a CPT anymore. #36650
- Performance – Switch
wc_product_attributes_lookup
table management to use truncate and dbDelta over drop table #36872
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 block-based checkout 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 Event Names in Block-Based Checkout
We have made changes to the checkout events in the block-based checkout to improve clarity and reduce confusion. Several events were renamed to improve their accuracy and clarity:
onCheckoutValidationBeforeProcessing
renamed toonCheckoutValidation
onCheckoutAfterProcessingWithSuccess
renamed toonCheckoutSuccess
onCheckoutAfterProcessingWithError
renamed toonCheckoutFail
onPaymentProcessing
renamed toonPaymentSetup
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
These are just some of the changes that are included in WooCommerce 7.6.0. You can find the complete changelog for this release in the readme.txt file.
Multichannel Marketing (Beta)
We add a new Campaigns card that allows marketing channels to surface their marketing campaigns with basic metrics within the Marketing page.
The “Create a new campaign” modal allows the users to go to the campaign creation process easily.
Actions and Filters Changes
This release adds three new filters and two new actions.
Filters
Filter | Description |
woocommerce_product_allow_backorder_use_radio | Allow 3rd parties to control whether “Allow backorder?” option will use radio buttons or a select. [Source] |
proceedToCheckoutButtonLabel [docs] and proceedToCheckoutButtonLink [docs] | Alter the text and link of the “Proceed to checkout” button in the Cart block. Our documentation has additional information on these filters and an example of how to use them. |
Actions
Action | Description |
woocommerce_reduce_order_item_stock | Fires when stock reduced to a specific line item. [Source] |
woocommerce_widget_layered_nav_filters_start | Allow 3rd party developers to add their own filters to start the Layered Navigation Filters Widget. [Source] |
Template Changes
There are no template changes in this release.
Database Changes
There are no database changes in this release.
Deprecations
There are no deprecations in this release.
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.
Leave a Reply