diff --git a/includes/class-wc-cart.php b/includes/class-wc-cart.php index 637d125d0dc..fe2d9f8e921 100644 --- a/includes/class-wc-cart.php +++ b/includes/class-wc-cart.php @@ -256,7 +256,7 @@ class WC_Cart { } // Queue re-calc if subtotal is not set - if ( ( ! $this->subtotal && ! $this->is_empty() || $update_cart_session ) { + if ( ( ! $this->subtotal && ! $this->is_empty() ) || $update_cart_session ) { $this->calculate_totals(); } }