You are here

function uc_recurring_product_uc_checkout_pane in UC Recurring Payments and Subscriptions 7.2

Implements hook_uc_checkout_pane().

Show a pane just above the order total that allows shoppers to select recurring option for the order.

File

modules/uc_recurring_product/uc_recurring_product.module, line 299
Add recurring payments/fees to a product. This is imlpemented through Ubercarts product features.

Code

function uc_recurring_product_uc_checkout_pane() {
  $panes[] = array(
    'id' => 'recurring-product',
    'callback' => 'uc_recurring_order_checkout_pane_message',
    'title' => t('Recurring products'),
    'desc' => t('Displays a message to the user if their order contains any recurring products.'),
    'weight' => -5,
    'enabled' => FALSE,
    'process' => FALSE,
    'collapsible' => FALSE,
  );
  return $panes;
}