View Single Post
  #2  
Old 05-12-2003, 09:16 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

The standard code for the order_notification_admin template:

Code:
{* $Id: order_notification_admin.tpl,v 1.7.2.1 2003/01/31 07:12:12 svowl Exp $ *} {config_load file="$skin_config"} {assign var=where value="A"} {$lng.eml_this_is_order} {$order.orderid} {$lng.eml_notification}. {$lng.lbl_order_id}: #{$order.orderid} {$lng.lbl_order_date}: {$order.date|date_format:"%d.%m.%Y %H:%M"} {$lng.lbl_order_status}: {$order.status} {$lng.lbl_customer_info}: --------------------- {$lng.lbl_username}: {$order.login} {$lng.lbl_first_name}: {$order.firstname} {$lng.lbl_last_name}: {$order.lastname} {$lng.lbl_billing_address}: ---------------- {$lng.lbl_address}: {$order.b_address} {$lng.lbl_city}: {$order.b_city} {$lng.lbl_state}: {$order.b_statename} {$lng.lbl_country}: {$order.b_countryname} {$lng.lbl_zip_code}: {$order.b_zipcode} {$lng.lbl_shipping_address}: ----------------- {$lng.lbl_address}: {$order.s_address} {$lng.lbl_city}: {$order.s_city} {$lng.lbl_state}: {$order.s_statename} {$lng.lbl_country}: {$order.s_countryname} {$lng.lbl_zip_code}: {$order.s_zipcode} {$lng.lbl_phone}: {$order.phone} {$lng.lbl_fax}: {$order.fax} {$lng.lbl_email}: {$order.email} {$lng.lbl_url}: {$order.url} {if $config.General.show_cc_info eq "Y"} {$lng.lbl_credit_card_information}: ------------------------ {$order.details} {/if} {include file="mail/order_data.tpl"} {include file="mail/signature.tpl"}


The $lng.lbl etc... are the labels for the address details from the languages area. the customner details are held in the {$order.b_address} bits.

hth
__________________
ex x-cart guru
Reply With Quote