get_order_item_totals() ) foreach ( $totals as $total ) : ?> get_items() ) > 0 ) { foreach( $order->get_items() as $item ) { $_product = apply_filters( 'woocommerce_order_item_product', $order->get_product_from_item( $item ), $item ); $item_meta = new WC_Order_Item_Meta( $item['item_meta'] ); ?> status, array( 'processing', 'completed' ) ) && ( $purchase_note = get_post_meta( $_product->id, '_purchase_note', true ) ) ) { ?>
is_visible() ) echo apply_filters( 'woocommerce_order_item_name', $item['name'], $item ); else echo apply_filters( 'woocommerce_order_item_name', sprintf( '%s', get_permalink( $item['product_id'] ), $item['name'] ), $item ); echo apply_filters( 'woocommerce_order_item_quantity', ' ' . sprintf( '× %s', $item['qty'] ) . '', $item ); $item_meta->display(); if ( $_product && $_product->exists() && $_product->is_downloadable() && $order->is_download_permitted() ) { $download_files = $order->get_item_downloads( $item ); $i = 0; $links = array(); foreach ( $download_files as $download_id => $file ) { $i++; $links[] = '' . sprintf( __( 'Download file%s', 'woocommerce' ), ( count( $download_file_urls ) > 1 ? ' ' . $i . ': ' : ': ' ) ) . esc_html( $file['name'] ) . ''; } echo implode( '
', $links ); } ?>
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(); ?>