sammycom Posted July 30, 2010 Posted July 30, 2010 The country selector in Create Account Page doesnt has default selected country, I want to set it United States as default selecte. Here's code for country section of /create_account.php <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> thanks
♥14steve14 Posted July 30, 2010 Posted July 30, 2010 I have altered this part of the create account page to show UK as the default country. The code has been altered to <td class="main"><?php echo tep_get_country_list('country', '222') . ' ' . (tep_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?></td> I think you need to alter the 222 to 223 for USA, but i might be wrong. REMEMBER BACKUP, BACKUP AND BACKUP
Recommended Posts
Archived
This topic is now archived and is closed to further replies.