Added minus symbol to cart discount labels too
This commit is contained in:
parent
60562e1a70
commit
c0cb5b27de
|
@ -488,7 +488,7 @@ class WC_Order {
|
|||
$total_rows[ __( 'Cart Subtotal:', 'woocommerce' ) ] = $subtotal;
|
||||
|
||||
if ( $this->get_cart_discount() > 0 )
|
||||
$total_rows[ __( 'Cart Discount:', 'woocommerce' ) ] = woocommerce_price( $this->get_cart_discount() );
|
||||
$total_rows[ __( 'Cart Discount:', 'woocommerce' ) ] = '-' . woocommerce_price( $this->get_cart_discount() );
|
||||
|
||||
if ( $this->get_shipping() > 0 )
|
||||
$total_rows[ __('Shipping:', 'woocommerce') ] = $this->get_shipping_to_display();
|
||||
|
|
Loading…
Reference in New Issue