ZAP Posted July 15, 2003 Share Posted July 15, 2003 Grr. This is one of those things that should be easy, and probably is, but I can't seem to make it work. I want to set "United States" as the default selected country in all my pull-down lists. I have set it in admin -> Configuration -> My Store. When that didn't do anything, I also added define('STORE_COUNTRY', 'United States'); to english.php, but that also did nothing. When I look at create_account.php, I see that the country list function is called like so: echo tep_get_country_list('country') And I see in html_output.php that the function looks like this: //// // Creates a pull-down list of countries function tep_get_country_list($name, $selected = '', $parameters = '') { $countries_array = array(array('id' => '', 'text' => PULL_DOWN_DEFAULT)); $countries = tep_get_countries(); for ($i=0, $n=sizeof($countries); $i<$n; $i++) { $countries_array[] = array('id' => $countries[$i]['countries_id'], 'text' => $countries[$i]['countries_name']); } return tep_draw_pull_down_menu($name, $countries_array, $selected, $parameters); } I have tried adding changing the function call to echo tep_get_country_list('country', 'United States'). No dice. What the Sam Hill am I doing wrong? THANKS in advance for helping this poor frustrated soul. Link to comment Share on other sites More sharing options...
ZAP Posted July 15, 2003 Author Share Posted July 15, 2003 Aha! Had to do it using the country number (223 in this case). This seems like a glitch in my CVS, so mebbe I'm the only one with this problem anyway. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.