WooCommerce 7.0

·

·

WooCommerce 7.0 was released on October 11, 2022. This release should be backwards compatible with the previous version and contains

  • 159 commits from 45 contributors in WooCommerce Core
  • 96 commits from 15 contributors in WooCommerce Blocks

As always, it is recommended to create a backup of your site and making sure that your theme and any other plugins are compatible before updating.

WooCommerce Blocks

WooCommerce Filter UI Updates

As part of our objective to provide a seamless out-of-the-box experience with product filters, we have updated the existing filter block UI for a cleaner look and feel and have added a new “Reset” feature for each filter.

Product Search is now a variation of the WordPress core Search block

Given the power that Gutenberg block variations offer, we have refactored the Product Search block to be a variation of the WordPress core Search block. That means you have many more customization options now: hiding the label/button, modifying their text, changing the styles, etc.

In order to have the new Product Search available, you will need to have Gutenberg installed. This will also work with the next version of WordPress (6.1).

You can easily update existing instances of the Product Search block to this new block variation from the editor.

Cart & Checkout Blocks: Make the current page into the default cart/checkout pages notice

We’ve created a notice that, without leaving the current page, changes it to the default cart or checkout page.

Mobile App “Magic Link”: It’s now easier to sign-in into the mobile app. From the Help toolbar menu in WooCommerce > Home, click “Get the WooCommerce app” and follow the prompts to send a magic link to the email account on your device.


Actions and Filters

This release doesn’t add any actions.

FilterDescription
woocommerce_product_reviews_list_table_prepare_items_argsProvides an opportunity to alter the comment query arguments used withinthe product reviews admin list table.
woocommerce_cot_shop_order_search_resultsProvides an opportunity to modify the list of order IDs obtained during an order search. This hook is used for Custom Order Table queries. For Custom Post Type order searches, the corresponding hookis `woocommerce_shop_order_search_results`.

Database Changes

Schema
Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore->get_database_schema
Database
wc_update_700_remove_download_log_fk

Template Changes

Template Name
/plugins/woocommerce/templates/emails/email-mobile-messaging.php
/plugins/woocommerce/templates/global/form-login.php
/plugins/woocommerce/templates/loop/no-products-found.php

Deprecations

There are no deprecations in this release.

Much 💜 to all the contributors

Finally WooCommerce thanks everyone in the community who has contributed via issue reports, fixes, translation, testing, supporting other users, or simply spreading the word.

Picture of Giardini della Biennale, Venice, Italy courtesy of Marco Chilese.