Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Country at top of Drop down on create_account.php


cox1e

Recommended Posts

I would like to specify which countries are display first on the Drop down list in create_account.php?

Ive seen the thread before but cant seem to find it?

any ideas peeps?

Thanks

Link to comment
Share on other sites

Hi

 

file

catalog / includes / functions / html_output.php

 

Line: 289 or thereabouts

 

find: $countries_array = array(array('id' => '', 'text' => PULL_DOWN_DEFAULT));

 

For USA change to: $countries_array = array(array('id' => '223', 'text' => 'United States'));

 

For UK change to : $countries_array = array(array('id' => '222', 'text' => 'United Kingdom'));

 

 

You get the codes etc from your admin, under localiasation /Taxes --> Countires

 

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

Hi

Thanks Nic

Sorted!

file

catalog / includes / functions / html_output.php

 

Line: 289 or thereabouts

 

find: $countries_array = array(array('id' => '', 'text' => PULL_DOWN_DEFAULT));

 

For USA change to: $countries_array = array(array('id' => '223', 'text' => 'United States'));

 

For UK change to : $countries_array = array(array('id' => '222', 'text' => 'United Kingdom'));

 

 

You get the codes etc from your admin, under localiasation /Taxes --> Countires

 

Nic

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...