WooCommerce 7.1 was released on November 8, 2022. This release should be backward compatible with the previous version. It contains:
- 185 commits from 37 contributors in WooCommerce Core
- 162 commits from 22 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.
Spotlight Tour for Products Task
The new product spotlight tour intends to help new store owners to create their products in a guided way. It filters out distractions and includes helpful texts to describe essential fields within the product form.
You can try out the new spotlight tour by going to WooCommerce > Home
and then Add products > Start with a template
from the setup task list. Select any template, and then click on Go
.
WooCommerce Blocks
New Block Patterns
WooCommerce Blocks now come with 6 new header and footer patterns each. You can view the new patterns here:
Filter for place order button label
The Place Order
button either shows Place Order
or the payment method label, e.g. Proceed to PayPal
. However, a merchant couldn’t change the button label. A merchant can now change the label using a JavaScript snippet.
Cross-Sells on Cart Block
Go to your product’s data and add “Cross-sells” products in the Linked Products section.
When your customers go to their cart, if they have already selected any item featuring cross-selling products, these will show up right there, ready to purchase!
New @wordpress/data stores
Much of the data previously kept in React Contexts was moved into WordPress data stores (@wordpress/data) to make it easier for third-party extensions to extend the functionality of the Cart and Checkout blocks. All changes are backward compatible, further information about this feature is available here.
Actions and Filters
This release adds two new actions and one new filter.
Actions
Action | Description |
woocommerce_before_delete_order | Fires immediately before an order is deleted from the database. [Source] |
woocommerce_before_trash_order | Fires immediately before an order is trashed. [Source] |
Filter
Filter | Description |
woocommerce_feature_description_tip | Allows customizing the message that appears under the description of each feature on the features settings page. [Source] |
Database Changes
This release introduces High Performance Order Storage behind a feature flag, but it remains disabled by default. There are no database changes in this release if you do not enable HPOS.
For a complete overview of High Performance Order Storage, take a look at the previously posts, such as this post with frequently asked questions, or this one that addresses backward compatibility.
Template Changes
This release does not contain any template changes.
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.
Credits
- This was first published on developer.woocommerce.com
- Main picture courtesy of Karina Vorozheeva
Schreibe einen Kommentar