Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moving UK to top of country select?


facelessface

Recommended Posts

I think this has been answered more than a few times, but the simplest way in my opinion is to change the function tep_get_country_list in includes/functions/html_output.php (in your case) to:

 

// Creates a pull-down list of countries, change selected from '' to United Kingdom (222)
 function tep_get_country_list($name, $selected = '222', $parameters = '') {
   $countries_array = array(array('id' => '', 'text' => PULL_DOWN_DEFAULT));
   $countries = tep_get_countries();

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...