Ich komme bis zum Schritt wo ich die Template Datein umändern muss.
Die letzte Fehlermeldung
Mailvorlage: templates/eComBASE-FREE-CSS-TEMPLATE.003.ECB-SEO-SHOP.FREE.CSS.TEMPLATE.003/mail/german/order_mail
fehlerhafte Kopfzeilen
* ergänze: 'ATTACHMENT: media/attachments/wiederruf.html'
* ergänze: 'ATTACHMENT: media/attachments/AGB.html'
bekomm ich allerdings nicht weg, obwohl ich wie erklärt die Änderungen ausgeführt habe.
Datei order_mail.tpl
Code: Alles auswählen
{** ----------------------------------------------------------------------------
** Ändere keine Datei die sich im Verzeichnis templates/_core/* befindet.
** Um den Inhalt zu Änden, kopiere die Datei in dein Vorlagenverzeichnis in
** ein entspechendes Unterverzeichnis und modifiziere diese Kopie.
** Deine Änderungen können sonst durch ein Update überschrieben werden!
**
** Diese Email wird verschickt wenn eine Bestellung eingeangen ist. Die Email
** wird zweimal verschickt, einmal an den Kunden {$toAdmin=false} und
** einmal an den Shop {$toAdmin=true}. Ãœber diese Variable kann man die
** jeweilige EMail individuell aufbauen.
**
** @Author: Jörg Wedekind <yogi@webs.de>
** @version $Id: order_mail.tpl 2067 2011-04-03 08:13:53Z joerg $
** @copyright 2011 WEB-Shop Software http://www.webs.de/
** ------------------------------------------------------------------------- *}
'ATTACHMENT: media/attachments/wiederruf.html'
'ATTACHMENT: media/attachments/AGB.html'
<div style="width: 100%;">
<div style="border-bottom: 1px solid; border-color: #cccccc;"><div style="text-align: right;"><img src="{template_include file='logo.png' fetch=false}" alt="Logo" /></div></div>
<p>Hallo {$NAME},</p>
<p>herzlichen Dank für Ihre Bestellung.</p>
{if $COMMENTS}
<p>Ihre Anmerkungen:<br />{$COMMENTS}</p>
{/if}
<p>
<ul style="list-style: none; padding-left: 0px;">
<li><strong>Bestellung Nr:</strong> {$oID}</li>
<li><strong>Bestelldatum:</strong> {$DATE}</li>
{if $csID}
<li><strong>Kundennummer:</strong> {$csID}</li>
{/if}
{if $reference}
<li><strong>Ihr Zeichen:</strong> {$reference}<li>
{/if}
{if $PAYMENT_METHOD}
<li><strong>Zahlungsmethode:</strong> {$PAYMENT_METHOD}</li>
{/if}
</ul>
{$PAYMENT_INFO_HTML}
</p>
<div style="border-top: 1px solid; border-bottom; 1px solid;">
<table width="100%">
<tr style="background-color: #f1f1f1;">
<th style="text-align: left;">Ihre Adresse</th>
{if $address_label_payment and $address_label_customer != $address_label_payment}
{if $address_label_payment == $address_label_customer}
<th style="text-align: left;">Rechnungs- und Versandadresse</th>
{else}
<th style="text-align: left;">Rechnungsadresse</th>
{/if}
{/if}
{if $address_label_customer != $address_label_shipping and (!$address_label_payment or $address_label_payment==$address_label_shipping)}
<td>Lieferanschrift</td>
{/if}
</tr>
<tr>
<td>{$address_label_customer}</td>
{if $address_label_payment and $address_label_customer != $address_label_payment}
<td>{$address_label_payment}</td>
{/if}
{if $address_label_customer != $address_label_shipping and (!$address_label_payment or $address_label_payment==$address_label_shipping)}
<td>{$address_label_shipping}</td>
{/if}
</tr>
</table>
</div>
<div>
<p><strong>Ihre bestellten Produkte nochmals zur Kontrolle:</strong><br />
<table width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#f1f1f1">
<tr>
<th colspan="2" style="border-right: 2px solid; border-bottom: 2px solid; border-color: #ffffff; text-align: center;">Stk.</th>
<th style="border-right: 2px solid; border-bottom: 2px solid; border-color: #ffffff; text-align: left;">Produkt</th>
<th style="border-right: 2px solid; border-bottom: 2px solid; border-color: #ffffff; text-align: left;">Artikel Nr.</th>
<th style="border-right: 2px solid; border-bottom: 2px solid; border-color: #ffffff; text-align: right;" width="150">Einzelpreis</th>
<th style="border-right: 2px solid; border-bottom: 2px solid; border-color: #ffffff; text-align: right;" width="150"><div align="right">Preis</th>
</tr>
{foreach item=order_values from=$order_data name=order}
<tr{if $smarty.foreach.order.last} style="border-bottom: 1px solid;"{/if}>
<td width="20" style="border-right: 2px solid; border-bottom: 2px solid; border-color: #ffffff; text-align: center;">{$order_values.PRODUCTS_QTY}</td>
<td width="20" style="border-right: 2px solid; border-bottom: 2px solid; border-color: #ffffff; text-align: center;">x</td>
<td style="border-right: 2px solid; border-bottom: 2px solid; border-color: #ffffff;"><strong>{$order_values.PRODUCTS_NAME}</strong>{if $order_values.PRODUCTS_SHIPPING_TIME neq ''}<br />Lieferzeit: {$order_values.PRODUCTS_SHIPPING_TIME}{/if}<br />
<em>{$order_values.PRODUCTS_ATTRIBUTES}</em></td>
<td style="border-right: 2px solid; border-bottom: 2px solid; border-color: #ffffff;">{$order_values.PRODUCTS_MODEL}<br />
<em>{$order_values.PRODUCTS_ATTRIBUTES_MODEL}</em></td>
<td style="border-right: 2px solid; border-bottom: 2px solid; border-color: #ffffff; text-align: right;" width="150">{$order_values.PRODUCTS_SINGLE_PRICE}</td>
<td style="border-right: 2px solid; border-bottom: 2px solid; border-color: #ffffff; text-align: right;" width="150">{$order_values.PRODUCTS_PRICE}</td>
</tr>
{/foreach}
{foreach item=order_total_values from=$order_total name=total}
<tr>
<td colspan="5" style="text-align: right;">{$order_total_values.TITLE}</td>
<td style="text-align: right;{if $smarty.foreach.total.first} border-bottom: 1px solid black;{/if}{if $smarty.foreach.total.last} border-bottom: 3px double black;{/if}">{$order_total_values.TEXT}</td>
</tr>
{/foreach}
</table>
</p>
<div>
</div>
{template_include file='signature.tpl'}
Code: Alles auswählen
{** ----------------------------------------------------------------------------
** Ändere keine Datei die sich im Verzeichnis templates/_core/* befindet.
** Um den Inhalt zu Änden, kopiere die Datei in dein Vorlagenverzeichnis in
** ein entspechendes Unterverzeichnis und modifiziere diese Kopie.
** Deine Änderungen können sonst durch ein Update überschrieben werden!
**
** Diese Email wird verschickt wenn eine Bestellung eingeangen ist. Die Email
** wird zweimal verschickt, einmal an den Kunden {$toAdmin=false} und
** einmal an den Shop {$toAdmin=true}. Über diese Variable kann man die
** jeweilige EMail individuell aufbauen, incl. SUBJECT und ATTACHMENT
**
** @Author: Jörg Wedekind <yogi@webs.de>
** @version $Id: order_mail.txt 2057 2011-03-29 08:11:17Z joerg $
** @copyright 2011 WEB-Shop Software http://www.webs.de/
** ------------------------------------------------------------------------- *}
'ATTACHMENT: media/attachments/wiederruf.html'
'ATTACHMENT: media/attachments/AGB.html'
{if $toAdmin}
SUBJECT: [{$smarty.const.STORE_NAME}] Neue Bestellung: {$oID}
REPLY: "{$NAME}" <{$EMAIL}>
{else}
SUBJECT: [{$smarty.const.STORE_NAME}] Ihre Bestellung Nr. {$oID} / {$DATE}
{/if}
Hallo {$NAME},
herzlichen Dank für Ihre Bestellung.
{if $COMMENTS}
Ihre Anmerkungen:
{$COMMENTS}
{/if}
----------------------------------------------------------------------
Bestellnummer: {$oID}
Datum: {$DATE}
{if $csID}Kundennummer :{$csID}{/if}
{if $reference}Ihr Zeichen: {$reference|html_entity_decode:$smarty.const.ENT_COMPAT:$smarty.const.CHARSET}
{/if}
{if $PAYMENT_METHOD}Zahlungsmethode: {$PAYMENT_METHOD}{/if}
{$PAYMENT_INFO_TXT}
Ihre Adresse
----------------------------------------------------------------------
{$address_label_customer|replace:'<br />':"\n"}
{if $address_label_payment and $address_label_customer != $address_label_payment}
{if $address_label_payment==$address_label_shipping}
Rechnungs- und Versandadresse
{else}
Rechnungsadresse
{/if}
----------------------------------------------------------------------
{$address_label_payment|replace:'<br />':"\n"}
{/if}
{if $address_label_customer != $address_label_shipping and (!$address_label_payment or $address_label_payment==$address_label_shipping)}
Lieferanschrift
----------------------------------------------------------------------
{$address_label_shipping|replace:'<br />':"\n"}
{/if}
Ihre bestellten Produkte zur Kontrolle
----------------------------------------------------------------------
{foreach name=aussen item=order_values from=$order_data}
{$order_values.PRODUCTS_QTY} x {$order_values.PRODUCTS_NAME} {$order_values.PRODUCTS_PRICE|strip_tags}
{if $order_values.PRODUCTS_SHIPPING_TIME neq ''}Lieferzeit: {$order_values.PRODUCTS_SHIPPING_TIME|strip_tags}{/if}
{if $order_values.PRODUCTS_ATTRIBUTES !=''}{$order_values.PRODUCTS_ATTRIBUTES|replace:'<br />':"\n"}{/if}
{/foreach}
{foreach name=aussen item=order_total_values from=$order_total}
{$order_total_values.TITLE|strip_tags|html_entity_decode:$smarty.const.ENT_COMPAT:$smarty.const.CHARSET}{$order_total_values.TEXT|strip_tags}
{/foreach}
{template_include file='signature.txt'}