Jump to content

Recommended Posts

Dobre rano,

 

Aktualne sa snazim riesti email sablonu: order_conf.html!

 

Prikladam Vam html:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="sk">
<title>Message from {shop_name}</title>
<style type="text/css">
a {
color: #000000;
}
a:visited {
color: #000000;
}
a:active {
color: #000000;
}
.style1 {
color: #FF0000;
}
.style3 {
text-transform: uppercase;
font-weight: bold;
font-size: 12px;
color: #FFFFFF;
background-color: #000000;
}
.style4 {
background-color: #000000;
}
.style5 {
color: #FFFFFF;
}
.style6 {
background-color: #FFFFFF;
}
.style7 {
text-transform: uppercase;
background-color: #000000;
}
.style8 {
text-align: center;
}
.style9 {
font-weight: bold;
}
</style>
</head>
<body>
<table style="font-family: Verdana,sans-serif; border: 1px solid #ccc; border-radius: 3px; box-shadow: 0 0 5px #888; font-size: 11px; color: #374953; width: 550px;" align="center">
<tbody> <tr>
<td align="left" style="width: 700px">
<a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;" ></a>
</td>
</tr>
<tr><td style="width: 700px"> </td></tr>
<tr>
<td align="left" style="width: 700px">Dobrý deň 
<strong class="style1">{firstname} {lastname}</strong>,<br /><br />
Ďakujeme za Vašu objednávku v obchode <strong>{shop_name}</strong>!</td>
</tr>
<tr><td style="width: 700px"> </td></tr>
<tr>
<td align="left" style="padding: 0.5em 1em; width: 700px;" class="style3">
Detail vašej objednávky</td>
</tr>
<tr><td style="width: 700px"> </td></tr>
<tr>
<td align="left" style="width: 700px">
Objednávka: <strong><span class="style1">{order_name}</span> <br>
</strong>
Dátum objednávky: <strong>{date}</strong>
<br >Platba: <strong>{payment}</strong>
</td>
</tr>
<tr><td style="width: 700px"> </td></tr>
<tr>
<td align="left">
<table style="width:100%; font-family:Verdana,sans-serif; font-size:11px; color:#374953;">
<!-- Title -->
<tr style="background-color:#B9BABE; text-align:center;" class="style5">
<th style="width:200px; padding: 0.6em 0;" class="style7">
kód produktu</th>
<th style="width:200px; padding: 0.6em 0;" class="style7">
názov produktu</th>
<th style="width:100px; padding: 0.6em 0;" class="style7">
cena/ks</th>
<th style="width:100px; padding: 0.6em 0;" class="style7">
počet</th>
<th style="width:100px; padding: 0.6em 0;" class="style7">
cena spolu</th>
</tr>
<!-- Products -->
{products}
{discounts}
<!-- Footer: prices -->
<tr style="text-align:right;">
<td style="width: 200px"> </td>
<td colspan="3" style="padding:0.6em 0.4em;">Produkty 
spolu:</td>
<td style="padding:0.6em 0.4em; width: 100px;" class="style8">{total_products}</td>
</tr>
<tr style="text-align:right;">
<td style="width: 200px"> </td>
<td colspan="3" style="padding:0.6em 0.4em;">Celková 
zľava:</td>
<td style="padding:0.6em 0.4em; width: 100px;" class="style8">{total_discounts}</td>
</tr>
<tr style="text-align:right;">
<td style="width: 200px"> </td>
<td colspan="3" style="padding:0.6em 0.4em;">Preprava:</td>
<td style="padding:0.6em 0.4em; width: 100px;" class="style8">{total_shipping}</td>
</tr>
<tr style="text-align:right; font-weight:bold;">
<td style="width: 200px"> </td>
<td colspan="3" style="padding:0.6em 0.4em;" class="style9">
Výsledná suma:</td>
<td style="padding:0.6em 0.4em; width: 100px;" class="style8">{total_paid}</td>
</tr>
</table>
</td>
</tr>
<tr><td style="width: 700px"> </td></tr>
<tr>
<td align="left" style="padding: 0.5em 1em; width: 700px;" class="style3">
Preprava</td>
</tr>
<tr><td style="width: 700px"> </td></tr>
<tr>
<td align="left" style="width: 700px">
Prepravca: <strong>{carrier}</strong>
</td>
</tr>
<tr><td style="width: 700px"> </td></tr>
<tr>
<td>
<table style="width:100%; font-family:Verdana,sans-serif; font-size:11px; color:#374953;">
<tr style="background-color:#B9BABE; text-transform:uppercase;" class="style5">
<th style="text-align:left; padding: 0.3em 1em; width: 350px;" class="style4">
Dodacia adresa</th>
<th style="text-align:left; padding: 0.3em 1em; width: 350px;" class="style4">
fakturačná adresa</th>
</tr>
<tr>
<td style="padding:0.5em 0 0.5em 0.5em; " class="style6">
{delivery_block_html}
</td>
<td style="padding:0.5em 0 0.5em 0.5em; ">
{invoice_block_html}
</td>
</tr>
</table>
</td>
</tr>
<tr><td style="width: 700px"> </td></tr>
</table>
</body>
</html>
 
Problem je v tom, ze v editore mail sablona vyzera upne inac ako v doslej poste zakaznika. Mail sablony nema instalovane v adresary sablony, iba v korenovom adresary. Dalej neviem, ako mam zarovnat vypis produktov, cien atd na stred v email potvrdeni...

post-309248-0-52704800-1393913795_thumb.jpg

post-309248-0-36263800-1393913796_thumb.jpg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More