Ciao a tutti,
ho fatto un template per l'email di notifica ordine che viene inviato al cliente, vi posto il codice:
<html>
<head>
<title>Conferma Ordine</title>
<style type="text/css">
<!--
body, table {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
}
table {
border-width: 1px;
border-spacing: 0px;
border-style: solid;
border-color: #333;
border-collapse: collapse;
border-spacing: 0px;
margin-bottom: 15px;
}
table th {
border-width: 1px;
padding: 4px;
border-style: solid;
border-color: #333;
border-spacing: 0px;
text-align: left;
background-color:#CCCCCC;
font-size: 10px;
font-weight: bold;
}
table td {
border-width: 1px;
padding: 4px;
border-style: solid;
border-color: #333;
}
-->
</style>
</head>
<body>
<!-- Inizio tabella Informazioni Venditore e Cliente -->
<table width="100%" cellspacing="0">
<tr>
<th width="55%" valign="top">{phpShopVendorName}</th>
<th width="45%" valign="top">Informazioni cliente</th>
</tr>
<tr>
<td valign="top">{phpShopVendorStreet1}<br />
{phpShopVendorStreet2}
{phpShopVendorZip} {phpShopVendorCity}</td>
<td valign="top">{phpShopBTCompany}<br />
{phpShopBTStreet1}<br />
{phpShopBTStreet2} {phpShopBTZip} {phpShopBTCity} ({phpShopBTState}) <br>
Tel.: {phpShopBTPhone} - Fax: {phpShopBTFax}<br />
P. IVA: {phpShopSTIva}</td>
</tr>
</table>
<!-- Fine tabella Informazioni Venditore e Cliente -->
<p>{phpShopOrderHeaderMsg}</p>
<!-- Inizio tabella Informazioni Generali sull'Ordine -->
<table width="100%" cellspacing="0">
<tr>
<th colspan=4 valign="top" class="Stil2"><b>Informazioni Ordine</b></th>
</tr>
<tr>
<td width="16%" valign="top"><strong>Numero Ordine</strong><br />
{phpShopOrderNumber}</td>
<td width="27%" valign="top"><strong>Data Ordine</strong><br />
{phpShopOrderDate}</td>
<td width="21%" valign="top"><strong>Status ordine</strong><br />
{phpShopOrderStatus}</td>
<td width="36%" valign="top"><strong>Modalità di pagamento</strong><br />
{PAYMENT_INFO_DETAILS}</td>
</tr>
<!-- <tr>
<td colspan="2" valign="top"><strong>Banca d'appoggio</strong><br />
{phpShopSTBanca}</td>
<td valign="top"><strong>C/C</strong><br />
{phpShopSTConto}</td>
<td valign="top"><strong>ABI - CAB</strong><br />
{phpShopSTAbiCab}
</td>
</tr>
-->
<tr>
<td colspan=4 valign="top"><b>Indirizzo di spedizione</b><br />
{phpShopSTCompany},
{phpShopSTStreet1},
{phpShopSTStreet2}
{phpShopSTZip} {phpShopSTCity} ({phpShopSTState})</td>
</tr>
</table>
<!-- Fine tabella Informazioni Generali sull'Ordine -->
<!-- Inizio tabella Riepilogo Ordine -->
<table cellspacing=0 width=100%>
<tr>
<th colspan=5 valign="top">Il Suo Ordine</th>
</tr>
<tr>
<th width="23%" valign="top">Cod. Art. - Cod. EAN </th>
<th width="42%" valign="top">Descrizione</th>
<th width="7%" valign="top">Qtà.</th>
<!-- <th width="12%" valign="top">Prezzo di Listino</th>
<th width="7%" valign="top">Sconto</th> -->
<th width="10%" valign="top">Prezzo Netto</th>
<th width="18%" valign="top">Totale</th>
</tr>
<tr>{phpShopOrderItems}</tr>
<tr>
<td colspan=4 align=right valign="top"> </td>
<td valign="top"> </td>
</tr>
<tr>
<td colspan=4 align=right valign="top">Imponibile:</td>
<td valign="top"> {phpShopOrderSubtotal}</td>
</tr>
{phpShopOrderDisc1}
<tr>
<td colspan=4 align=right valign="top">Spedizione {SHIPPING_INFO_DETAILS}:</td>
<td valign="top">+ {phpShopOrderShipping}</td>
</tr>
<!--MODIFICA ALESSANDRA 19/01/07-->
<tr>
<td colspan=4 align=right valign="top">Spese bancarie:</td>
<td valign="top">+ {phpShopOrderFee}</td>
</tr>
<!--FINE MODIFICA-->
<tr>
<td colspan=4 align=right valign="top">IVA:</td>
<td valign="top">+ {phpShopOrderTax}</td>
</tr>
{phpShopOrderDisc2}
<tr>
<td colspan=4 align=right valign="top"><b>Totale:</b></td>
<td valign="top"> {phpShopOrderTotal}</td>
</tr>
{phpShopOrderDisc3}
</table>
<table width="100%" cellspacing="0">
<tr>
<th width="48%">Note del cliente:</th>
</tr>
<tr>
<td valign="top">{phpShopCustomerNote} </td>
</tr>
</table>
<p>{phpShopOrderClosingMsg}</p>
</body>
</html>