Commit 98e367e4 authored by Batyr Mackenov's avatar Batyr Mackenov

Adaptation to the core's latest email templates

parent 63e1932e
<style type="text/css">
</style>
<div class="email-body">
<div class="inner">
<div class="header">
{if !empty($core.config.site_logo)}
<img src="{$nonProtocolUrl}uploads/{$core.config.site_logo}" alt="{$core.config.site}">
{else}
<img src="{$img}logo.png" alt="{$core.config.site}">
{/if}
</div>
<div class="content">
<div class="branding">{" {$core.config.site}"|str_repeat:15}</div>
<div class="wrapper">
{$_content_}
</div>
</div>
<div class="footer">
<div class="pull-left" style="width: 50%">
You received this email since you are in group of administrators of this site.
</div>
<div class="pull-right text-right" style="margin-top: -12px; width: 50%">
<p><strong>Copyright &copy; {$core.config.site}. All rights reserved.</strong></p>
<a href="{$smarty.const.IA_URL}" target="_blank">{$smarty.const.IA_URL}</a> &nbsp; &nbsp;
<a href="mailto:{$core.config.site_email}">{$core.config.site_email}</a>
</div>
</div>
</div>
</div>
\ No newline at end of file
<span class="pull-right muted small">{'F j, Y H:i'|date:strtotime($order.date_added)}</span>
<h1>Order #{$order.id}</h1>
<p>Cheers! New order has been placed on the site.</p>
<hr>
<h2>Order Details</h2>
<table class="table">
<tr>
<td width="120"><strong>Buyer</strong></td>
<td>{$order.buyer_name|escape}</td>
</tr>
<tr>
<td></td>
<td>
{$order.buyer_email|escape}<br>
{$order.buyer_phone|escape}<br>
</td>
</tr>
{if $order.comment}
<tr>
<td><strong>Comment</strong></td>
<td>{$order.comment|escape}</td>
</tr>
{/if}
<tr>
<td><strong>Total</strong></td>
<td>Total: {$order.total}</td>
</tr>
</table>
<h2>Products Ordered</h2>
<table class="table">
<tr>
<th class="text-left">Product</th>
<th>Price</th>
<th>Qty</th>
<th class="text-right">Subtotal</th>
</tr>
{foreach $items as $item}
<tr>
<td>{$item.title|escape}</td>
<td>{$item.price}</td>
<td width="90" class="text-center">{$item.qty}</td>
<td class="text-right">{$item.price_total}</td>
</tr>
{/foreach}
</table>
<div class="row well text-right"><strong>Total: {$order.total}</strong></div>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<style type="text/css">{literal}
}{/literal}
</style>
</head>
<body>
<table width="100%" bgcolor="#ffffff" cellpadding="0" cellspacing="0" border="0" id="backgroundTable">
<tbody>
<tr>
<td>
<table width="600" cellpadding="0" cellspacing="0" border="0" align="center" class="devicewidth">
<tbody>
<tr>
<td width="100%">
<table width="600" align="center" cellspacing="0" cellpadding="0" border="0" class="devicewidth">
<tbody>
<tr>
<td align="center" style="font-family: Helvetica, arial, sans-serif;">
{$_content_}
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</body>
</html>
\ No newline at end of file
<span class="pull-right small muted">{'F j, Y H:i'|date:strtotime($order.date_added)}</span>
<h1>Order #{$order.id}</h1>
<p>Thank you for your order!</p>
<hr>
<p>
Phone: {$order.buyer_phone}<br>
Email: {$order.buyer_email}
</p>
<div class="row">
<div class="tile long first">
<h2>Buyer</h2>
<p class="lead no-bottom-margin">{$order.buyer_name|escape}</p>
</div>
<div class="tile">
<h2>Payment</h2>
<p class="lead no-bottom-margin">{$order.total} {$core.config.currency}</p>
</div>
</div>
<table class="table">
<tr>
<th class="text-left">Product</th>
<th width="50">Qty</th>
<th class="text-right">Price</th>
</tr>
{foreach $items as $item}
<tr>
<td>{$item.title|escape}</td>
<td class="text-center">{$item.qty}</td>
<td class="text-right">{$item.price_total|number_format} {$core.config.currency}</td>
</tr>
{/foreach}
</table>
<div class="row well text-right">
<strong>Total Amount: {$order.total}</strong>
</div>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment