Shipping should be displayed before fees

This commit is contained in:
Mike Jolley 2014-07-22 14:42:12 +01:00
parent 414bc4e314
commit 559ff43c42
1 changed files with 8 additions and 8 deletions

View File

@ -67,14 +67,6 @@ if ( 'yes' == get_option( 'woocommerce_calc_taxes' ) ) {
}
?>
</tbody>
<tbody id="order_fee_line_items">
<?php
$order_items = $order->get_items( 'fee' );
foreach ( $order_items as $item_id => $item ) {
include( 'html-order-fee.php' );
}
?>
</tbody>
<tbody id="order_shipping_line_items">
<?php
$order_items = $order->get_items( 'shipping' );
@ -84,6 +76,14 @@ if ( 'yes' == get_option( 'woocommerce_calc_taxes' ) ) {
}
?>
</tbody>
<tbody id="order_fee_line_items">
<?php
$order_items = $order->get_items( 'fee' );
foreach ( $order_items as $item_id => $item ) {
include( 'html-order-fee.php' );
}
?>
</tbody>
<tbody id="order_refunds">
<?php
if ( $refunds = $order->get_refunds() ) {