WooCommerce 7.8 Beta 1 Released

Beta 1 for the June 13 release of WooCommerce is now available for testing! You can either download it directly from WordPress.org or install our WooCommerce Beta Tester Plugin.

Highlights

Since the release of 7.7.0, the following changes have been made:

  • WooCommerce Blocks has been updated to 10.2.0 which includes the following changes. For a full list of changes, see the 10.2.0 release post.
  • The global enqueue of wc-cart-fragments has been removed. (See dev note below) #35530

For the complete list, view the changelog in the readme for this release.

Developer Notes

The Cart Fragments script, responsible for updating the cart widget after a successful add to cart event, can cause a performance issue on stores not making use of that functionality. To mitigate this, the script will now only be enqueued if using the Mini Cart widget.

Stores with similar functionality (e.g. from a theme) that are not using the widget can re-enable this functionality by either adding the widget to one of their widget areas/sidebars, or by enqueuing the script manually:

wp_enqueue_script( 'wc-cart-fragments' );

If you’re looking for an alternative to the Mini Cart widget that does not suffer from the performance issue, try the Mini Cart Block instead.

Actions and Filters

This release adds 1 new action and 2 new filters.

Action

ActionDescription
woocommerce_remove_order_itemsTrigger action before removing all order line items. Allows you to track order items. [source]

Filters

FilterDescription
woocommerce_product_add_to_cart_aria_describedbyFilter the aria-describedby description for the add to cart button. [source]
woocommerce_suggest_jetpackWhen false, Jetpack is removed from the list of suggested extensions. [source]

Database Changes

This release has no database changes.

Template Changes

This release updates 13 templates

Template FileGitHub Links
/templates/cart/cart.php#36868 #37830
/templates/cart/mini-cart.php#37830
/templates/checkout/form-pay.php#37514
/templates/checkout/payment.php#37514
/templates/global/quantity-input.php#37811
/templates/loop/no-products-found.php#37514
/templates/myaccount/downloads.php#37514
#37933
/templates/myaccount/form-add-payment-method.php#37514
/templates/myaccount/orders.php#37514
#37933
/templates/myaccount/payment-methods.php#37514
/templates/order/order-again.php#37933
/templates/order/order-details.php#37514
/templates/single-product/product-image.php#37853

Release Schedule

We’re on track for our planned June 13 release.

VersionRelease
Release Candidate June 6, 2023
Final Release June 13, 2023

Testing

If you’d like to dive in and help test this new release, our handy WooCommerce Beta Tester plugin allows you to switch between beta versions and release candidates. You can also download the release from WordPress.org.

A set of testing instructions has been published on our Wiki page in GitHub. We’ve also posted a helpful writeup on beta testing to help get you started.

If you discover any bugs during the testing process, please let us know by logging a report in GitHub.


Keep yourself in the loop!

Sign up for the WooCommerce developer newsletter:
Hidden
Hidden
Hidden


Leave a Reply

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