You are here

function uc_coupon_uc_order_pane in Ubercart Discount Coupons 7.3

Implements hook_uc_order_pane().

Defines the shipping quote order pane.

File

./uc_coupon.module, line 2218
Provides discount codes and gift certificates for Ubercart.

Code

function uc_coupon_uc_order_pane() {
  $panes['coupon'] = array(
    'callback' => 'uc_order_pane_coupon',
    'title' => t('Coupon, Credit or Discount Codes'),
    'desc' => t('Apply a coupon or discount code to the current order.'),
    'class' => 'pos-left',
    'weight' => 7,
    'show' => array(
      'edit',
    ),
  );
  return $panes;
}