activate customer account by admin
admin/customers.php
step 1.
find
if (tep_not_null($action)) {
switch ($action) {
case 'update':
case 'insert':
add
$customers_active_status= tep_db_prepare_input($HTTP_POST_VARS['customers_active_status']);
step 2
find
$sql_data_array = array('customers_firstname' => $customers_firstname,
'customers_lastname' => $customers_lastname,
'customers_email_address' => $customers_email_address,
'customers_telephone' => $customers_telephone,
'customers_fax' => $customers_fax,
replace with
$sql_data_array = array('customers_firstname' => $customers_firstname,
'customers_lastname' => $customers_lastname,
'customers_email_address' => $customers_email_address,
'customers_telephone' => $customers_telephone,
'customers_fax' => $customers_fax,
'customers_active_status' => $customers_active_status,
step 3
find
$customers_query = tep_db_query("select c.customers_id, c.customers_gender, c.customers_firstname, c.customers_lastname, c.customers_dob,
add after
c.customers_active_status,
step 4
find
add after
open admin/includes/languages/english/customers.php
add
define('ENTRY_CUSTOMERS_EMAIL_VALIDATED','Email Validated:');
define('ENTRY_EMAILVALIDATE_YES', 'Validated (active)');
define('ENTRY_EMAILVALIDATE_NO', 'Unvalidated (inactive)');
define('TEXT_EMAIL_VALIDATE_FEATURE','Require E-mail confirmation on account creation is set off.');
before ?>
done.
More...





LinkBack URL
About LinkBacks









Bookmarks