WooCommerce 5.0

·

·

On February 9 WooCommerce released a new version with some new features for WooCommerce. The update is backward compatible and shouldn’t introduce any issues.

New Features

Versioning

WooCommerce now uses the WordPress versioning schema, but this update is still backwards compatible. More information about the new versioning schema can be found at developer.woocommerce.com.

WooCommerce Admin 1.9.0

The update for WooCommerce Admin brings mostly bugfixes and improvements:

  • Help tooltip will now appear when a task has not been completed the second time to give additional help for the merchant.
  • Home screen task extensibility.
  • Added “unread” indicator to inbox messages.

Fixes and improvements

  • Product Review Count
    • A new migration script will fix the review count when new reviews are added.
  • Deprecate legacy reports
    • WooCommerce is encouraging users to start using the new WooCommerce Analytics and thus has soft deprecated the legacy reports with a notice in the legacy reports section.
  • CSS Variables
    • WooCommerce added prefixed CSS variables to the stylesheet. This provides easier extendibility when developers need to utilize the same WooCommerce default styling without needing to recreate the CSS.
  • Restoring products, orders and coupons
    • After trashing orders, products or coupons it will restore to the same status as what it was before to prevent issue.
  • Changing product type with attached files
    • WooCommerce now recognizes the change of product type and when you go to use the same downloadable file, it would recognize it and recreate the permissions for the same customer.

New Filters

ActionDescription
woocommerce_activated_pluginAction to signal that packages such as WC Admin has been activated. 
woocommerce_delete_variations
_on_product_type_change


Filter to prevent
variations from being deleted while switching from a variable product type to a variable product type. 
woocommerce_new_order
_email_allows_resend

Filter to allow resending of the new order email to the admin. 

Remember to create a backup before installing updates. Picture courtesy of Nathan Dumlao.