protected function UCXF_AddressPane::order_edit_form in Extra Fields Checkout Pane 6.2
View the editable form @access protected
Return value
array
Overrides UCXF_Pane::order_edit_form
File
- class/
UCXF_AddressPane.class.php, line 163 - 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_edit_form() {
$form = parent::order_edit_form();
$form_original_pane = $this
->getOriginalPane('edit-form');
$pane_name = $this
->getPaneName();
$form = array(
$pane_name => array_merge($form['ucxf_' . $this->pane_id], $form_original_pane[$pane_name]),
);
unset($form[$pane_name]['#tree']);
return $form;
}