Added minus symbol to cart discount labels too

This commit is contained in:
Coen Jacobs 2012-04-18 17:36:55 +02:00
parent 60562e1a70
commit c0cb5b27de
1 changed files with 1 additions and 1 deletions

View File

@ -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();