| 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;background: white;border-radius: 12px;overflow: hidden;"> |
| 16 |
<div style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);color: white;padding: 10px 30px 30px 30px;text-align: center;"> |
| 17 |
<?php |
| 18 |
App::make('view')->render('emails.components.header'); |
| 19 |
?> |
| 20 |
<h1 style="font-size: 24px;font-weight: 600;margin-bottom: 8px;"><?php esc_html_e('Package Delivered Successfully!', 'fluent-cart'); ?></h1> |
| 21 |
<p style="opacity: 0.9;font-size: 16px;margin: 0;"><?php esc_html_e('Your order has arrived at its destination', 'fluent-cart'); ?></p> |
| 22 |
</div> |
| 23 |
|
| 24 |
<div style="background-color: #fff; border-radius: 8px; "> |
| 25 |
|
| 26 |
<div style="padding: 20px;"> |
| 27 |
<table style="width: 100%; border: none !important;"> |
| 28 |
<tr style="width: 100%;"> |
| 29 |
<td style="width: 50%; border: none !important;"> |
| 30 |
<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> |
| 31 |
<table style="font-size: 14px; font-weight: 400; width: 100%; border-collapse: collapse; border: 0; margin-bottom: 20px;"> |
| 32 |
<tr> |
| 33 |
<td style="color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px; "><?php echo esc_html__('Order ID:', 'fluent-cart') ?></td> |
| 34 |
<td style="color: #2F3448; border: 0; padding-top: 5px; padding-bottom: 3px;"> |
| 35 |
<a href="{{order.customer_order_link}}" style="color: #007bff; text-decoration: none;"> |
| 36 |
#{{order.id}} |
| 37 |
</a> |
| 38 |
</td> |
| 39 |
</tr> |
| 40 |
<tr> |
| 41 |
<td style="color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px;"><?php echo esc_html__('Date:', 'fluent-cart') ?></td> |
| 42 |
<td style="color: #2F3448; border: 0; padding-top: 5px; padding-bottom: 3px;font-size: 12px;"> |
| 43 |
{{order.updated_at}} |
| 44 |
</td> |
| 45 |
</tr> |
| 46 |
</table> |
| 47 |
</td> |
| 48 |
|
| 49 |
<td style="width: 50%; border: none !important;"> |
| 50 |
<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> |
| 51 |
<table style="font-size: 14px; font-weight: 400; width: 100%; border-collapse: collapse; border: 0; margin-bottom: 20px;"> |
| 52 |
<tr> |
| 53 |
<td style="text-align: right; color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px; "> |
| 54 |
{{order.customer.full_name}} |
| 55 |
</td> |
| 56 |
</tr> |
| 57 |
<tr> |
| 58 |
<td style="text-align: right; color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px; "> |
| 59 |
{{order.customer.email}} |
| 60 |
</td> |
| 61 |
</tr> |
| 62 |
|
| 63 |
</table> |
| 64 |
</td> |
| 65 |
</tr> |
| 66 |
</table> |
| 67 |
|
| 68 |
{{order.payment_summary}} |
| 69 |
|
| 70 |
|
| 71 |
<table style="width: 100%; border: none !important;margin-top: 20px;"> |
| 72 |
<tr style="width: 100%;"> |
| 73 |
<td style="text-align: right;padding-right: 4px;"> |
| 74 |
<a href="https://fluentcart.com" style="padding: 10px 20px;display:inline-block;text-decoration: none;border-radius: 8px;font-weight: 600;font-size: 14px;text-align: center;background: linear-gradient(135deg, #3b82f6, #2563eb);color: white;"> |
| 75 |
<?php esc_html_e('Leave a Review', 'fluent-cart'); ?> |
| 76 |
</a> |
| 77 |
</td> |
| 78 |
<td style="padding-left: 4px;"> |
| 79 |
<a href="{{order.customer_order_link}}" style="padding: 8px 20px;display:inline-block;text-decoration: none;border-radius: 8px;font-weight: 600;font-size: 14px;text-align: center;background: white;color: #374151;border: 2px solid #d1d5db;"> |
| 80 |
<?php esc_html_e('View Receipt', 'fluent-cart'); ?> |
| 81 |
</a> |
| 82 |
</td> |
| 83 |
</tr> |
| 84 |
</table> |
| 85 |
|
| 86 |
<div style="background: linear-gradient(135deg, #fef3c7, #fef9e7);border-radius: 8px;padding: 20px;margin: 25px 0 0;text-align: center;border: 1px solid #fbbf24;"> |
| 87 |
<h3 style="color: #b45309;margin: 0 0 8px;font-size: 16px;font-weight: 600;"><?php esc_html_e('Thank You for Your Business!', 'fluent-cart'); ?></h3> |
| 88 |
<p style="margin: 0;color: #92400e;font-size: 14px;"><?php esc_html_e('We hope you love your purchase. Your satisfaction is our top priority.', 'fluent-cart'); ?></p> |
| 89 |
</div> |
| 90 |
</div> |
| 91 |
</div> |
| 92 |
</div> |
| 93 |
<?php |
| 94 |
|
| 95 |
App::make('view')->render('emails.components.cta'); |
| 96 |
|
| 97 |
?> |
| 98 |
</div> |
| 99 |
|
| 100 |
<?php |
| 101 |
App::make('view')->render('emails.components.powered-by-footer'); |
| 102 |
?> |
| 103 |
</div> |
| 104 |
</body> |
| 105 |
</html> |
| 106 |
|