WooCommerce 6.9 Released

We are pleased to announce the release of WooCommerce 6.9. This release should be backwards compatible with the previous version.

This release contains:

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 6.9?

WooCommerce Blocks

Cart and Checkout Blocks are now a part of WooCommerce core as beta. Please refer to the Cart & Checkout Blocks documentation for more information.

Filters via URL for All Products block: Now, using filters with the All Products blocks, the URL is updated when the filter changes without any page reload.

Allow multiple selections for Attribute Filters: Previously, with Attribute Filters, when we set Display Style: Dropdown and Query Type: AND, it only allowed the users to select one single attribute term. Now, users can multi-select terms from the dropdown when the query type is set to AND.

These are just some of the changes that are included in WooCommerce 6.9. You can find the complete changelog for this release in the changelog.txt file.

Actions and Filters

FilterDescription
woocommerce_max_terms_displayed_in_attributes_pageFilters the maximum number of terms that will be displayed for each taxonomy in the Attributes page. @param int @default_max_terms_to_display Default value.@returns int Actual value to use, may be zero. (#33962)
woocommerce_cart_session_initializeFilters whether hooks should be initialized for the current cart session. @param bool $must_initialize Will be passed as true, meaning that the cart hooks should be initialized.@param bool $session The WC_Cart_Session object that is being initialized.@returns bool True if the cart hooks should be actually initialized, false if not. (#34156)
woocommerce_get_note_from_dbFilter the note from db. This is used to modify the note before it is returned. (#34352)
postmeta_form_keysFilters values for the meta key dropdown in the Custom Fields meta box. Compatibility filter for `postmeta_form_keys` filter. (#33972)

Database Changes

Schema Updates

Class NameCode Ref
OrdersTableDataStoreAutomattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore->get_database_schema

Template Changes

Template
/plugins/woocommerce/templates/cart/cart.php
/plugins/woocommerce/templates/cart/shipping-calculator.php
/plugins/woocommerce/templates/checkout/form-coupon.php
/plugins/woocommerce/templates/content-widget-price-filter.php
/plugins/woocommerce/templates/myaccount/form-login.php
/plugins/woocommerce/templates/single-product/add-to-cart/grouped.php

Deprecations

There are no deprecations in this release.

Reposted from WooCommerce

Leave a Reply

Your email address will not be published. Required fields are marked *