You are here

function uc_coupon_cart_pane in Ubercart Discount Coupons 6

Implementation of hook_cart_pane().

File

./uc_coupon.module, line 810
Provides discount coupons for Ubercart.

Code

function uc_coupon_cart_pane($items) {
  $panes[] = array(
    'id' => 'coupon',
    'body' => drupal_get_form('uc_coupon_block_form', 25),
    'title' => t('Coupon discount'),
    'desc' => t('Allows shoppers to use a coupon during checkout for order discounts.'),
    'weight' => 1,
    'enabled' => TRUE,
  );
  return $panes;
}