<?php
$th_style = "border-bottom: 1px solid #ecebeb;font: 16px arial,sans-serif;padding-bottom: 8px;text-transform: uppercase;";
$td_style = "border-bottom:1px solid #ecebeb;padding: 10px 0px 10px 0;vertical-align: top;";
$base_color = "color:#c4235b;";
$big_font = "font-size:16px;";
$p_style = "font-size:14px;color:#000;font-weight:bold;";
$uppercase = "text-transform: uppercase;"
?>
<html>
<head>
<title>{order_heading}</title>
</head>
<body style='width:600px;font-style: arial;color:#000000;font-size:14px;'>
<div style="width:600px;">
<p style="text-align: center;">
<img src="<?php echo base_url() ?>assets/frontend/layout/img/logos/gc-logo.png" />
</p>
<!--h2 style='color:#000000;text-align:center;margin:5px 0px;'>{order_heading}</h2-->
<p style="margin: 10px 0px;color:#000;">Dear <b>{full_name}</b></p>
<!--p style="margin:10px 0px;color:#777777">{order_text}</p-->
<p>Your order has shipped. If you purchased multiple items, they may arrive separately. </p>
<p> You can click the tracking number link below to track your package on the carrier's website. Tracking information is generally available within 24 hours after a package is shipped, but may take up to 48 hours for shipments going to certain regions of the United States and Canada. For more details, refer to the Shipping & Handling Help page. </p>
<table summary="Shopping cart" style="font-size:13px;width:700px;border-collapse:collapse;border-spacing:0;background-color:transparent;">
<tbody>
<tr>
<td colspan="2" style="<?php echo $td_style ?>">
<h4 style="<?php echo $uppercase; ?>"> Bill To:</h4>
<div class="login_user_name" style="<?php echo $uppercase; ?>"><b>{full_name}</b></div>
<div class="login_user_address" style="<?php echo $uppercase; ?>"><i>{address}</i></div>
<div class="login_user_address" style="<?php echo $uppercase; ?>"><i>{address1}</i></div>
<div class="login_user_address" style="<?php echo $uppercase; ?>"><i>{city}, {state} {zipcode}</i></div>
<div class="login_user_address" style="<?php echo $uppercase; ?>"><i>{country}</i></div>
<div class="login_user_phone" style="<?php echo $uppercase; ?>"><b>Ph:</b> {mobile}</div>
<div class="login_user_phone" style="<?php echo $uppercase; ?>"><b>Email:</b> {email}</div>
</td>
<td colspan="3" style="<?php echo $td_style ?>text-align: right;">
</td>
</tr>
<tr>
<td colspan="3" style="<?php echo $td_style ?>">
<h4 style="<?php echo $uppercase; ?>">Ship To:</h4>
<div class="login_user_name" style="<?php echo $uppercase; ?>"><b>{shipping_name}</b></div>
<div class="login_user_address" style="<?php echo $uppercase; ?>"><i>{shipping_address}</i></div>
<div class="login_user_address" style="<?php echo $uppercase; ?>"><i>{shipping_address1}</i></div>
<div class="login_user_address" style="<?php echo $uppercase; ?>"><i>{shipping_city}, {shipping_state} {shipping_zipcode}</i></div>
<div class="login_user_address" style="<?php echo $uppercase; ?>"><i>{shipping_country}</i></div>
<div class="login_user_phone" style="<?php echo $uppercase; ?>"><b>Ph:</b> {shipping_mobile}</div>
</td>
<td colspan="2" style="<?php echo $td_style ?>">
<div class="login_user_name" style="<?php echo $uppercase; ?>"><b>Shipped Today</b></div>
<div class="login_user_address" style="<?php echo $uppercase; ?>"><b>Date Ordered:</b><i> {order_time}</i></div>
<div class="login_user_address" style="<?php echo $uppercase; ?>"><b>Date Shipped:</b><i> {shipped_time}</i></div>
<div class="login_user_address" style="<?php echo $uppercase; ?>"><b>Tracking Number:</b><i> {tracking_number}</i></div>
</td>
</tr>
<tr>
<td colspan="5"><p style="<?php echo $p_style ?>"> Your order includes the following item(s): </p>
<p style="height: 15px;background: #444444;"> </p>
</td>
</tr>
<tr>
<th colspan="2" style="<?php echo $th_style ?>" class="goods-page-description goods-page-image">Item Detail</th>
<th style="<?php echo $th_style ?>text-align:right;" class="goods-page-quantity">Quantity</th>
<th style="<?php echo $th_style ?>text-align:right;" class="goods-page-price">Unit price</th>
<th style="<?php echo $th_style ?>text-align:right;" class="goods-page-total">Total</th>
</tr>
{order_items}
<tr style="border-bottom: 1px solid #aaaaaa;">
<td style="width:80px;<?php echo $td_style ?>">
<a style="<?php echo $base_color ?>" href="{item_link}">
<img width="75" alt="{item_name}" src="{item_image_path}">
</a>
</td>
<td style="<?php echo $td_style ?>">
<h3 style="font-size:15px;margin:0px;"><a style="<?php echo $base_color ?>" href="{item_link}">{item_name}</a></h3>
<div><strong>Size:</strong> {item_size}</div>
<div><strong>Item Code:</strong> {item_code}</div>
<!--div><strong>Required Date:</strong> {required_date}</div>
<div><strong>Performance Date:</strong> {performance_date}</div-->
</td>
<td style="<?php echo $big_font ?><?php echo $td_style ?>text-align:right;">{item_qty}</td>
<td style="<?php echo $big_font ?><?php echo $base_color ?><?php echo $td_style ?>text-align:right;color:#c4235b;font-weight:bold;">{item_unit_price}</td>
<td style="<?php echo $big_font ?><?php echo $base_color ?><?php echo $td_style ?>text-align:right;color:#c4235b;font-weight:bold;">{item_price}</td>
</tr>
{/order_items}
<tr>
<td colspan="4" style="<?php echo $big_font ?><?php echo $td_style ?>text-align: right;">
SUB TOTAL
</td>
<td style="<?php echo $big_font ?><?php echo $base_color ?><?php echo $td_style ?>text-align: right;">
{sub_total}
</td>
</tr>
<tr>
<td colspan="4" style="<?php echo $big_font ?><?php echo $td_style ?>text-align: right;">
SHIPPING
</td>
<td style="<?php echo $big_font ?><?php echo $base_color ?><?php echo $td_style ?>text-align: right;">
{shipping_amount}
</td>
</tr>
<tr>
<td colspan="4" style="<?php echo $big_font ?><?php echo $td_style ?>text-align: right;">
PROMO DISCOUNT
</td>
<td style="<?php echo $big_font ?><?php echo $base_color ?><?php echo $td_style ?>text-align: right;">
{promo_discount}
</td>
</tr>
<tr>
<td colspan="4" style="<?php echo $big_font ?><?php echo $td_style ?>text-align: right;">
TOTAL
</td>
<td style="<?php echo $big_font ?><?php echo $base_color ?><?php echo $td_style ?>text-align: right;">
{order_amount}
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
@KyuuKazami