';
if ( $_product && ! $_product->is_visible() )
echo apply_filters( 'woocommerce_order_table_product_title', $item['name'], $item );
else
echo apply_filters( 'woocommerce_order_table_product_title', sprintf( '%s', get_permalink( $item['product_id'] ), $item['name'] ), $item );
echo apply_filters( 'woocommerce_order_table_item_quantity', ' × ' . $item['qty'] . '', $item );
$item_meta = new WC_Order_Item_Meta( $item['item_meta'] );
$item_meta->display();
if ( $_product && $_product->exists() && $_product->is_downloadable() && $order->is_download_permitted() ) {
$download_file_urls = $order->get_downloadable_file_urls( $item['product_id'], $item['variation_id'], $item );
$i = 0;
$links = array();
foreach ( $download_file_urls as $file_url => $download_file_url ) {
$filename = woocommerce_get_filename_from_url( $file_url );
$links[] = '' . sprintf( __( 'Download file%s', 'woocommerce' ), ( count( $download_file_urls ) > 1 ? ' ' . ( $i + 1 ) . ': ' : ': ' ) ) . $filename . '';
$i++;
}
echo implode( ' ', $links ); } echo ' | ' . $order->get_formatted_line_subtotal( $item ) . ' | |
' . apply_filters('the_content', $purchase_note) . ' |
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(); ?>