get_order_item_totals()) foreach ($totals as $label => $value) : ?> get_items())>0) : foreach($order->get_items() as $item) : if (isset($item['variation_id']) && $item['variation_id'] > 0) : $_product = new WC_Product_Variation( $item['variation_id'] ); else : $_product = new WC_Product( $item['id'] ); endif; echo ' '; endforeach; endif; do_action( 'woocommerce_order_items_table', $order ); ?>
'.$item['name']; $item_meta = new order_item_meta( $item['item_meta'] ); $item_meta->display(); if ($_product->exists && $_product->is_downloadable() && $order->status=='completed') : echo '
' . __('Download file →', 'woocommerce') . ''; endif; echo '
'.$item['qty'].'' . $order->get_formatted_line_subtotal($item) . '

billing_email) echo '
'.__('Email:', 'woocommerce').'
'.$order->billing_email.'
'; if ($order->billing_phone) echo '
'.__('Telephone:', 'woocommerce').'
'.$order->billing_phone.'
'; ?>

get_formatted_billing_address()) _e('N/A', 'woocommerce'); else echo $order->get_formatted_billing_address(); ?>

get_formatted_shipping_address()) _e('N/A', 'woocommerce'); else echo $order->get_formatted_shipping_address(); ?>