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.
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.