I am developing a booking system in which the client wants only to take a USD 50 deposit and to negotiate the remaining amount separately. In order to achieve this I have used the following code to update the total price to USD 50 and to show the remaining price.
function prefix_add_discount_line( $cart ) {
$deposit = 50;
$remaining = $cart->subtotal - 50;
$cart->add_fee( __( 'Amount Remaining', 'remaining' ) , -$remaining);
}
add_action( 'woocommerce_cart_calculate_fees', 'prefix_add_discount_line' );
In the order emails the remaining amount is displayed with a minus(-) symbol. Please let me know how to remove the minus symbol in the woocommerce order emails