Jump to content

[solved] problem in email confirmation layout


Recommended Posts

well...

 

I changed some lines in mails/language/order_conf.html and solved my problem....

 

here is my code to anyone:

 

<!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">
<title>Mensagem de {shop_name}</title>
</head>
<body>
<table style="width: 550px; color: #374953; font-family: Verdana,sans-serif; font-size: 11px;">
<tbody>
<tr>
<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align="left">Olá <strong style="color: #000000;">{firstname} {lastname}</strong>, obrigado por comprar na <strong>{shop_name}</strong>.</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td style="background-color: #000000; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Detalhes de seu pedido</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align="left">Compra: <strong><span style="color: #000000;">{order_name}</span> incluido em {date}</strong> <br /> Forma de Pagamento: <strong>{payment}</strong></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align="left">
<table style="width: 100%; color: #374953; font-family: Verdana,sans-serif; font-size: 11px;"><!-- Title -->
<tbody>
<tr style="background-color: #b9babe; text-align: center;"><th style="width: 15%; padding: 0.6em 0;">Referência</th><th>Produto</th><th style="width: 15%; padding: 0.6em 0;">Preço Unitario</th><th style="width: 15%; padding: 0.6em 0;">Quantidade</th><th style="width: 20%; padding: 0.6em 0;">Preço Total</th>
{products} {discounts}
</tr>
<!-- Products --><!-- Footer: prices -->
<tr style="text-align: right;">
<td> </td>
<td style="background-color: #b9babe; padding: 0.6em 0.4em;" colspan="3">Produtos</td>
<td style="background-color: #b9babe; padding: 0.6em 0.4em;">{total_products}</td>
</tr>
<tr style="text-align: right;">
<td> </td>
<td style="background-color: #ebecee; padding: 0.6em 0.4em;" colspan="3">Descontos</td>
<td style="background-color: #ebecee; padding: 0.6em 0.4em;">{total_discounts}</td>
</tr>
<tr style="text-align: right;">
<td> </td>
<td style="background-color: #ebecee; padding: 0.6em 0.4em;" colspan="3">Embalagem para presente</td>
<td style="background-color: #ebecee; padding: 0.6em 0.4em;">{total_wrapping}</td>
</tr>
<tr style="text-align: right;">
<td> </td>
<td style="background-color: #dde2e6; padding: 0.6em 0.4em;" colspan="3">Frete</td>
<td style="background-color: #dde2e6; padding: 0.6em 0.4em;">{total_shipping}</td>
</tr>
<tr style="text-align: right; font-weight: bold;">
<td> </td>
<td style="background-color: #fff; padding: 0.6em 0.4em;" colspan="3">Total Pago</td>
<td style="background-color: #fff; padding: 0.6em 0.4em;">{total_paid}</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td style="background-color: #000000; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Envio</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align="left">Transportadora: <strong>{carrier}</strong></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td>
<table style="width: 100%; color: #374953; font-family: Verdana,sans-serif; font-size: 11px;">
<tbody>
<tr style="background-color: #b9babe; text-transform: uppercase;"><th style="text-align: left; padding: 0.3em 1em;">ENDEREÇO DE ENTREGA</th><th style="text-align: left; padding: 0.3em 1em;">ENDEREÇO DA FATURA</th></tr>
<tr>
<td style="padding: 0.5em 0 0.5em 0.5em; background-color: #ebecee;"><span style="color: #000000; font-weight: bold;">{delivery_firstname} {delivery_lastname}</span> <br />{delivery_address1} <br />{delivery_address2} <br />{delivery_city} {delivery_postal_code} <br />{delivery_country} {delivery_state} <br />{delivery_phone}</td>
<td style="padding: 0.5em 0 0.5em 0.5em; background-color: #ebecee;"><span style="color: #000000; font-weight: bold;">{invoice_firstname} {invoice_lastname}</span> <br />{invoice_address1} <br />{invoice_address2} <br />{invoice_city} {invoice_postal_code} <br />{invoice_country} {invoice_state} <br />{invoice_phone}</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align="left">Se for necessário ler e fazer download da fatura acesse o <a style="color: #000000; font-weight: bold; text-decoration: none;" href="{shop_url}history.php">"Histórico de compras"</a> ou clicando em sua conta <a style="color: #000000; font-weight: bold; text-decoration: none;" href="{shop_url}my-account.php">"Minha conta"</a> em nosso site.</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #000000; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a></td>
</tr>
</tbody>
</table>
</body>
</html>

Link to comment
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...