mailtemplate.vm
16.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ONE PARTY GO</title>
</head>
<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0">
<div id="wrapper" dir="ltr" style="background-color: #f5f5f5; margin: 0; padding: 70px 0 70px 0; -webkit-text-size-adjust: none !important; width: 100%;">
<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%"><tr>
<td align="center" valign="top">
<div id="template_header_image">
</div>
<table border="0" cellpadding="0" cellspacing="0" width="600" id="template_container" style="box-shadow: 0 1px 4px rgba(0,0,0,0.1) !important; background-color: #fdfdfd; border: 1px solid #dcdcdc; border-radius: 3px !important;">
<tr>
<td align="center" valign="top">
<!-- Header -->
<table border="0" cellpadding="0" cellspacing="0" width="600" id="template_header" style='background-color: #557da1; border-radius: 3px 3px 0 0 !important; color: #ffffff; border-bottom: 0; font-weight: bold; line-height: 100%; vertical-align: middle; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;'><tr>
<td id="header_wrapper" style="padding: 36px 48px; display: block;">
<h1 style='color: #ffffff; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 30px; font-weight: 300; line-height: 150%; margin: 0; text-align: left; text-shadow: 0 1px 0 #7797b4; -webkit-font-smoothing: antialiased;'>Your order is complete</h1>
</td>
</tr></table>
<!-- End Header -->
</td>
</tr>
<tr>
<td align="center" valign="top">
<!-- Body -->
<table border="0" cellpadding="0" cellspacing="0" width="600" id="template_body"><tr>
<td valign="top" id="body_content" style="background-color: #fdfdfd;">
<!-- Content -->
<table border="0" cellpadding="20" cellspacing="0" width="100%"><tr>
<td valign="top" style="padding: 48px;">
<div id="body_content_inner" style='color: #737373; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 14px; line-height: 150%; text-align: left;'>
<p style="margin: 0 0 16px;">Hi there. Your recent order on ONE PARTY GO has been completed.
Your order details are shown below for your reference:</p>
## <a class="button-primary all-tickets-button" href="https://www.onepartygo.com/order-tickets/wc_order_58bdee57b765f/?n=7c2391cf2863d0332a29e88d235f2e6f" title="View all of the tickets on a single page, for this order" target="_blank" style="color: #557da1; font-weight: normal; text-decoration: underline;">View all of your tickets on a single page »</a>
<h2 style='color: #557da1; display: block; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 18px; font-weight: bold; line-height: 130%; margin: 16px 0 8px; text-align: left;'>Order $!{domain.orderNumber}</h2>
<table class="td" cellspacing="0" cellpadding="6" style="width: 100%; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; color: #737373; border: 1px solid #e4e4e4;" border="1">
<thead>
<tr>
<th class="td" scope="col" style="text-align: left; color: #737373; border: 1px solid #e4e4e4; padding: 12px;">Product</th>
<th class="td" scope="col" style="text-align: left; color: #737373; border: 1px solid #e4e4e4; padding: 12px;">QR Code</th>
<th class="td" scope="col" style="text-align: left; color: #737373; border: 1px solid #e4e4e4; padding: 12px;">Quantity</th>
<th class="td" scope="col" style="text-align: left; color: #737373; border: 1px solid #e4e4e4; padding: 12px;">Price</th>
</tr>
</thead>
#foreach($ticket in $domain.list)
<tbody><tr class="order_item">
<td class="td" style="text-align: left; vertical-align: middle; border: 1px solid #eee; font-family: 'Helvetica Neue', Helvetica,
Roboto, Arial, sans-serif; word-wrap: break-word; color: #737373; padding: 12px;"><br>
<small><strong>Event</strong>: $!{domain.eventName}
on $!{domain.eventStartTime}</small> <br><small>
<strong>Zone</strong>:
$!{domain.location} -$!{ticket.name} </small><br><small>
<strong>Ticket:</strong> <small>$!{ticket.name}</small><br><small></small>
</td>
<td class="td" style="text-align: left; vertical-align: middle; border: 1px solid #eee; font-family: 'Helvetica Neue', Helvetica,
Roboto, Arial, sans-serif; word-wrap: break-word; color: #737373; padding: 12px;">
$!{domain.eventName}<br>
<small><strong>Number</strong>:$!{ticket.number}</small> <br>
<img src="$!{ticket.url}" width="100px" height="100px" class="mail-m"><br>
</td>
<td class="td" style="text-align: left; vertical-align: middle; border: 1px solid #eee; font-family: 'Helvetica Neue', Helvetica,
Roboto, Arial, sans-serif; color: #737373; padding: 12px;">1</td>
<td class="td" style="text-align: left; vertical-align: middle; border: 1px solid #eee; font-family: 'Helvetica Neue', Helvetica,
Roboto, Arial, sans-serif; color: #737373; padding: 12px;"><span class="woocommerce-Price-amount
amount"><span class="woocommerce-Price-currencySymbol">$</span>$!{ticket.price}</span></td>
</tr></tbody>
#end
<tfoot>
<tr>
<th class="td" scope="row" colspan="3" style="text-align: left; border-top-width: 4px; color: #737373; border: 1px solid #e4e4e4; padding: 12px;">Subtotal:</th>
<td class="td" style="text-align: left; border-top-width: 4px; color: #737373; border: 1px solid #e4e4e4; padding: 12px;"><span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">$!{domain.currencyCode}</span>$!{domain.totalAmount}</span></td>
</tr>
<tr>
<th class="td" scope="row" colspan="3" style="text-align: left; color: #737373; border: 1px solid #e4e4e4; padding: 12px;">Discount:</th>
<td class="td" style="text-align: left; color: #737373; border: 1px solid #e4e4e4; padding: 12px;">-<span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">$!{domain.currencyCode}</span>$!{domain.discountAmount}</span>
</td>
</tr>
<tr>
<th class="td" scope="row" colspan="3" style="text-align: left; color: #737373; border: 1px solid #e4e4e4; padding: 12px;">Total:</th>
<td class="td" style="text-align: left; color: #737373; border: 1px solid #e4e4e4; padding: 12px;"><span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">$!{domain.currencyCode}</span>$!{domain.paidAmount}</span></td>
</tr>
</tfoot>
</table>
## <a class="button-primary all-tickets-button" href="https://www.onepartygo.com/order-tickets/wc_order_58bdee57b765f/?n=7c2391cf2863d0332a29e88d235f2e6f" title="View all of the tickets on a single page, for this order" target="_blank" style="color: #557da1; font-weight: normal; text-decoration: underline;">View all of your tickets on a single page
## »</a>
<h2 style='color: #557da1; display: block; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 18px; font-weight: bold; line-height: 130%; margin: 16px 0 8px; text-align: left;'>Customer
details</h2>
<ul>
<li>
<strong>Email:</strong> <span class="text" style='color: #505050; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;'>
law.t@bizrightllc.com</span>
</li>
<li>
<strong>Tel:</strong> <span class="text" style='color: #505050; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;'>3107378888</span>
</li>
</ul>
<table id="addresses" cellspacing="0" cellpadding="0" style="width: 100%; vertical-align: top;" border="0"><tr>
<td class="td" style="text-align: left; font-family: 'Helvetica
Neue', Helvetica, Roboto, Arial, sans-serif; color: #737373; border: 1px solid #e4e4e4; padding: 12px;" valign="top" width="50%">
<h3 style='color: #557da1; display: block; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; font-weight: bold; line-height: 130%; margin: 16px 0 8px; text-align: left;'>Billing address</h3>
<p class="text" style='color: #505050; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; margin: 0 0 16px;'>Lawrence gtest<br>
425 W Valley BLVD, ste104<br>
San Gabriel, CA 91776</p>
</td>
</tr></table>
<div class="robert_custom_form_field">
<div class="robert_custom_logo_area">
<h2 style='color: #557da1; display: block; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 18px; font-weight: bold; line-height: 130%; margin: 16px 0 8px; text-align: left;'>活动举办方</h2>
<img src="https://www.onepartygo.com/wp-content/plugins/opentickets-community-edition/assets/imgs/OnePartyGo-Logo-2.png" style="width: 500px; max-height: 100%; margin: 20px 0; border: none; display: inline; font-size: 14px; font-weight: bold; height: auto; line-height: 100%; outline: none; text-decoration: none; text-transform: capitalize;"><h2 style='color: #557da1; display: block; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 18px; font-weight: bold; line-height: 130%; margin: 16px 0 8px; text-align: left;'>感谢赞助商大力支持</h2>
<img src="https://www.onepartygo.com/wp-content/plugins/opentickets-community-edition/assets/imgs/sponsor-logo-group.png" style="width: 900px; max-height: 100%; margin: 20px 0; border: none; display: inline; font-size: 14px; font-weight: bold; height: auto; line-height: 100%; outline: none; text-decoration: none; text-transform: capitalize;">
</div>
<h2 style='color: #557da1; display: block; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 18px; font-weight: bold; line-height: 130%; margin: 16px 0 8px; text-align: left;'>扫描微信二维码,赢取更多优惠</h2>
<div class="qr_code_field">
<div class="qr_wechat_1" style="float: left; margin-right: 50px;">
<p style="margin: 0 0 16px;">客服微信 OPGVIP</p>
<p style="margin: 0 0 16px;"><img src="https://www.onepartygo.com/wp-content/uploads/2017/01/opgvip.png" style="width: 200px; height: auto; border: none; display: inline; font-size: 14px; font-weight: bold; line-height: 100%; outline: none; text-decoration: none; text-transform: capitalize;"></p>
</div>
<div class="qr_wechat_2" style="float: left;">
<p style="margin: 0 0 16px;">获取最新Party信息</p>
<p style="margin: 0 0 16px;"><img src="https://www.onepartygo.com/wp-content/uploads/2017/01/opgvip.png" style="width: 200px; height: auto; border: none; display: inline; font-size: 14px; font-weight: bold; line-height: 100%; outline: none; text-decoration: none; text-transform: capitalize;"></p>
</div>
</div>
</div>
</div>
</td>
</tr></table>
<!-- End Content -->
</td>
</tr></table>
<!-- End Body -->
</td>
</tr>
<tr>
<td align="center" valign="top">
<!-- Footer -->
<table border="0" cellpadding="10" cellspacing="0" width="600" id="template_footer"><tr>
<td valign="top" style="padding: 0; -webkit-border-radius: 6px;">
<table border="0" cellpadding="10" cellspacing="0" width="100%"><tr>
<td colspan="2" valign="middle" id="credit" style="padding: 0 48px 48px 48px; -webkit-border-radius: 6px; border: 0; color: #99b1c7; font-family: Arial; font-size: 12px; line-height: 125%; text-align: center;">
<p>OnePartyGo</p>
</td>
</tr></table>
</td>
</tr></table>
<!-- End Footer -->
</td>
</tr>
</table>
</td>
</tr></table>
</div>
</body>
</html>