You are here

protected function UCXF_AddressPane::order_customer in Extra Fields Checkout Pane 6.2

View the order data for the customer @access protected

Return value

string

Overrides UCXF_Pane::order_customer

File

class/UCXF_AddressPane.class.php, line 125
Contains the UCXF_AddressPane class.

Class

UCXF_AddressPane
Class that deals with checkout panes and order panes especially for the address fields.

Code

protected function order_customer() {
  $output_original_pane = $this
    ->getOriginalPane('customer');

  // If original address pane has no output, don't return output here either.
  if (!$output_original_pane) {
    return;
  }
  $output = parent::order_view();
  if ($output) {
    $output = $output_original_pane . '<br />' . $output;
  }
  else {
    $output = $output_original_pane;
  }
  return $output;
}