PluginProbe
YayMail – WooCommerce Email Customizer / 3.2.6
YayMail – WooCommerce Email Customizer v3.2.6
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 / email-billing-shipping-address.php

email-billing-shipping-address.php in YayMail – WooCommerce Email Customizer 3.2.6, at views/templates/emails/email-billing-shipping-address.php

60 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit;
4 }
5 if ( ! empty( $billing_address ) && ! empty( $shipping_address ) ) {
6 $width = '50%';
7 } else {
8 $width = '100%';
9 }
10 ?>
11 <?php if ( ! empty( $billing_address ) ) { ?>
12 <div style="width: <?php echo esc_attr( $width ); ?>; float: left;">
13 <h2 style="color: #7f54b3; display: block; font-size: 18px; font-weight: bold; line-height: 130%; margin: 0 0 18px;">
14 <?php esc_html_e( 'Billing Address', 'woocommerce' ); ?>
15 </h2>
16 </div>
17 <?php } ?>
18 <?php if ( ! empty( $shipping_address ) ) { ?>
19 <div style="width: <?php echo esc_attr( $width ); ?>; float: right;">
20 <h2 style="color: #7f54b3; display: block; font-size: 18px; font-weight: bold; line-height: 130%; margin: 0 0 18px;">
21 <?php esc_html_e( 'Shipping Address', 'woocommerce' ); ?>
22 </h2>
23 </div>
24 <?php } ?>
25
26 <?php if ( ! empty( $billing_address ) ) { ?>
27 <div style="width: <?php echo esc_attr( $width ); ?>; float: left;border-color: rgb(229, 229, 229);">
28 <table style="width: 100%; height: 18px; border-collapse: collapse;color: inherit;border-color: inherit;" border="0">
29 <tbody style="border-color: inherit;">
30 <tr style="height: 18px;border-color: inherit;">
31 <td style="height: 18px;border-color: inherit;" valign="top">
32 <address style="padding: 12px;border: 1px solid;border-color:inherit;">
33 <span style="font-size: 14px; color: inherit;">
34 <?php echo wp_kses_post( $billing_address ); ?>
35 </span>
36 </address>
37 </td>
38 </tr>
39 </tbody>
40 </table>
41 </div>
42 <?php } ?>
43 <?php if ( ! empty( $shipping_address ) ) { ?>
44 <div style="width: <?php echo esc_attr( $width ); ?>; float: right;border-color: rgb(229, 229, 229);">
45 <table style="width: 100%; height: 18px;border-collapse: collapse;border-color: inherit;" border="0">
46 <tbody style="border-color: inherit;">
47 <tr style="height: 18px;border-color: inherit;">
48 <td style="height: 18px;border-color: inherit;" valign="top">
49 <address style="padding: 12px;border: 1px solid;border-color:inherit;">
50 <span style="font-size: 14px; color: inherit;">
51 <?php echo wp_kses_post( $shipping_address ); ?>
52 </span>
53 </address>
54 </td>
55 </tr>
56 </tbody>
57 </table>
58 </div>
59 <?php } ?>
60