From a0effafef93eaf3099f9f0bd3670261ad24a26d3 Mon Sep 17 00:00:00 2001 From: claudiulodro Date: Fri, 11 Aug 2017 11:48:08 -0700 Subject: [PATCH] Move discount row in frontend --- includes/class-wc-order.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-wc-order.php b/includes/class-wc-order.php index 76801d16761..5a53c96f9fb 100644 --- a/includes/class-wc-order.php +++ b/includes/class-wc-order.php @@ -1839,9 +1839,9 @@ class WC_Order extends WC_Abstract_Order { $total_rows = array(); $this->add_order_item_totals_subtotal_row( $total_rows, $tax_display ); - $this->add_order_item_totals_discount_row( $total_rows, $tax_display ); $this->add_order_item_totals_shipping_row( $total_rows, $tax_display ); $this->add_order_item_totals_fee_rows( $total_rows, $tax_display ); + $this->add_order_item_totals_discount_row( $total_rows, $tax_display ); $this->add_order_item_totals_tax_rows( $total_rows, $tax_display ); $this->add_order_item_totals_payment_method_row( $total_rows, $tax_display ); $this->add_order_item_totals_refund_rows( $total_rows, $tax_display );