When an Ubercart order is loaded or saved, two address objects (of type UcAddressesAddress) will be attached. Currently, there only two tokens implemented for address tokens in order context:

  • [uc_order:uc-addresses-billing-address]: will create an address label the order's billing address.
  • [uc_order:uc-addresses-shipping-address]: will create an address label the order's shipping address.

It would be handy if tokens for each individual address field would also be available in order context, so it's easier to add them to the invoice template.

I plan to implement that first for the Drupal 7 version and sometime later for the Drupal 6 version.

Comments

megachriz’s picture

Status: Active » Fixed

I've implemented address tokens in order context for both the 7.x-1.x and 6.x-2.x branches:

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.