Page 1 of 1

Add bill to & ship to phone numerb to confirmation email

Posted: Wed May 06, 2009 1:47 pm
by wave_werks
Howdy!

We're trying to add the customer's bill to phone number in the billing address section and the customer's ship to phone number to the shipment information section on the order confirmation email. Currently the order confirmation email template displays only the name, street address, city, state, zip, and country in each of these sections. I'd like for the phone number to appear on the line directly below the address.

Thanks for your help!!!

Re: Add bill to & ship to phone numerb to confirmation email

Posted: Wed May 06, 2009 2:29 pm
by William M
Is there a list of available nVelocity tags for use in emails?

F'rinstance... Is there $order.BillToPhoneNumber - ?

Re: Add bill to & ship to phone numerb to confirmation email

Posted: Thu May 07, 2009 3:21 am
by mazhar
Billing Phone Number

Code: Select all

$order.BillToPhone
Shipping Phone Number

Code: Select all

#foreach ($orderShipment in $order.Shipments)
$orderShipment.ShipToPhone
#end
$order represents the AbleCommerce Order object, so it contains all properties exposed by Able Order object. Just inspect the Order object in Visual Studio Object Browser and it will show you all supported properties and methods.

Re: Add bill to & ship to phone numerb to confirmation email

Posted: Thu May 07, 2009 7:47 am
by wave_werks
Again... many thanks for the super-quick response and spot on answer. This solves a huge problem for us.

Thanks!!!