function uc_discounts_add_to_cart in Ubercart Discounts (Alternative) 6.2
Implementation of hook_add_to_cart()
File
- uc_discounts/
uc_discounts.module, line 324
Code
function uc_discounts_add_to_cart($nid, $qty, $data) {
// @see hook_init()
$_SESSION['uc_discounts_after_add_to_cart'] = array(
'nid' => $nid,
'qty' => $qty,
);
}