amystephenson Posted August 3, 2009 Share Posted August 3, 2009 Is there anyway to modify the admin customer.php to default to United States when I insert a new client from the admin panel? Looked all over and could not find anything. Quote Link to comment Share on other sites More sharing options...
♥ecartz Posted August 11, 2009 Share Posted August 11, 2009 I'm not sure what contribution you're using to add customers from admin, but to do this in create_account.php, you would find <tr> <td class="main"><?php echo ENTRY_COUNTRY; ?></td> <td class="main"><?php echo tep_get_country_list('country') . ' ' . (tep_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?></td> </tr> and change to <tr> <td class="main"><?php echo ENTRY_COUNTRY; ?></td> <td class="main"><?php echo tep_get_country_list('country', '223') . ' ' . (tep_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?></td> </tr> where 223 is the country ID for the US, if I recall correctly. You should be able to do something similar in your admin file. Quote Always back up before making changes. Link to comment Share on other sites More sharing options...
amystephenson Posted August 11, 2009 Author Share Posted August 11, 2009 Thanks so much for your help!! It worked. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.