Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E-commerce Script
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
15
Issues
15
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Intelliants
E-commerce Script
Commits
98e367e4
Commit
98e367e4
authored
Jul 10, 2017
by
Batyr Mackenov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adaptation to the core's latest email templates
parent
63e1932e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
164 deletions
+0
-164
templates/front/email.admin.layout.tpl
templates/front/email.admin.layout.tpl
+0
-30
templates/front/email.admin.order_placed.tpl
templates/front/email.admin.order_placed.tpl
+0
-53
templates/front/email.layout.tpl
templates/front/email.layout.tpl
+0
-41
templates/front/email.order_placed.tpl
templates/front/email.order_placed.tpl
+0
-40
No files found.
templates/front/email.admin.layout.tpl
deleted
100644 → 0
View file @
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
©
{
$core.config.site
}
. All rights reserved.
</strong></p>
<a
href=
"
{
$smarty.const.IA_URL
}
"
target=
"_blank"
>
{
$smarty.const.IA_URL
}
</a>
<a
href=
"mailto:
{
$core.config.site_email
}
"
>
{
$core.config.site_email
}
</a>
</div>
</div>
</div>
</div>
\ No newline at end of file
templates/front/email.admin.order_placed.tpl
deleted
100644 → 0
View file @
63e1932e
<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
templates/front/email.layout.tpl
deleted
100644 → 0
View file @
63e1932e
<!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
templates/front/email.order_placed.tpl
deleted
100644 → 0
View file @
63e1932e
<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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment