WooCommerce 8.6 RC: Classic notice templates for classic themes & more

Hello everyone!

WooCommerce 8.6 RC is now available for testing! You can either download it directly from WordPress.org or install it via the WooCommerce Beta Tester Plugin.

What’s new in WooCommerce 8.6?

In addition to the highlights mentioned in the 8.6 Beta, WooCommerce 8.6 also includes:

Bringing back classic notice templates for classic themes

With WooCommerce 8.5, we introduced the block notice templates for classic themes. This introduced a breaking change to customised classic notice templates, due to different CSS classes and a different HTML markup. As a result of that, notice templates that have been customised for classic themes, stopped working.

With this release, we’ve reverted this change. When using a classic theme, the classic notice templates will be used, and when using a block theme, the new block notice templates will be used. The classic notice templates are located in plugins/woocommerce/templates/notices while the block notice templates are located in plugins/woocommerce/templates/block-notices


Default Fallback Marketing Channel Recommendations in WooCommerce Plugin

Before this release, when “Marketplace suggestions” is turned off in WooCommerce Settings > Advanced > Woo.com page, marketing channel recommendations will still be fetched from woo.com API and be displayed in WooCommerce > Marketing page.

In this release, marketing channel recommendations in WooCommerce > Marketing page will be displayed using data bundled in WooCommerce plugin, without making requests to woo.com API.

This behavior is in line with other features such as payment gateway suggestions and shipping partner suggestions.

Marketplace suggestions feature is turned off.
Marketing channel recommendations.

New Sales column in Campaigns card in Marketing page

A new “Sales” column is added in the Campaigns card in WooCommerce > Marketing page. This means that marketing channels can now display cost and sales figures for their marketing campaigns in the card.

When there are no values for the cost or sales columns, a dash “-” will be displayed.

Campaigns card with Cost and Sales columns.

More updates

WooCommerce 8.6 RC also includes the following changes since the 8.6 Beta:

  • Change specificity of date picker rules (#44174)
  • Set `$plain_text` to false in new email addresses hook (#44178)
  • Marketplace: Fix the bug hiding connection warning (#44207)
  • Remove Customer Order Count from Order Attribution checkout data (#44359)
  • Move the guest should verify email logic to the order class (#43834)

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

Release Schedule

We’re on track for our planned February 13, 2024 release.

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.

We’ve 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!

This field is hidden when viewing the form
This field is hidden when viewing the form
This field is hidden when viewing the form


3 responses to “WooCommerce 8.6 RC: Classic notice templates for classic themes & more”

  1. “When using a classic theme, the classic notice templates will be used, and when using a block theme, the new block notice templates will be used.”

    Just to confirm, does that apply to every notice, e.g. if you are on a classic theme, but use blocks in page content/widget, the notices that appear within those blocks will use the old notice styling (e.g. .woocommerce-info)? so the notices are consistent throughout the entire site.

    Also there are scenarios where developers may have added an inline notice element to the frontend, see: https://woocommercecommunity.slack.com/archives/C03MCL9RTAR/p1706881020606909 – it seems like doing this may now need a conditional to apply different classes to these notices depending on the same conditions core is using to determine if a classic or block theme, can you confirm the recommended conditional for this.

  2. Niels Lange Avatar
    Niels Lange

    Thanks for reaching out, 99w.

    Just to confirm, does that apply to every notice, e.g. if you are on a classic theme, but use blocks in page content/widget, the notices that appear within those blocks will use the old notice styling (e.g. .woocommerce-info)? so the notices are consistent throughout the entire site.

    The notice templates are displayed based on the theme, independent of the used content. In your example, when using a classic theme, e.g. Storefront, but using blocks in widgets or even when using the Cart and Checkout blocks, the classic notice templates will be visible, based on the used theme. This, indeed, affects the entire site.

    Also there are scenarios where developers may have added an inline notice element to the frontend, see: https://woocommercecommunity.slack.com/archives/C03MCL9RTAR/p1706881020606909 – it seems like doing this may now need a conditional to apply different classes to these notices depending on the same conditions core is using to determine if a classic or block theme, can you confirm the recommended conditional for this.

    For checking the theme type, you can use the function wp_is_block_theme(). On https://developer.wordpress.org/reference/functions/wp_is_block_theme/, you can find the corresponding documentation.

    I hope this helps and answers your question. If you have any further questions, just let me know.

  3. […] WooCommerce 8.6 är släppt i en första lanseringskandidat, men planerad lansering den 14 […]

Leave a Reply

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