function uc_discounts_uc_checkout_pane_alter in Ubercart Discounts (Alternative) 7.2
Implements hook_uc_checkout_pane_alter().
Overrides the ubercart callback for the checkout stage cart pane so that we can add discount and subtotals to the cart display.
File
- uc_discounts/
uc_discounts.module, line 706
Code
function uc_discounts_uc_checkout_pane_alter(&$panes) {
if (isset($panes['cart'])) {
$panes['cart']['callback'] = 'uc_discounts_uc_checkout_pane_cart';
}
}