function uc_cart_checkout_pane in Ubercart 5
Same name and namespace in other branches
- 6.2 uc_cart/uc_cart.module \uc_cart_checkout_pane()
Implementation of hook_checkout_pane().
File
- uc_cart/
uc_cart.module, line 523
Code
function uc_cart_checkout_pane() {
$panes[] = array(
'id' => 'cart',
'callback' => 'uc_checkout_pane_cart',
'title' => t('Cart contents'),
'desc' => t("Display the contents of a customer's shopping cart."),
'weight' => 1,
'process' => FALSE,
'collapsible' => FALSE,
);
$panes[] = array(
'id' => 'customer',
'callback' => 'uc_checkout_pane_customer',
'title' => t('Customer information'),
'desc' => t('Get the necessary information to create a customer on the site.'),
'weight' => 2,
);
$panes[] = array(
'id' => 'delivery',
'callback' => 'uc_checkout_pane_delivery',
'title' => t('Delivery information'),
'desc' => t('Get the information for where the order needs to ship.'),
'weight' => 3,
'shippable' => TRUE,
);
$panes[] = array(
'id' => 'billing',
'callback' => 'uc_checkout_pane_billing',
'title' => t('Billing information'),
'desc' => t('Get basic information needed to collect payment.'),
'weight' => 4,
);
$panes[] = array(
'id' => 'comments',
'callback' => 'uc_checkout_pane_comments',
'title' => t('Order comments'),
'desc' => t('Allow a customer to put comments on an order.'),
'weight' => 7,
);
return $panes;
}