PDA

View Full Version : Discount Groups



michael_s
01-27-2008, 05:25 PM
I changed something to make it easier to install
All credits go to Enrico Drusiani and jbaakko

In admin/customers.php

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,
'customers_newsletter' => $customers_newsletter);


Replace

$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_newsletter' => $customers_newsletter,
'customers_groups_id' => $customers_groups_id);

More... (http://addons.oscommerce.com/info/1288)