<?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;";
?>
<html>
<head>
<title>{order_heading}</title>
</head>
<body style='width:600px;font-style: arial;color:#000000;font-size:14px;'>
<div style="width:600px;">
<h2 style='color:#000000;text-align:center;margin:5px 0px;'>{order_heading}</h2>
<p style="margin:10px 0px;color:#777777">{order_text}</p>
<table summary="Shopping cart" style="font-size:13px;width:700px;border-collapse:collapse;border-spacing:0;background-color:transparent;">
<tbody>
<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-price">Print price</th>
<th style="<?php echo $th_style ?>text-align:right;" class="goods-page-price">Shipping 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>
<?php
$general_settings = $this->common_lib->get_product_setting("show_required_date",true);
if($general_settings->show_required_date == 1){
?>
<div><strong>Required Date:</strong> {required_date}</div>
<div><strong>Performance Date:</strong> {performance_date}</div>
<?php
}
?>
</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;">{printing_price}</td>
<td style="<?php echo $big_font ?><?php echo $base_color ?><?php echo $td_style ?>text-align:right;color:#c4235b;font-weight:bold;">{shipping_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="6" 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="6" 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="6" 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="6" 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>
<tr>
<td colspan="2" style="<?php echo $td_style ?>">
<h4>Personal Detail</h4>
<div class="login_user_name"><b>{full_name}</b></div>
<div class="login_user_address"><i>{address}</i></div>
<div class="login_user_address"><i>{address1}</i></div>
<div class="login_user_address"><i>{city}, {state}, {zipcode}, {country}</i></div>
<div class="login_user_phone"><b>Ph:</b> {mobile}</div>
</td>
<td colspan="3" style="<?php echo $td_style ?>text-align: right;">
<h4>Delivery Detail</h4>
<div class="login_user_name"><b>{shipping_name}</b></div>
<div class="login_user_address"><i>{shipping_address}</i></div>
<div class="login_user_address"><i>{shipping_address1}</i></div>
<div class="login_user_address"><i>{shipping_city}, {shipping_state} - {shipping_zipcode}, {shipping_country}</i></div>
<div class="login_user_phone"><b>Ph:</b> {shipping_mobile}</div>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
@KyuuKazami