You are here

function uc_extra_fields_pane_checkout_pane in Extra Fields Checkout Pane 6.2

Same name and namespace in other branches
  1. 6 uc_extra_fields_pane.module \uc_extra_fields_pane_checkout_pane()

Implementation of hook_checkout_pane().

Add panes as you feel fit. Must add a new pane definition for both checkout and order... and a new callback function like below.

Once you have that, just add a new pane_type to the create/edit admin forms, and that pane should be operational right away.

Return value

array

1 string reference to 'uc_extra_fields_pane_checkout_pane'
UCXF_Pane::checkout_view in class/UCXF_Pane.class.php
View the pane to the customer @access protected

File

./uc_extra_fields_pane.module, line 313
Module: uc_extra_fields_pane.module

Code

function uc_extra_fields_pane_checkout_pane() {
  $panes[] = array(
    'id' => 'extra_information',
    'callback' => 'uc_extra_fields_pane_information',
    'title' => t('Extra order information'),
    'desc' => t('Extra order information'),
    'weight' => 10,
  );
  return $panes;
}