function uc_coupon_checkout_pane in Ubercart Discount Coupons 6
Same name and namespace in other branches
- 5 uc_coupon.module \uc_coupon_checkout_pane()
 
Implementation of hook_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 891  - Provides discount coupons for Ubercart.
 
Code
function uc_coupon_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,
  );
  return $panes;
}