function uc_addresses_preprocess_uc_order in Ubercart Addresses 6.2
Same name and namespace in other branches
- 7 uc_addresses.module \uc_addresses_preprocess_uc_order()
Preprocess variables for Ubercart Order invoices.
The address labels are overwritten with addresses formatted using the Ubercart Addresses address formats (in case such format exists).
Parameters
array $variables: Order variables for in the invoice template.
Return value
void
File
- ./
uc_addresses.module, line 1453 - Adds user profile address support to Ubercart.
Code
function uc_addresses_preprocess_uc_order(&$variables) {
$variables['order_shipping_address'] = $variables['uc_addresses_shipping_address'];
$variables['order_billing_address'] = $variables['uc_addresses_billing_address'];
}