• Welcome to KonaKart Community Forum. Please login or sign up.
 

getBillingAddrFormatTemplate

Started by nickgk, February 14, 2012, 07:18:00 pm

Previous topic - Next topic

nickgk

I would like to modify how the Order Confirmation template presents the Billing and Delivery Addresses. The default entries on the velocity OrderConfirmation_en.vm template are $order.getBillingFormattedAddress()
and $order.getDeliveryFormattedAddress(). The addresses supplied by these entries do not include the company name if one was entered during checkout.

In addition those mentioned above there are interesting methods in the OrderIf interface:    order.getBillingAddrFormatTemplate(), order.setBillingAddrFormatTemplate() etc.

How does one use they templates? Where do they reside and how could they be set from the velocity template?

Thanks for any help.

julie

Take a look at the admin app under Localizations >> Address Formats

nickgk

Thanks for the info.  This almost solves my problem but "company" is not one of the allowable keywords in the format. It would be great if there were a mechanism for conditional inclusion, i.e. only include a $cr if the company exists...