diff --git a/includes/class-wc-form-handler.php b/includes/class-wc-form-handler.php index 3e6df689ab8..b1f6bc068a8 100644 --- a/includes/class-wc-form-handler.php +++ b/includes/class-wc-form-handler.php @@ -418,9 +418,9 @@ class WC_Form_Handler { if ( $passed_validation ) { WC()->cart->set_quantity( $cart_item_key, $quantity, false ); + $cart_updated = true; } - $cart_updated = true; } }