This may not be the correct forum, but here goes.
I am implementing the customer discount mod and wanting to alter it just a tad.
I went into login.php and modified the mysql search that retrieves customer information to include the customer_discount field for the logged in customer as such
$check_customer_query = tep_db_query("select customers_id, customers_firstname, customers_password, customers_email_address, customers_default_address_id, customer_discount from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($email_address) . "'");
a few lines down I added
$customer_discount = $check_country['customer_discount'];
which I would expect would get the discount and save it as a session variable.
When I echo any of the other variables saved this way on other pages they show up. When I echo this one it is blank. Any ideas?