Move discount row in frontend

This commit is contained in:
claudiulodro 2017-08-11 11:48:08 -07:00
parent 15179b0e48
commit a0effafef9
1 changed files with 1 additions and 1 deletions

View File

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