function uc_order_uc_line_item in Ubercart 7.3
Implements hook_uc_line_item().
File
- uc_order/
uc_order.module, line 821
Code
function uc_order_uc_line_item() {
$items['subtotal'] = array(
'title' => t('Subtotal'),
'weight' => 0,
'stored' => FALSE,
'calculated' => FALSE,
'callback' => 'uc_line_item_subtotal',
);
$items['generic'] = array(
'title' => t('Empty line'),
'weight' => 2,
'stored' => TRUE,
'add_list' => TRUE,
'calculated' => TRUE,
'callback' => 'uc_line_item_generic',
);
$items['total'] = array(
'title' => t('Total'),
'weight' => 15,
'stored' => FALSE,
'calculated' => FALSE,
'display_only' => TRUE,
'callback' => 'uc_line_item_total',
);
return $items;
}