function uc_discounts_uc_cart_pane in Ubercart Discounts (Alternative) 7.2
Implements hook_uc_cart_pane().
This is a dummy pane that gives the store admin the ability to enable or disable the display of discounts in the cart. The actual function that modifies the cart is uc_discounts_form_uc_cart_form_alter().
File
- uc_discounts/
uc_discounts.module, line 446
Code
function uc_discounts_uc_cart_pane($items) {
return array(
'uc_discounts' => array(
'title' => t('Discounts'),
'enabled' => TRUE,
'weight' => 1,
'process' => FALSE,
),
);
}