WooCommerce 9.3.2: Dot Release

WooCommerce 9.3.2 has been released

This release includes several fixes which affect CSV imports, stock notifications, and the checkout mini cart.

Current Stable Tag

WooCommerce 9.3.2

Improved handling for the added_to_cart event

๐Ÿ› ๏ธ Check if button element exists when triggering added_to_cart (#51449)

We’ve improved our system to handle the added_to_cart event more flexibly across different themes and plugins.

Key changes:

  • Previously, some themes/plugins manually triggered the added_to_cart event without passing a button element.
  • We’ve added a safeguard to check for the presence of the $button argument before processing the event.
  • This prevents fatal errors when the event is triggered without a $button  element.

These changes allow third-party developers to trigger the added_to_cart event without needing to provide a button element, enhancing flexibility and compatibility across our ecosystem.


Revert low stock notification changes

โฎ๏ธ Revert low stock notification changes (#51441)

We recently made some changes to the way we notify users when a product is low in stock (#49583). However, some users have reported (1, 2) experiencing unexpected high volumes of low-stock notifications, particularly when performing actions such as:

  • Duplicating products
  • Bulk importing products
  • Bulk editing products

As a result, we have reverted the following commits, 623b1f310bc399ad94888, which were related to how we trigger product low stock notifications.


Fix: “Import file path is invalid” in Windows

๐Ÿ› ๏ธ Fix: “Import file path is invalid” in Windows (#51456)

We received a report from the community alerting us that version 9.3.0 introduced a bug in the Product CSV Importer and Exporter. The issues is present when WooCommerce instances are hosted on Windows servers.

The issue was fixed by addressing incorrect directory separator handling code introduce in a previous commit.


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 *