get_items( apply_filters( 'woocommerce_admin_order_item_types', array( 'line_item', 'fee', 'shipping', 'coupon' ) ) ); $shipping_methods = WC()->shipping() ? WC()->shipping->load_shipping_methods() : array(); foreach ( $order_items as $item_id => $item ) { switch ( $item['type'] ) { case 'line_item' : $_product = $order->get_product_from_item( $item ); $item_meta = $order->get_item_meta( $item_id ); include( 'html-order-item.php' ); break; case 'fee' : include( 'html-order-fee.php' ); break; case 'shipping' : include( 'html-order-shipping.php' ); break; case 'coupon' : include( 'html-order-coupon.php' ); break; } do_action( 'woocommerce_order_item_' . $item['type'] . '_html', $item_id, $item ); } if ( $refunds = $order->get_refunds() ) { foreach ( $refunds as $refund ) { include( 'html-order-refund.php' ); } } ?>
 
: get_total_shipping() ); ?>
: get_total_tax() ); ?>
:
get_total_discount() ); ?>
: -get_total_refunded() ); ?>
:
get_total() ); ?>