Quote Originally Posted by dcfxking
So this feature def doesnt work yet?
You could hack it in by yourself if you like. It'll be a bit different in the core when it's released, but you could try it this way:

/admin/customers.php
around line 35 you have:
PHP Code:
      case 'status':
        if (
$_GET['current'] == CUSTOMERS_APPROVAL_AUTHORIZATION) {
          
$sql "update " TABLE_CUSTOMERS " set customers_authorization=0 where customers_id='" $_GET['cID'] . "'";
        } else {
          
$sql "update " TABLE_CUSTOMERS " set customers_authorization='" CUSTOMERS_APPROVAL_AUTHORIZATION "' where customers_id='" $_GET['cID'] . "'";
        }
        
$db->Execute($sql);
        
$action '';
        
zen_redirect(zen_href_link(FILENAME_CUSTOMERS'cID=' $_GET['cID'] . '&page=' $_GET['page'], 'NONSSL'));
        break; 

change it to:
PHP Code:
      case 'status':
  
$customers_id zen_db_prepare_input($_GET['cID']);
        if (
$_GET['current'] == CUSTOMERS_APPROVAL_AUTHORIZATION) {
          
$sql "update " TABLE_CUSTOMERS " set customers_authorization=0 where customers_id='" . (int)$customers_id "'";
        } else {
          
$custinfo $db->Execute("select customers_email_address, customers_firstname, customers_lastname
                                    from " 
TABLE_CUSTOMERS "
                                    where customers_id = '" 
. (int)$customers_id "'");
          if (
$custinfo->RecordCount() > 0) {
            
$message EMAIL_CUSTOMER_STATUS_CHANGE_MESSAGE;
            
$html_msg['EMAIL_MESSAGE_HTML'] = EMAIL_CUSTOMER_STATUS_CHANGE_MESSAGE ;
            
zen_mail($custinfo->fields['customers_firstname'] . ' ' $custinfo->fields['customers_lastname'], $custinfo->fields['customers_email_address'], EMAIL_CUSTOMER_STATUS_CHANGE_SUBJECT $messageSTORE_NAMEEMAIL_FROM$html_msg'default');
          }
          
$sql "update " TABLE_CUSTOMERS " set customers_authorization='" CUSTOMERS_APPROVAL_AUTHORIZATION "' where customers_id='" $customers_id "'";
        }
        
$db->Execute($sql);
        
$action '';
        
zen_redirect(zen_href_link(FILENAME_CUSTOMERS'cID=' . (int)$customers_id '&page=' $_GET['page'], 'NONSSL'));
        break; 
in /admin/includes/languages/english/customers.php
add these to the bottom of the file, before the closing ?>
PHP Code:
define('EMAIL_CUSTOMER_STATUS_CHANGE_MESSAGE''Your customer status has been updated. Thank you for shopping with us. We look forward to your business.');
define('EMAIL_CUSTOMER_STATUS_CHANGE_SUBJECT''Customer Status Updated');