Jump to content

order_conf.html not working properly


Recommended Posts

  • 1 month later...

Here is the file source:

 

<!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>Message from {shop_name}</title>

</head>

<body>

<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">

<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"><span>Draga </span><strong style="color: #db3484;">{firstname} {lastname}</strong>, multumim ca ati ales sa faceti cumparaturile la <strong>{shop_name}</strong>.</td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Detalii Comanda</td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td align="left">

<p>Comanda: <strong><span style="color: #db3484;">{order_name}</span> </strong>din data de<strong> {date}</strong> </p>

</td>

</tr>

<tr>

<td> <span>Plata: </span><strong>{payment}</strong></td>

</tr>

<tr>

<td align="left">{products} {discounts}

<table style="width: 100%; font-family: Verdana,sans-serif; font-size: 11px; color: #374953;"><!-- Title -->

<tbody>

<tr style="background-color: #b9babe; text-align: center;"><th style="width: 15%; padding: 0.6em 0;">Referinta</th><th style="width: 35%; padding: 0.6em 0;">Produs</th><th style="width: 15%; padding: 0.6em 0;">Pret Unitar</th><th style="width: 15%; padding: 0.6em 0;">Cant.</th><th style="width: 20%; padding: 0.6em 0;">Pret Total</th></tr>

<!-- Products --><!-- Footer: prices -->

<tr style="text-align: right;">

<td> </td>

<td style="background-color: #b9babe; padding: 0.6em 0.4em;" colspan="3">Produse</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">Discount</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">Ambalaj</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">Transport</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: #f1aecf; padding: 0.6em 0.4em;" colspan="3">Total de plata</td>

<td style="background-color: #f1aecf; padding: 0.6em 0.4em;">{total_paid}</td>

</tr>

</tbody>

</table>

</td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Transport</td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td align="left">Curier: <strong>{carrier}</strong></td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td>

<table style="width: 100%; font-family: Verdana,sans-serif; font-size: 11px; color: #374953;">

<tbody>

<tr style="background-color: #b9babe; text-transform: uppercase;"><th style="text-align: left; padding: 0.3em 1em;">Adresa Livrare</th><th style="text-align: left; padding: 0.3em 1em;">Adresa Facturare</th></tr>

<tr>

<td style="padding: 0.5em 0 0.5em 0.5em; background-color: #ebecee;">{delivery_company} <br /><span style="color: #db3484; 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} <br />{delivery_other}</td>

<td style="padding: 0.5em 0 0.5em 0.5em; background-color: #ebecee;">{invoice_company} <br /><span style="color: #db3484; 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} <br />{invoice_other}</td>

</tr>

</tbody>

</table>

</td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td align="left">Puteti vedea detaliile legate de aceasta comanda si descarca factura accesand sectiunea <a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}history.php">"istoric comenzi"</a> selectand <a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}my-account.php">"Contul meu"</a> de pe site.</td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> - She walks in beauty</td>

</tr>

</tbody>

</table>

</body>

</html>

Link to comment
Share on other sites

  • 1 month later...

Helllo nzecheru, What is the issue exactly? It is not in the right order?

 

Hi Benjamin,

 

The problem is related to the e-mail client that receives it. You have a exemple in attach.

Articles are deferred and mail looks like a lot of stuff.

Products are not placed on the columns.

post-336649-0-59604500-1353251760_thumb.jpg

Link to comment
Share on other sites

  • 4 weeks later...
  • 5 months later...
  • 9 months later...
  • 2 months later...

I downloaded the file order_conf.html with Filezilla, made a completely new table with html and uploaded it again.
Now the table looks nearly perfect. But: The confirmation mail for the client is fine, the mail we get is still bullshit, plus two empty mails that we get for each confirmation. Any idea about this problem?

Link to comment
Share on other sites

×
×
  • Create New...