#set ( $orderNumber = $order.orderNumber ) #set ( $customer = $order.customer ) #set($searcherManager = $store.getSearcherManager())
Send email receipt
#end #if ( $customer.billingAddress && $customer.billingAddress.address1 ) #set ( $customerAddress = $customer.billingAddress ) #else #set ( $customerAddress = $customer.shippingAddress ) #end
Customer:
$!customer.getFirstName() $!customer.getLastName()
#if( $user.hasPermission("oe.cart.admin" ) )
( $!customer.userName )
#end
$!customerAddress.address1
#if ( $customerAddress.address2 && $customerAddress.address2 != "" )
$customerAddress.address2
#end
$!customerAddress.city #if ($customerAddress.state || $customerAddress.zipCode || $customerAddress.country),#end $!customerAddress.state $!customerAddress.zipCode $!customerAddress.country
#if ($customer.phone1)Phone: $customer.phone1
#end
#if ($customer.email)Email: $customer.email
#end
#if( $customer.fax )
Fax: $!customer.fax
#end
#if( $customer.userfield2 )
UserField 2: $!customer.userfield2
#end
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
| Product ID | Item SKU | Quantity | #if ($content.isPropertyTrue("showprice"))Unit Price | #end #foreach ($detail in $store.fieldArchive.getDataProperties("item","orderdetails",$user))$!detail.text | #end #foreach ($detail in $store.fieldArchive.getDataProperties("product","orderdetails",$user))$!detail.text | #end
|---|
#if ( $order.paymentMethod.cardNumber && $order.paymentMethod.cardNumber != "" )
#if( $order.getOrderState().getId() == "authorized" )
Authorized $order.totalPrice to $order.paymentMethod.creditCardType
#elseif( $order.getOrderState().getId() == "captured" )
Captured $order.totalPrice to $order.paymentMethod.creditCardType
#else
Accepted $order.totalPrice on $order.paymentMethod.creditCardType
#end
#if( $canmanageorders )
Card number: $order.paymentMethod.cardNumber
CVC: $!order.paymentMethod.cardVerificationCode
#end
Expiration date: $order.paymentMethod.expirationDateString
#if( $canmanageorders )
#if( $order.getOrderState().getId() == "authorized" )