You are here

function uc_extra_fields_pane_order_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_order_pane()

Implementation of hook_order_pane(). Current order-pane definitions

Return value

array

1 call to uc_extra_fields_pane_order_pane()
uc_extra_fields_pane_get_pane_title in ./uc_extra_fields_pane.module
Returns title of pane

File

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

Code

function uc_extra_fields_pane_order_pane() {
  $panes[] = array(
    'id' => 'extra_information',
    'callback' => 'uc_extra_fields_pane_order_information',
    'title' => t('Extra information'),
    'desc' => t('Extra information'),
    'class' => 'pos-left',
    'weight' => 5,
    'show' => array(
      'view',
      'edit',
      'customer',
    ),
  );

  // Panes used by Ubercart 2.3 & 2.4
  $panes[] = array(
    'id' => 'extra_delivery',
    'callback' => 'uc_extra_fields_pane_order_handler_extra_delivery',
    'title' => t('Extra delivery'),
    'desc' => t('Extra delivery'),
    'class' => 'pos-left',
    'weight' => 1.5,
    'show' => array(
      'view',
      'edit',
      'customer',
    ),
  );
  $panes[] = array(
    'id' => 'extra_billing',
    'callback' => 'uc_extra_fields_pane_order_handler_extra_billing',
    'title' => t('Extra billing'),
    'desc' => t('Extra billing'),
    'class' => 'pos-left',
    'weight' => 2.5,
    'show' => array(
      'view',
      'edit',
      'customer',
    ),
  );
  return $panes;
}