Jump to content
xt:Commerce Community Forum

Auftragsbestätigung


Stritler

Recommended Posts

Hi, habe eine Auftragsbestätigung mittels update_order-admin im Email Manager angelegt. Die Teilung zwischen Status Auftragsbestätigung und nicht läuft gut. Nur leider wird das Email Tempate (HTML) nicht übermittelt und in der Auftragsbestätigung TEXT_ORDER_NUMBER , TEXT_ORDER_DATE TEXT_SHIPPING_METHOD ... geschrieben.

Gibt es ein Möglichkeit dies ordnetlich umzusetzen?

zu den Daten

Type: update_order-admin

Template Special: ALL

...

Betreff:

{if $status == 'Auftragsbestätigung'}Auftragsbestätigung ihrer Bestellung{/if}{if $status != 'Auftragsbestätigung'}Status Ihrer Bestellung wurde geändert{/if}[/PHP]

HTML Email:

[PHP]{if $status == 'Auftragsbestätigung'}{include file="file:$_system_template/email/email_top.html"}
<!-- // Begin Content \ -->
<table class="email-content" cellpadding="0" cellspacing="0" width="660" style="font: 12px Arial, Helvetica, sans-serif;color: #484848;">
<tr>
<td colspan="6" class="left" align="left">
<h1 style="font-size:14px;">Ihre Bestellung zur Kontrolle</h1>
Hallo {$order_data.delivery_firstname} {$order_data.delivery_lastname},<br /><br /> vielen Dank für Ihre Bestellung in unserem Online Shop. Hiermit nehmen wir den Kaufvertrag an.</td>
</tr>
<tr>
<td colspan="6"><br /></td>
</tr>
<tr>
<td colspan="3" align="left">
<h2 style="font-size:12px;">{txt key=TEXT_ORDER_NUMBER}</h2>
{$order_data.orders_id}
</td>
<td colspan="3" align="left">
<h2 style="font-size:12px;">{txt key=TEXT_ORDER_DATE}</h2>
{$order_data.date_purchased}
</td>
</tr>
<tr>
<td colspan="6"><br /></td>
</tr>
<tr>
<td colspan="3" align="left">
<h2 style="font-size:12px;">{txt key=TEXT_SHIPPING_ADDRESS}</h2>
{if $order_data.delivery_company}{$order_data.delivery_company}<br />{/if}
{if $order_data.delivery_company_2}{$order_data.delivery_company_2}<br />{/if}
{if $order_data.delivery_company_3}{$order_data.delivery_company_3}<br />{/if}
{$order_data.delivery_firstname} {$order_data.delivery_lastname}<br />
{$order_data.delivery_street_address}<br />
{if $order_data.delivery_suburb}{$order_data.delivery_suburb}<br />{/if}
{$order_data.delivery_postcode} {$order_data.delivery_city}<br />
{if $order_data.delivery_state}{$order_data.delivery_state}<br />{/if}
{$order_data.delivery_country}<br />
{if $order_data.delivery_phone OR $order_data.delivery_mobile_phone OR $order_data.delivery_fax}<br />{/if}
{if $order_data.delivery_phone}{txt key=TEXT_PHONE} {$order_data.delivery_phone}<br />{/if}
{if $order_data.delivery_mobile_phone}{txt key=TEXT_MOBILE_PHONE} {$order_data.delivery_mobile_phone}<br />{/if}
{if $order_data.delivery_fax}{txt key=TEXT_FAX} {$order_data.delivery_fax}<br />{/if}
</td>
<td colspan="3" align="left">
<h2 style="font-size:12px;">{txt key=TEXT_PAYMENT_ADDRESS}</h2>
{if $order_data.billing_company}{$order_data.billing_company}<br />{/if}
{if $order_data.billing_company_2}{$order_data.billing_company_2}<br />{/if}
{if $order_data.billing_company_3}{$order_data.billing_company_3}<br />{/if}
{$order_data.billing_firstname} {$order_data.billing_lastname}<br />
{$order_data.billing_street_address}<br />
{if $order_data.billing_suburb}{$order_data.billing_suburb}<br />{/if}
{$order_data.billing_postcode} {$order_data.billing_city}<br />
{if $order_data.billing_state}{$order_data.billing_state}<br />{/if}
{$order_data.billing_country}<br />
{if $order_data.billing_phone OR $order_data.billing_mobile_phone OR $order_data.billing_fax}<br />{/if}
{if $order_data.billing_phone}{txt key=TEXT_PHONE} {$order_data.billing_phone}<br />{/if}
{if $order_data.billing_mobile_phone}{txt key=TEXT_MOBILE_PHONE} {$order_data.billing_mobile_phone}<br />{/if}
{if $order_data.billing_fax}{txt key=TEXT_FAX} {$order_data.billing_fax}<br />{/if}
</td>
</tr>
<tr>
<td colspan="6"><br /></td>
</tr>
<tr>
<td colspan="3" align="left">
<h2 style="font-size:12px;">{txt key=TEXT_SHIPPING_METHOD}</h2>
{$order_data.shipping_code}
</td>
<td colspan="3" align="left">
<h2 style="font-size:12px;">{txt key=TEXT_PAYMENT_METHOD}</h2>
{$order_data.payment_name}
</td>
</tr>
<tr>
<td colspan="6"><br /></td>
</tr>
{if $payment_info_html}
<tr>
<td colspan="6" align="left">
<h2 style="font-size:12px;">{txt key=TEXT_PAYMENT_INFOS}</h2>
{$payment_info_html}
</td>
</tr>
<tr>
<td colspan="6"><br /></td>
</tr>
{/if}
{if $order_data.comments}
<tr>
<td colspan="6" align="left">
<h2 style="font-size:12px;">{txt key=TEXT_COMMENTS}</h2>
{$order_data.comments}
</td>
</tr>
<tr>
<td colspan="6"><br /></td>
</tr>
{/if}
<tr>
<td colspan="6" align="left">
<h2 style="font-size:12px;">Ihre Bestellung</h2>
</td>
</tr>
<tr>
<td align="left" class="left bold myfont" style="font-weight:bold;">{txt key=TEXT_QTY}</td>
<td align="left" class="left bold" style="font-weight:bold;">{txt key=TEXT_ARTICLE}</td>
<td align="left" class="left bold" style="font-weight:bold;">{txt key=TEXT_PRODUCTS_MODEL}</td>
<td align="right" class="right bold" style="font-weight:bold;">{txt key=TEXT_SINGLE_PRICE}</td>
<td align="right" class="right bold" style="font-weight:bold;">{txt key=TEXT_PRODUCTS_DISCOUNT}</td>
<td align="right" class="right bold" style="font-weight:bold;">{txt key=TEXT_TOTAL_PRICE}</td>
</tr>
<tr>
<td colspan="6"><br /></td>
</tr>
{foreach name=aussen item=order_values from=$order_products}
<tr class="order-products">
<td align="left" class="left">{$order_values.products_quantity} x</td>
<td align="left" class="left">{$order_values.products_name}</td>
<td align="left" class="left">{$order_values.products_model}</td>
<td align="right" class="right">{$order_values.products_price.formated}</td>
<td align="right" class="right">{if $order_values.products_discount != ""}{$order_values.products_discount}%{else}-{/if}</td>
<td align="right" class="right">{$order_values.products_final_price.formated}</td>
</tr>
<tr>
<td colspan="6"><br /></td>
</tr>
{$order_values.products_information.html_content}
{/foreach}
<tr class="order-subtotal">
<td colspan="4"></td>
<td align="right" class="right bold" style="font-weight:bold;">{txt key=TEXT_SUB_TOTAL}:</td>
<td align="right" class="right">{$total.product_total.formated}</td>
</tr>
<tr>
<td colspan="6"><br /></td>
</tr>
{foreach name=aussen item=order_total_values from=$order_total_data}
<tr class="order-shipping" >
<td colspan="4"></td>
<td align="right" class="right">{$order_total_values.orders_total_name}:</td>
<td align="right" class="right">{$order_total_values.orders_total_price.formated}</td>
</tr>
{/foreach}
{foreach name=aussen item=tax_data from=$total.total_tax}
<tr class="order-tax">
<td colspan="4"></td>
<td align="right" class="right">MwSt. {$tax_data.tax_key}%:</td>
<td align="right" class="right">{$tax_data.tax_value.formated}</td>
</tr>
{/foreach}
<tr>
<td colspan="6"><br /></td>
</tr>
<tr class="order-total">
<td colspan="4"></td>
<td align="right" class="right bold" style="font-weight:bold;">{txt key=TEXT_TOTAL}:</td>
<td align="right" class="right">{$total.total.formated}</td>
</tr>
</table>
<div>
<h2>Widerrufsrecht:</h2>
<div class="widerruf">{content cont_id=7 is_id=false}{$_content_7.content_body}</div></div>
<div class="email_footer">{$_system_footer_html}</div>
</td>
<td class="email_table_right_bg" valign="top">
<div class="email_table_right"></div>
</td>
</tr>
</table>
<!-- // End Content \ -->
{include file="file:$_system_template/email/email_bottom.html"}
{/if}
{if $status != 'Auftragsbestätigung'} {include file="file:$_system_template/email/email_top.html"}
<!-- // Begin Content \ -->
<table class="email-content" cellpadding="0" cellspacing="0" width="660" style="font: 12px Arial, Helvetica, sans-serif;color: #484848;">
<tr>
<td>
<h1 style="font-size:14px;">Hallo {$order_data.billing_firstname} {$order_data.billing_lastname},</h1>
<p>Der Status Ihrer Bestellung <b>{$order_data.orders_id}</b> wurde geändert.</p>
{if $comments}
<p style="background: #FF7B00; padding: 10px;"><b>Anmerkungen und Kommentare zu Ihrer Bestellung:</b> {$comments}</p>
{/if}
<p style="color:#000000; background: #FF7B00; padding: 10px;">Neuer Status:<br />
<b>{$status}</b></p>
<p>Sollten Sie Fragen zu unserem Angebot haben, zögern Sie bitte nicht uns zu kontaktieren.</p>
</td>
</tr>
</table>
<!-- // End Content \ -->
{include file="file:$_system_template/email/email_bottom.html"}
{/if}[/PHP]

Text Email:

[PHP]{if $status == 'Auftragsbestätigung'}
Hallo {$order_data.delivery_firstname} {$order_data.delivery_lastname},

hiermit nehmen wir Ihren Auftrag an.



Ihre Daten nochmals zur Kontrolle:
------------------------------------------------------------------------------------------------------------
{txt key=TEXT_ORDER_NUMBER}: {$order_data.orders_id}
{txt key=TEXT_ORDER_DATE}: {$order_data.date_purchased}

{txt key=TEXT_SHIPPING_ADDRESS}
{if $order_data.delivery_company}{$order_data.delivery_company}{/if}
{$order_data.delivery_firstname} {$order_data.delivery_lastname}
{$order_data.delivery_street_address}
{if $order_data.delivery_suburb} {$order_data.delivery_suburb}{/if}
{$order_data.delivery_postcode} {$order_data.delivery_city}
{if $order_data.delivery_state}{$order_data.delivery_state}{/if}
{$order_data.delivery_country}

{txt key=TEXT_PAYMENT_ADDRESS}
{if $order_data.billing_company} {$order_data.billing_company}{/if}
{$order_data.billing_firstname} {$order_data.billing_lastname}
{$order_data.billing_street_address}
{if $order_data.billing_suburb} {$order_data.billing_suburb}{/if}
{$order_data.billing_postcode} {$order_data.billing_city}
{if $order_data.billing_state}{$order_data.billing_state}{/if}
{$order_data.billing_country}

{if $payment_info}
{txt key=TEXT_PAYMENT_INFOS}
{$payment_info}
{/if}
------------------------------------------------------------------------------------------------------------
{foreach name=aussen item=order_values from=$order_products}
{$order_values.products_quantity} x {$order_values.products_name} = {$order_values.products_final_price.formated}
{/foreach}

{txt key=TEXT_SUB_TOTAL}: {$total.product_total.formated}
{foreach name=aussen item=order_total_values from=$order_total_data}
{$order_total_values.orders_total_name}:{$order_total_values.orders_total_price.formated}
{$order_values.products_information.txt_content}
{/foreach}
{foreach name=aussen item=tax_data from=$total.total_tax}
{txt key=TEXT_TAX} {$tax_data.tax_key}%:{$tax_data.tax_value.formated}
{/foreach}
{txt key=TEXT_TOTAL}: {$total.total.formated}

------------------------------------------------------------------------------------------------------------
{$_system_footer_txt}
Widerrufsrecht:
{content cont_id=7 is_id=false}{$_content_7.content_body}
{/if}
{if $status != 'Auftragsbestätigung'} Ihr Auftrag wurde bestätigt
Hallo {$order_data.billing_firstname} {$order_data.billing_lastname},

Der Status Ihrer Bestellung #{$order_data.orders_id} wurde geändert.

{if $comments}
Anmerkungen und Kommentare zu Ihrer Bestellung:
{$comments}
{/if}

Neuer Status: {$status}

Sollten Sie Fragen zu unserem Angebot haben, zögern Sie bitte nicht uns zu kontaktieren.

------------------------------------------------------------------------------------------------------------
{$_system_footer_txt}
{/if}
[/PHP]

Link to comment
Share on other sites

Wenn ich jetzt irgendwie noch die payment_info angezeigt bekomme bin ich glücklich. Bisher ist Sie so eingebaut. in der Bestellbestätigung geht es. In der Auftragsbestätigung leider noch nicht

 {if $payment_info_html}
<tr>
<td colspan="6" align="left">
<h2 style="font-size:12px;">{txt key=TEXT_PAYMENT_INFOS}</h2>
{$payment_info_html}
</td>
</tr>[/PHP]

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...