WooCommerce 7.5.0 was released on March 14, 2023. This release should be backwards compatible with the previous version.
This release contains:
- 278 commits from 55 contributors in WooCommerce Core.
- 170 commits from 28 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.
Support for Style Book
Gutenberg 14.8 introduced Style Book, which allows merchants, web developers, and site admins to preview individual blocks. With the WooCommerce Blocks 9.5.0 release, the Featured Product and the Featured Category blocks are available here. This will enable the preview of any global style changes applied to these blocks.
Global Styles
Besides previewing blocks within the Style Book, we also migrated various blocks away from hardcoded CSS towards Global Styles. Since WooCommerce Blocks 9.5.0, the Product Button, Product Rating, and Product Price blocks utilise Global Styles.
The Product Rating block has gained support for padding global styles, making it easy to add spacing around it.
New Blocks
In addition to the Story Book and Global Styles improvements, we’re thrilled to introduce the following new blocks:
- Store Breadcrumbs block: Provides a clear and easy-to-follow navigation trail, allowing users to quickly understand their location within the store and facilitating navigation to previous sections.
- Product Results Count block: Displays the total number of products and how many are currently displayed, based on the global query.
- Catalog Sorting block: Allows users to sort products within a category by various criteria, such as price, popularity, and newness.
Actions and Filters Changes
There are no action or filter changes this release.
Template Changes
There are no template changes this release.
Database Changes
This release contains two DB updates:
- We add two columns to the
wc_order_stats
table:date_paid
anddate_completed
. Additionally, both of these columns are then backfilled by data from thepostmeta
table. - The experiment for the new product management feature is now turned off. Note that this will do a single
update_option
call, but only for very few stores that have it enabled.
Credits
- Picture by Pascal Debrunner
- This was first published on the WooCommerce developer blog
Schreibe einen Kommentar