Add bill to & ship to phone numerb to confirmation email

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
wave_werks
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 91
Joined: Mon Sep 22, 2008 8:37 pm
Location: Northeast Ohio
Contact:

Add bill to & ship to phone numerb to confirmation email

Post by wave_werks » Wed May 06, 2009 1:47 pm

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!!!
- Jeff
Wave Werks

William M
Commander (CMDR)
Commander (CMDR)
Posts: 150
Joined: Sat Feb 14, 2009 9:40 am
Contact:

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

Post by William M » Wed May 06, 2009 2:29 pm

Is there a list of available nVelocity tags for use in emails?

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

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

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

Post by mazhar » Thu May 07, 2009 3:21 am

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.

wave_werks
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 91
Joined: Mon Sep 22, 2008 8:37 pm
Location: Northeast Ohio
Contact:

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

Post by wave_werks » Thu May 07, 2009 7:47 am

Again... many thanks for the super-quick response and spot on answer. This solves a huge problem for us.

Thanks!!!
- Jeff
Wave Werks

Post Reply