| 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;">Your Order Has Shipped!</h1> |
| 21 |
<p style="opacity: 0.9;font-size: 16px;margin: 0;">We've packaged your items and they're on their way</p> |
| 22 |
</div> |
| 23 |
|
| 24 |
<div style="padding: 20px;"> |
| 25 |
<table style="width: 100%; border: none !important;"> |
| 26 |
<tr style="width: 100%;"> |
| 27 |
<td style="width: 50%; border: none !important;"> |
| 28 |
<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> |
| 29 |
<table style="font-size: 14px; font-weight: 400; width: 100%; border-collapse: collapse; border: 0; margin-bottom: 20px;"> |
| 30 |
<tr> |
| 31 |
<td style="color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px; "><?php echo esc_html__('Order ID:', 'fluent-cart') ?></td> |
| 32 |
<td style="color: #2F3448; border: 0; padding-top: 5px; padding-bottom: 3px;"> |
| 33 |
#{{order.id}} |
| 34 |
</td> |
| 35 |
</tr> |
| 36 |
<tr> |
| 37 |
<td style="color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px;"><?php echo esc_html__('Date:', 'fluent-cart') ?></td> |
| 38 |
<td style="color: #2F3448; border: 0; padding-top: 5px; padding-bottom: 3px;font-size: 12px;"> |
| 39 |
{{order.updated_at}} |
| 40 |
</td> |
| 41 |
</tr> |
| 42 |
</table> |
| 43 |
</td> |
| 44 |
|
| 45 |
<td style="width: 50%; border: none !important;"> |
| 46 |
<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> |
| 47 |
<table style="font-size: 14px; font-weight: 400; width: 100%; border-collapse: collapse; border: 0; margin-bottom: 20px;"> |
| 48 |
<tr> |
| 49 |
<td style="text-align: right; color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px; "> |
| 50 |
{{order.customer.full_name}} |
| 51 |
</td> |
| 52 |
</tr> |
| 53 |
<tr> |
| 54 |
<td style="text-align: right; color: #565865; border: 0; width: 100px; padding-top: 5px; padding-bottom: 5px; "> |
| 55 |
{{order.customer.email}} |
| 56 |
</td> |
| 57 |
</tr> |
| 58 |
|
| 59 |
</table> |
| 60 |
</td> |
| 61 |
</tr> |
| 62 |
</table> |
| 63 |
|
| 64 |
{{order.payment_summary}} |
| 65 |
|
| 66 |
<div style="background: #ecfdf5;border: 1px solid #a7f3d0;border-radius: 8px;padding: 20px;margin: 25px 0 0;text-align: center;"> |
| 67 |
<p style="color: #065f46; font-weight: 600; margin: 0 0 5px;">Track Your Package</p> |
| 68 |
<div style="font-size: 18px;font-weight: 700;color: #065f46;margin: 10px 0;letter-spacing: 0.5px;">#{{order.id}}</div> |
| 69 |
<a href="#" style="display: inline-block;background: linear-gradient(135deg, #10b981, #059669);color: white;padding: 10px 25px;font-size: 16px;text-decoration: none;border-radius: 6px;font-weight: 600;margin-top: 5px;">Track Shipment</a> |
| 70 |
</div> |
| 71 |
</div> |
| 72 |
|
| 73 |
</div> |
| 74 |
<?php |
| 75 |
|
| 76 |
App::make('view')->render('emails.components.cta'); |
| 77 |
|
| 78 |
?> |
| 79 |
</div> |
| 80 |
|
| 81 |
<?php |
| 82 |
App::make('view')->render('emails.components.powered-by-footer'); |
| 83 |
?> |
| 84 |
</div> |
| 85 |
</body> |
| 86 |
</html> |
| 87 |
|