From 2c5a5b9409cf42f7e17a4ca09bcb032676caea85 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Fri, 11 Aug 2017 16:15:53 +0100 Subject: [PATCH] Discounts should be last --- .../admin/meta-boxes/views/html-order-items.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/includes/admin/meta-boxes/views/html-order-items.php b/includes/admin/meta-boxes/views/html-order-items.php index 9e9e8f1c4f0..3a13b055955 100644 --- a/includes/admin/meta-boxes/views/html-order-items.php +++ b/includes/admin/meta-boxes/views/html-order-items.php @@ -63,14 +63,6 @@ if ( wc_tax_enabled() ) { do_action( 'woocommerce_admin_order_items_after_line_items', $order->get_id() ); ?> - - $item ) { - include( 'html-order-discount.php' ); - } - do_action( 'woocommerce_admin_order_items_after_discounts', $order->get_id() ); - ?> - shipping() ? WC()->shipping->load_shipping_methods() : array(); @@ -88,6 +80,14 @@ if ( wc_tax_enabled() ) { do_action( 'woocommerce_admin_order_items_after_fees', $order->get_id() ); ?> + + $item ) { + include( 'html-order-discount.php' ); + } + do_action( 'woocommerce_admin_order_items_after_discounts', $order->get_id() ); + ?> + get_refunds() ) {