#set ( $orderNumber = $request.getParameter( "orderNumber" ) ) #set ( $order = $ordermodule.getOrderFromNumber( $orderlist, $orderNumber ) ) #set ( $customer = $order.customer )
Customer:
$customer.name ( $customer.userName )
$customerAddress.address1
#if ( $customerAddress.address2 && $customerAddress.address2 != "" )
$customerAddress.address2
#end
$customerAddress.city, $customerAddress.state $customerAddress.zipCode $!customerAddress.country
Phone: $customer.phone1
Email: $customer.email
Fax: $!customer.fax
UserField 2: $!customer.userfield2
Order Status: Shipped
#if ( $customer.shippingAddress && $customer.shippingAddress.address1 && $customer.billingAddress && $customer.billingAddress.address1 )
Ship to:
$customer.shippingAddress.address1
#if ( $customer.shippingAddress.address2 && $customer.shippingAddress.address2 != "" )
$customer.shippingAddress.address2
#end
$customer.shippingAddress.city, $customer.shippingAddress.state $customer.shippingAddress.zipCode $!customer.shippingAddress.country
#if ( $order.paymentMethod.cardNumber && $order.paymentMethod.cardNumber != "" )
Charge $order.total to $order.paymentMethod.creditCardType
Card number: $order.paymentMethod.cardNumber
Expiration date: $order.paymentMethod.expirationDateString
#end
#if ( $order.paymentMethod.poNumber )
Purchase Order: $order.paymentMethod.poNumber
#end
#if ( $order.paymentMethod.billMeLater )
Bill Me Later
#end
#if ( $order.paymentMethod.note )
Notes: $order.paymentMethod.note
#end