PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.3.21
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.3.21
1.6.6 1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 1.3.20 1.3.19 All 49 releases
fluent-cart / app / Views / emails / parts / subscription_item.php

subscription_item.php in FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler 1.3.21, at app/Views/emails/parts/subscription_item.php

127 lines 7.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
2 <?php if (isset($heading)): ?>
3 <p style="font-size:16px;font-weight:500;color:rgb(44,62,80);margin:0px;margin-bottom:16px;line-height:24px;margin-top:0px;margin-left:0px;margin-right:0px">
4 <?php echo esc_html($heading); ?>
5 </p>
6 <?php endif; ?>
7
8 <table align="center" width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation"
9 style="border-width:1px;border-color:rgb(229,231,235);border-radius:8px;overflow:hidden;margin-bottom:16px;">
10 <tbody>
11 <tr>
12 <td>
13 <table align="center" width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation"
14 style="background-color:rgb(249,250,251);padding-left:16px;padding-right:16px;padding-top:0px;padding-bottom:0px;border-bottom-width:1px;border-color:rgb(229,231,235)">
15 <tbody style="width:100%">
16 <tr style="width:100%">
17 <td style="width:80%">
18 <p style="font-size:12px;font-weight:600;color:rgb(55,65,81);text-transform:uppercase;margin:0px;line-height:24px;margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">
19 <?php esc_html_e('Subscription', 'fluent-cart'); ?>
20 </p>
21 </td>
22 <td data-id="__react-email-column" style="width:20%;text-align:right">
23 <p style="font-size:12px;font-weight:600;color:rgb(55,65,81);text-transform:uppercase;margin:0px;line-height:24px;margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">
24 <?php esc_html_e('Price', 'fluent-cart'); ?>
25 </p>
26 </td>
27 </tr>
28 </tbody>
29 </table>
30 <table align="center" width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation"
31 style="padding-left:16px;padding-right:16px;padding-top:0px;padding-bottom:0px;border-bottom-width:1px;border-color:rgb(243,244,246)">
32 <tbody style="width:100%">
33 <tr style="width:100%">
34 <td style="width:80%">
35 <p style="font-size:14px;font-weight:600;color:rgb(17,24,39);margin-bottom:2px;line-height:24px;margin-top:16px">
36 <?php echo esc_html($subscription->item_name); ?>
37 </p>
38 </td>
39 <td style="width:20%;text-align:right">
40 <p style="font-size:14px;color:rgb(17,24,39);margin:0px;line-height:24px;margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">
41 <?php echo esc_html(\FluentCart\App\Helpers\Helper::toDecimal($transaction->total)); ?>
42 (<?php echo esc_html($subscription->billing_interval); ?>)
43 </p>
44 </td>
45 </tr>
46 </tbody>
47 </table>
48 </td>
49 </tr>
50 </tbody>
51 </table>
52 <table align="center" width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation"
53 style="background-color:rgb(249,250,251);padding:16px;border-radius:8px;margin-bottom:24px;border-width:1px;border-color:rgb(229,231,235)">
54 <tbody>
55 <tr>
56 <td>
57 <?php if ($order && $order->tax_total > 0): ?>
58 <table align="center" width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation">
59 <tbody style="width:100%">
60 <tr style="width:100%">
61 <td style="width:70%">
62 <p style="font-size:14px;color:rgb(55,65,81);margin:0px;line-height:24px;">
63 <?php esc_html_e('Subtotal', 'fluent-cart'); ?>
64 </p>
65 </td>
66 <td style="width:30%;text-align:right">
67 <p style="font-size:14px;color:rgb(55,65,81);margin:0px;line-height:24px;">
68 <?php echo esc_html(\FluentCart\App\Helpers\Helper::toDecimal($order->subtotal)); ?>
69 </p>
70 </td>
71 </tr>
72 <tr style="width:100%">
73 <td style="width:70%">
74 <p style="font-size:14px;color:rgb(55,65,81);margin:0px;line-height:24px;">
75 <?php esc_html_e('Tax', 'fluent-cart');
76 echo esc_html($order->tax_behavior == 2 ? __(' (Included)', 'fluent-cart') : __(' (Excluded)', 'fluent-cart'));
77 ?>
78 </p>
79 </td>
80 <td style="width:30%;text-align:right">
81 <p style="font-size:14px;color:rgb(55,65,81);margin:0px;line-height:24px;">
82 <?php echo esc_html(\FluentCart\App\Helpers\Helper::toDecimal($order->tax_total)); ?>
83 </p>
84 </td>
85 </tr>
86 </tbody>
87 </table>
88 <hr style="border-color:rgb(209,213,219);margin-top:8px;margin-bottom:8px;width:100%;border:none;border-top:1px solid #eaeaea">
89 <?php endif; ?>
90 <table align="center" width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation">
91 <tbody style="width:100%">
92 <tr style="width:100%">
93 <td style="width:70%"><p
94 style="font-size:16px;font-weight:700;color:rgb(17,24,39);margin:0px;line-height:24px;margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">
95 <?php esc_html_e('Total', 'fluent-cart'); ?>
96 </p>
97 </td>
98 <td style="width:30%;text-align:right">
99 <p style="font-size:16px;font-weight:700;color:rgb(17,24,39);margin:0px;line-height:24px;margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">
100 <?php echo esc_html(\FluentCart\App\Helpers\Helper::toDecimal($transaction->total)); ?>
101 </p>
102 </td>
103 </tr>
104 </tbody>
105 </table>
106 <hr style="border-color:rgb(209,213,219);margin-top:8px;margin-bottom:8px;width:100%;border:none;border-top:1px solid #eaeaea">
107 <table align="center" width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation">
108 <tbody style="width:100%">
109 <tr style="width:100%">
110 <td style="width:70%">
111 <p>
112 <?php esc_html_e('Payment Method', 'fluent-cart'); ?>
113 </p>
114 </td>
115 <td style="width:30%;text-align:right">
116 <p>
117 <?php echo esc_html($transaction->getPaymentMethodText()); ?>
118 </p>
119 </td>
120 </tr>
121 </tbody>
122 </table>
123 </td>
124 </tr>
125 </tbody>
126 </table>
127