Jump to content
xt:Commerce Community Forum

Bestell E-Mail anpassen (Telefonnummer)


stempelmacher

Recommended Posts

hallo,

mal wieder so ein kleiner BUG:

die Variablen an sich stehen zur Verfügung, werden aber teilweise nicht gefüllt.

{$order_data.customers_email_address} geht aber !

über php könntest Du Dir die Daten aber holen:

{$order_data.billing_address_book_id} steht zur Verfügung

Grüsse

Link to comment
Share on other sites

Also bei mir werden diese angezeigt:

Für Lieferadresse:

{$order_data.delivery_phone}

{$order_data.delivery_fax}

Für Rechnungsadresse:

{$order_data.billing_phone}

{$order_data.billing_fax}

Es kommt natürlich drauf an was der Kunde gewählt hat als er seine Adresse angelegt hat.

Wenn der Kunde z.B. eine Rechnungsadresse angelegt hat dann wird dieses nicht angezeigt:

{$order_data.delivery_phone}

{$order_data.delivery_fax}

Grüße

Link to comment
Share on other sites

  • 2 weeks later...

Danke noch mal an alle für die Hilfe hier der richtige Code mit If schleife damit hier nur die Platzhalter erscheinen wenn auch Inhalt drin ist.

{if $order_customer.customers_email_address}E-Mail: {$order_customer.customers_email_address}{/if}

{if $order_data.billing_phone}Tel.: {$order_data.billing_phone}{/if}

{if $order_data.billing_fax}Fax: {$order_data.billing_fax}{/if}

:)

Link to comment
Share on other sites

hi, danke für die antwort! :o

ich habe bei den artikel z.b.

Lieferzeit: LAGERND oder 1-2 Tage oder 4-5 Tage hinterlegt

Wenn jetzt jemand 2-3 Artikel bestellt möchte ich das die verschiedenen Lieferzeiten die ich am Artikel hinterlegt habe in der Bestellemail erscheinen.

Könntest du mir das im Code eingeben?

CODE:

<link href="{$_system_mail_css}" type="text/css" rel="stylesheet">

<table cellpadding="0" cellspacing="0" class="email_container">

<tr>

<td colspan="3" class="email_toplogo">

<div class="email_toplogo"><img src="{$_system_logo_url}" /></div>

</td>

</tr>

<tr>

<td class="email_table_left_bg" valign="top">

<div class="email_table_left"></div>

</td>

<td class="email_table_center_bg" valign="top">

<div class="email_content">

<h1>Hallo {$order_data.delivery_firstname} {$order_data.delivery_lastname},</h1>

<p>

wir danken für Ihre Bestellung bei mc station.</p>

<br />

<h1>Ihre Daten nochmals zur Kontrolle:</h1>

<p>{txt key=TEXT_ORDER_NUMBER}: {$order_data.orders_id}</p>

<p>{txt key=TEXT_ORDER_DATE}: {$order_data.date_purchased}</p>

<h2>{txt key=TEXT_SHIPPING_ADDRESS}</h2>

<p>{if $order_data.delivery_company}

{$order_data.delivery_company}<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}

{/if}{$order_data.delivery_country}<br />

{if $order_customer.customers_email_address}E-Mail: {$order_customer.customers_email_address}{/if}<br />

{if $order_data.billing_phone}Tel.: {$order_data.billing_phone}{/if}<br />

{if $order_data.billing_fax}Fax: {$order_data.billing_fax}{/if}<br />

</p>

<h2>{txt key=TEXT_PAYMENT_ADDRESS}</h2>

<p>{if $order_data.billing_company} {$order_data.billing_company}<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}

{/if}{$order_data.billing_country}<br />

{if $order_customer.customers_email_address}E-Mail: {$order_customer.customers_email_address}{/if}<br />

{if $order_data.billing_phone}Tel.: {$order_data.billing_phone}{/if}<br />

{if $order_data.billing_fax}Fax: {$order_data.billing_fax}{/if}

</p>

{if $payment_info}<h2>{txt key=TEXT_PAYMENT_INFOS}</h2>

<p>{$payment_info}</p><br />{/if}

<table class="tabledetails" width="100%" border="0" cellspacing="0" cellpadding="4">

<tr class="headerrow">

<td class="left">{txt key=TEXT_QTY}</td>

<td class="left">{txt key=TEXT_ARTICLE}</td>

<td class="left">{txt key=TEXT_PRODUCTS_MODEL}</td>

<td class="right">{txt key=TEXT_SINGLE_PRICE}</td>

<td class="right">{txt key=TEXT_TOTAL_PRICE}</td>

</tr>

{foreach name=aussen item=order_values from=$order_products}

<tr class="{cycle values="contentrow1,contentrow2"}">

<td class="left">{$order_values.products_quantity} x</td>

<td class="left">{$order_values.products_name}</strong></td>

<td class="left">{$order_values.products_model}</td>

<td class="right">{$order_values.products_price.formated}</td>

<td class="right">{$order_values.products_final_price.formated}</td>

</tr>

{$order_values.products_information.html_content}

{/foreach}

<tr>

<td colspan="5" align="right" class="subtotal">

<div align="right">

<p>{txt key=TEXT_SUB_TOTAL}: {$total.product_total.formated}</p>

{foreach name=aussen item=order_total_values from=$order_total_data}

<p>{$order_total_values.orders_total_name}:

{$order_total_values.orders_total_price.formated}</p>

{/foreach} {foreach name=aussen item=tax_data from=$total.total_tax}

<p>{txt key=TEXT_TAX} {$tax_data.tax_key}%:

{$tax_data.tax_value.formated}</p>

{/foreach}

<p>{txt key=TEXT_TOTAL}: {$total.total.formated}</p>

</div>

</tr>

</table>

</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>

Link to comment
Share on other sites

Archived

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

×
  • Create New...