Sejo Posted February 19, 2003 Share Posted February 19, 2003 My website is only national and I do not want the customers to add their country while registering. There is no problem changing othe options, define('ACCOUNT_GENDER', 'false'); define('ACCOUNT_DOB', 'false'); define('ACCOUNT_COMPANY', 'false'); define('ACCOUNT_SUBURB', 'false'); define('ACCOUNT_STATE', 'false'); Where can I remove the country options? Link to comment Share on other sites More sharing options...
CC Posted February 19, 2003 Share Posted February 19, 2003 Take it out of the database. Either remove them via admin section of your site, or remove via phpmyadmin if you have it. CC. Link to comment Share on other sites More sharing options...
PetterK Posted February 25, 2003 Share Posted February 25, 2003 Steve, Could you please post a 'recepy' for doing this in PhpMyAdmin? I tried once in Admin, removing country-by-country, and it does take some time.. But I'm not sure if this will remove the country entirely? I don't want my store to display country anywhere. Petter - Arktisk Pudder Link to comment Share on other sites More sharing options...
PetterK Posted February 25, 2003 Share Posted February 25, 2003 In functions/html_output.php +====================+ // 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; $i<sizeof($countries); $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); } +====================+ Maybe this could be removed? Petter - Arktisk Pudder Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.