Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Default Country into Country List


stutchbury

Recommended Posts

This suggestion is to make the country (in the country list of values) default to the same country defined for the shop - for most of us, the target audience is likely to be local.

 

In the file includes/functions/html_output.php, add the following lines to the beginning of the tep_get_country_list function:

 

    if ( empty($selected) ) {
     $selected = STORE_COUNTRY;
   }

 

This will work wherever the country list is displayed.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...