| 1 |
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?> |
| 2 |
<!DOCTYPE html> |
| 3 |
<html <?php language_attributes(); ?>> |
| 4 |
|
| 5 |
<head> |
| 6 |
<meta charset="UTF-8"> |
| 7 |
<title><?php use FluentCart\App\App; |
| 8 |
|
| 9 |
echo esc_html__('Order Created Notification', 'fluent-cart'); ?></title> |
| 10 |
</head> |
| 11 |
|
| 12 |
<body style="font-family: 'Arial', sans-serif; background-color: #f4f4f4; padding: 0;margin: 0;"> |
| 13 |
<div style="background-color: #fff;"> |
| 14 |
<div style="background-color: #F6F8FB; padding: 40px;"> |
| 15 |
<div class="email-template-content" style="max-width: 600px;width: 100%; margin-left: auto; margin-right: auto;"> |
| 16 |
<div style="background-color: #fff; border-radius: 8px; "> |
| 17 |
<?php |
| 18 |
App::make('view')->render('emails.components.header'); |
| 19 |
?> |
| 20 |
<div style="padding: 20px;"> |
| 21 |
|
| 22 |
<div class="no-print"> |
| 23 |
<h2 style="margin-top: 0; margin-bottom: 15px; font-size: 20px; font-weight: 600; color: #2F3448;"><?php echo esc_html__('Order Created', 'fluent-cart') ?></h2> |
| 24 |
|
| 25 |
<p style="font-size: 14px; margin-top: 0; margin-bottom: 4px; color: #2F3448;"><?php echo esc_html__('Hello ', 'fluent-cart') ?> |
| 26 |
{{order.billing.first_name}}!</p> |
| 27 |
|
| 28 |
<p style="font-size: 14px; margin: 0; color: #2F3448;"> |
| 29 |
<?php echo esc_html__('Your order ', 'fluent-cart') ?> |
| 30 |
|
| 31 |
<strong style="color: #007bff;"> |
| 32 |
<a href="{{order.customer_order_link}}" style="color: #007bff; text-decoration: none;"> |
| 33 |
#{{order.id}} |
| 34 |
</a> |
| 35 |
</strong> |
| 36 |
|
| 37 |
<?php echo esc_html__('has been created. Please check the details below', 'fluent-cart'); ?> |
| 38 |
</p> |
| 39 |
<div style="height: 1px; background-color: #EAECF0; margin-top: 20px; margin-bottom: 20px;"></div> |
| 40 |
</div> |
| 41 |
|
| 42 |
|
| 43 |
<div> |
| 44 |
|
| 45 |
<table style="width: 100%; border: none !important;"> |
| 46 |
<tr style="width: 100%;"> |
| 47 |
<td style="width: 50%; border: none !important;"> |
| 48 |
<h3 style="color: #2F3448; font-size: 16px; font-weight: 600; line-height: 24px; margin-bottom: 10px;"><?php esc_html_e('Order Summary', 'fluent-cart'); ?></h3> |
| 49 |
<table style="font-size: 14px; font-weight: 400; width: 100%; border-collapse: collapse; border: 0; margin-bottom: 20px;"> |
| 50 |
<tr> |
| 51 |
<td style="color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px; "><?php echo esc_html__('Order ID:', 'fluent-cart') ?></td> |
| 52 |
<td style="color: #2F3448; border: 0; padding-top: 5px; padding-bottom: 3px;"> |
| 53 |
#{{order.id}} |
| 54 |
</td> |
| 55 |
</tr> |
| 56 |
<tr> |
| 57 |
<td style="color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px;"><?php echo esc_html__('Date:', 'fluent-cart') ?></td> |
| 58 |
<td style="color: #2F3448; border: 0; padding-top: 5px; padding-bottom: 3px;font-size: 12px;"> |
| 59 |
{{order.updated_at}} |
| 60 |
</td> |
| 61 |
</tr> |
| 62 |
</table> |
| 63 |
</td> |
| 64 |
|
| 65 |
<td style="width: 50%; border: none !important;"> |
| 66 |
<h3 style="color: #2F3448; font-size: 16px; font-weight: 600; line-height: 24px; margin-bottom: 10px; text-align: right"><?php esc_html_e('Customer Info', 'fluent-cart'); ?></h3> |
| 67 |
<table style="font-size: 14px; font-weight: 400; width: 100%; border-collapse: collapse; border: 0; margin-bottom: 20px;"> |
| 68 |
<tr> |
| 69 |
<td style="text-align: right; color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px; "> |
| 70 |
{{order.customer.full_name}} |
| 71 |
</td> |
| 72 |
</tr> |
| 73 |
<tr> |
| 74 |
<td style="text-align: right; color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px; "> |
| 75 |
{{order.customer.email}} |
| 76 |
</td> |
| 77 |
</tr> |
| 78 |
|
| 79 |
</table> |
| 80 |
</td> |
| 81 |
</tr> |
| 82 |
</table> |
| 83 |
|
| 84 |
|
| 85 |
{{order.payment_summary}} |
| 86 |
</div> |
| 87 |
</div> |
| 88 |
</div> |
| 89 |
</div> |
| 90 |
<?php |
| 91 |
|
| 92 |
App::make('view')->render('emails.components.cta'); |
| 93 |
|
| 94 |
?> |
| 95 |
</div> |
| 96 |
|
| 97 |
</div> |
| 98 |
</body> |
| 99 |
</html> |
| 100 |
|