PDA

View Full Version : Edit any customer address in administration



michael_s
07-11-2009, 09:15 PM
this is not a complete file.

to change customer default address from the admin side

in admin/customers.php

ADD


if(isset($HTTP_POST_VARS['setdefault'])) $sql_data_array['customers_default_address_id'] = $default_address_id;

ABOVE THE LINE

if (ACCOUNT_GENDER == 'true') $sql_data_array['customers_gender'] = $customers_gender;




AND ADD





Set as a default address




BELOW THE LINE










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