WooCommerce 7.1.0 Released

We are pleased to announce the release of WooCommerce 7.1. This release should be backward 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 7.1?

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:

Woo Minimal Header | Dark
Woo Footer with 2 Menus | Dark

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.

Snippet
const label = () => 'Pay now';

const { __experimentalRegisterCheckoutFilters } = window.wc.blocksCheckout;
__experimentalRegisterCheckoutFilters( 'custom-place-order-button-label', {
	placeOrderButtonLabel: label,
} );
Checkout Button

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

ActionDescription
woocommerce_before_delete_orderFires immediately before an order is deleted from the database. [Source]
woocommerce_before_trash_orderFires immediately before an order is trashed. [Source]

Filter

FilterDescription
woocommerce_feature_description_tipAllows 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 posts weโ€™ve previously made, 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.

Reposted from WooCommerce

If you have a care plan with 7th Circle Designs this update will be taken care of based on your plan’s schedule. If you do not have a care plan, sign up now.

Leave a Reply

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