PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.1.0
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.1.0
3.3.0 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 trunk 1.0.4 1.1.0 1.1.0.1 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 All 162 releases
cartflows / modules / email-report / templates / email-content-section.php

email-content-section.php in CartFlows – Funnel Builder & Checkout Plugin for WooCommerce 3.1.0, at modules/email-report/templates/email-content-section.php

114 lines 5.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Template Name: Email content.
4 *
5 * @package CartFlows
6 */
7
8 // Exit if accessed directly.
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit;
11 }
12 ?>
13 <table align="center" border="0" cellpadding="0" cellspacing="0" class="row row-3" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #fff3f0;" width="100%">
14 <tbody>
15 <tr>
16 <td>
17 <table align="center" border="0" cellpadding="0" cellspacing="0" class="row-content stack" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #000000; width: 600px;" width="600">
18 <tbody>
19 <tr>
20 <td class="column column-1" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-weight: 400; text-align: left; vertical-align: top; border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px;" width="50%">
21 <table border="0" cellpadding="0" cellspacing="0" class="heading_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%">
22 <tr>
23 <td style="padding-bottom:10px;padding-left:10px;padding-top:60px;text-align:center;width:100%;">
24 <h1 style="margin: 0; color: #1f2937; direction: ltr; font-family: Arial, Helvetica Neue, Helvetica, sans-serif; font-size: 32px; font-weight: 400; letter-spacing: normal; line-height: 120%; text-align: left; margin-top: 0; margin-bottom: 0;">
25 <?php
26 /* translators: %s user name */
27 echo sprintf( esc_html__( 'Hey %s!', 'cartflows' ), esc_attr( $user_name ) );
28 ?>
29 </h1>
30 </td>
31 </tr>
32 </table>
33 <table border="0" cellpadding="0" cellspacing="0" class="text_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; word-break: break-word;" width="100%">
34 <tr>
35 <td style="padding-bottom:55px;padding-left:10px;padding-right:10px;padding-top:10px;">
36 <div style="font-family: sans-serif">
37 <div style="font-size: 14px; mso-line-height-alt: 25.2px; color: #393d47; line-height: 1.8; font-family: Arial, Helvetica Neue, Helvetica, sans-serif;">
38 <p style="margin: 0; font-size: 14px; text-align: left;">
39 <?php
40 echo sprintf(
41 /* translators: %1$s: store name, %2$s: total revenue. %3$s: total revenue*/
42 esc_html__(
43 '%1$s has earned a total %2$s in revenue last week by using CartFlows to power your store! And in the last month, it earned %3$s',
44 'cartflows'
45 ),
46 esc_attr( $store_name ),
47 wp_kses_post( $total_revenue ),
48 wp_kses_post( $last_month_revenue )
49 );
50 ?>
51 </p>
52 </div>
53 </div>
54 </td>
55 </tr>
56 </table>
57 </td>
58 <td class="column column-2" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-weight: 400; text-align: left; vertical-align: top; border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px;" width="50%">
59 <table border="0" cellpadding="0" cellspacing="0" class="heading_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%">
60 <tr>
61 <td style="padding-bottom:10px;padding-top:60px;text-align:center;width:100%;">
62 <h1 style="margin: 0; color: #1f2937; direction: ltr; font-family: Arial, Helvetica Neue, Helvetica, sans-serif; font-size: 32px; font-weight: 400; letter-spacing: normal; line-height: 120%; text-align: center; margin-top: 0; margin-bottom: 0;">
63 <?php echo wp_kses_post( $total_revenue ); ?>
64 </h1>
65 </td>
66 </tr>
67 </table>
68 <table border="0" cellpadding="0" cellspacing="0" class="text_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; word-break: break-word;" width="100%">
69 <tr>
70 <td style="padding-bottom:55px;padding-left:10px;padding-right:10px;padding-top:10px;">
71 <div style="font-family: sans-serif">
72 <div style="font-size: 14px; mso-line-height-alt: 16.8px; color: #393d47; line-height: 1.2; font-family: Arial, Helvetica Neue, Helvetica, sans-serif;">
73 <p style="margin: 0; font-size: 14px; text-align: center;">
74 <span style="font-size:14px;"><?php echo esc_html( $from_date . ' - ' . $to_date ); ?></span>
75 </p>
76 <p style="margin: 0; font-size: 14px; text-align: center;">
77 <span style="font-size:12px;">
78 <?php
79 echo esc_html__(
80 '(Last 7 days)',
81 'cartflows'
82 );
83 ?>
84 </span>
85 </p>
86 <p style="margin: 0; font-size: 14px; text-align: center; mso-line-height-alt: 16.8px;">&nbsp;</p>
87 <p style="margin: 0; font-size: 22px; text-align: center;">
88 <?php echo wp_kses_post( $last_month_revenue ); ?>
89 </p>
90 <p style="margin: 0; text-align: center;">
91 <span style="font-size:12px;">
92 <?php
93 echo esc_html__(
94 '(Last 30 days)',
95 'cartflows'
96 );
97 ?>
98 </span>
99 </p>
100 </div>
101 </div>
102 </td>
103 </tr>
104 </table>
105 </td>
106 </tr>
107 </tbody>
108 </table>
109 </td>
110 </tr>
111 </tbody>
112 </table>
113 <?php
114