Developer Advisory: Coupon discount calculation is reverted in 10.3

As part of WooCommerce 10.3, we are shipping a reversion of a previous fix related to coupon discount calculations.

The details

In WooCommerce 10.1, we merged the following pull requests:

These changes attempted to address a bug where the discount could become larger than the coupon value when order item quantity was manually increased.

Because the side effects outweighed the benefits, the fix has been fully reverted in #61091 for WooCommerce 10.3.

How can I tell if this affects me?

Developers may have noticed problems when:

  • An order with a coupon applied was manually edited (e.g., changing item prices or taxes). Upon saving, values were automatically recalculated, preventing manual adjustments.
  • In some cases, even changing the order status would trigger recalculations of prices and discounts.

What action should I take?

No action is required. The change has been reverted for all sites as of WooCommerce 10.3.

If you experienced these issues on WooCommerce 10.1 or 10.2, upgrading to 10.3 will restore expected behavior.


Leave a Reply

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