talon Posted February 27, 2004 Share Posted February 27, 2004 How would I make United States selected by default on the Account creation page? Link to comment Share on other sites More sharing options...
Guest Posted February 27, 2004 Share Posted February 27, 2004 search the Wiki Documentation for the word 'country' there is a section there about how to do this. Link to comment Share on other sites More sharing options...
phelpsj Posted February 27, 2004 Share Posted February 27, 2004 In create_account.php find this line: <td class="main"><?php echo tep_get_country_list('country') . ' ' . (tep_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?></td> and replace it with this: <td class="main"><?php echo tep_get_country_list('country', '38') . ' ' . (tep_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?></td> This will fix the New Account form. You will need to do this in every other file that uses the Country dropdown as well. Please use the search feature next time!! John Link to comment Share on other sites More sharing options...
talon Posted February 27, 2004 Author Share Posted February 27, 2004 Thanks for the info. :) I did use the search feature (always do). However the search feature is pretty primitive and it is hard to find relevant results. ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.