You are here

function uc_coupon_uc_line_item in Ubercart Discount Coupons 7.3

Same name and namespace in other branches
  1. 7.2 uc_coupon.module \uc_coupon_uc_line_item()

Implements hook_uc_line_item().

File

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

Code

function uc_coupon_uc_line_item() {
  $items[] = array(
    'id' => 'coupon',
    'title' => t('Coupon discount'),
    'tax_adjustment' => 'uc_coupon_tax_adjustment',
    'weight' => 0,
    'default' => FALSE,
    'stored' => TRUE,
    'add_list' => FALSE,
    'calculated' => TRUE,
  );
  return $items;
}