PluginProbe
YayMail – WooCommerce Email Customizer / 2.1.4
YayMail – WooCommerce Email Customizer v2.1.4
4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 trunk 1.9.6 2.1.4 2.1.5 3.2.2 3.2.6 3.2.7.1 3.2.8.1 3.2.9 3.3 3.3.1 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4 3.4.1 All 57 releases
yaymail / views / templates / emails / sampleOrder / email-order-details.php

email-order-details.php in YayMail – WooCommerce Email Customizer 2.1.4, at views/templates/emails/sampleOrder/email-order-details.php

84 lines 2.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 defined( 'ABSPATH' ) || exit;
4 $sent_to_admin = ( isset( $sent_to_admin ) ? true : false );
5 $text_align = is_rtl() ? 'right' : 'left';
6 ?>
7
8 <!-- Title Table Order -->
9 <h2 class="yaymail_builder_order">
10 <?php
11 $before = '<a style="color: inherit" class="yaymail_builder_link" href="">';
12 $after = '</a>';
13 /* translators: %s: Order ID. */
14 echo wp_kses_post( $before . sprintf( __( '[Order #%s]', 'woocommerce' ) . $after . ' (<time datetime="%s">%s</time>)', 1, new WC_DateTime(), wc_format_datetime( new WC_DateTime() ) ) );
15 ?>
16 </h2>
17
18 <!-- Table Itemsr -->
19 <table class="yaymail_builder_table_items" cellspacing="0" cellpadding="6" style="width: 100% !important;" width="100%">
20 <thead>
21 <tr style="word-break: normal">
22 <th class="td" scope="col" style="text-align:left;">
23 <?php esc_html_e( 'Product', 'woocommerce' ); ?>
24 </th>
25 <th class="td" scope="col" style="text-align:left;">
26 <?php esc_html_e( 'Quantity', 'woocommerce' ); ?>
27 </th>
28 <th class="td" scope="col" style="text-align:left;">
29 <?php esc_html_e( 'Price', 'woocommerce' ); ?>
30 </th>
31 </tr>
32 </thead>
33
34 <tbody>
35 <tr>
36 <td class="td" scope="row" style="text-align:left;">
37 <?php esc_html_e( 'Happy YayCommerce', 'yaymail' ); ?>
38 </td>
39 <td class="td" scope="row" style="text-align:left;">
40 <?php esc_html_e( 1, 'yaymail' ); ?>
41 </td>
42 <td class="td" scope="row" style="text-align:left;">
43 <?php esc_html_e( '£18.00', 'yaymail' ); ?>
44 </td>
45 </tr>
46
47 <tr>
48 <td class="td" scope="row" colspan="2" style="text-align:left;">
49 <?php esc_html_e( 'Payment method:', 'yaymail' ); ?>
50 </td>
51 <td class="td" scope="row" colspan="1" style="text-align:left;">
52 <?php esc_html_e( 'Direct bank transfer', 'yaymail' ); ?>
53 </td>
54 </tr>
55 <tr>
56 <td class="td" scope="row" colspan="2" style="text-align:left;">
57 <?php esc_html_e( 'Total:', 'yaymail' ); ?>
58 </td>
59 <td class="td" scope="row" colspan="1" style="text-align:left;">
60 <?php esc_html_e( '£18.00', 'yaymail' ); ?>
61 </td>
62 </tr>
63 </tbody>
64
65 <tfoot>
66 <tr>
67 <td class="td" scope="row" colspan="2" style="text-align:left;">
68 <?php esc_html_e( 'Payment method:', 'yaymail' ); ?>
69 </td>
70 <td class="td" scope="row" colspan="1" style="text-align:left;">
71 <?php esc_html_e( 'Direct bank transfer', 'yaymail' ); ?>
72 </td>
73 </tr>
74 <tr>
75 <td class="td" scope="row" colspan="2" style="text-align:left;">
76 <?php esc_html_e( 'Total:', 'yaymail' ); ?>
77 </td>
78 <td class="td" scope="row" colspan="1" style="text-align:left;">
79 <?php esc_html_e( '£18.00', 'yaymail' ); ?>
80 </td>
81 </tr>
82 </tfoot>
83 </table>
84