function uc_coupon_uc_checkout_pane in Ubercart Discount Coupons 7.2
Same name and namespace in other branches
- 7.3 uc_coupon.module \uc_coupon_uc_checkout_pane()
Implements hook_uc_checkout_pane().
Show a pane just above the order total that allows shoppers to enter a coupon for a discount.
File
- ./
uc_coupon.module, line 1368
Code
function uc_coupon_uc_checkout_pane() {
$panes[] = array(
'id' => 'coupon',
'callback' => 'uc_checkout_pane_coupon',
'title' => t('Coupon discount'),
'desc' => t('Allows shoppers to use a coupon during checkout for order discounts.'),
'weight' => 5,
'process' => TRUE,
);
$panes[] = array(
'id' => 'coupon_automatic',
'callback' => 'uc_checkout_pane_coupon_automatic',
'title' => t('Special Discounts'),
'desc' => t('Displays a list of all automatic coupon discounts.'),
'weight' => 5,
'process' => FALSE,
);
return $panes;
}