You are here

function uc_cart_checkout_rules in Ubercart 7.3

Same name and namespace in other branches
  1. 8.4 uc_cart/uc_cart.admin.inc \uc_cart_checkout_rules()

Checkout rules configuration.

1 string reference to 'uc_cart_checkout_rules'
uc_cart_menu in uc_cart/uc_cart.module
Implements hook_menu().

File

uc_cart/uc_cart.admin.inc, line 449
Cart administration menu items.

Code

function uc_cart_checkout_rules() {
  $conditions = array(
    'event' => 'uc_checkout_complete',
    'plugin' => 'reaction rule',
  );
  $options = array(
    'base path' => 'admin/store/settings/checkout/rules',
    'show plugin' => FALSE,
  );
  $content['rules'] = rules_ui()
    ->overviewTable($conditions, $options);
  return $content;
}