Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Connecticut - error


Guest

Recommended Posts

I have a problem registering a new account for the state of Connecticut. I discovered that it's listed twice.

 

How can I correct this? :unsure:

 

I haven't found the state drop-down list in the database and/or php pages. Can someone steer me in the right direction?

 

Thanks.

Link to comment
Share on other sites

Make sure that it isn't in twice. I found the duplicate entry and deleted it and that was fine.

 

If you are still having problems, post the link to your signup page and we'll look at it and see if we can figure out from this end.

Link to comment
Share on other sites

Okay, what could be the reasons why a particular state's code, in my case, MI for Michigan will not work?

In admin under Locations / Taxes - Zones, find Michigan and see if the two letter code is listed. If not select edit, EDIT, click on update.

Link to comment
Share on other sites

In /includes/functions/html_output.php find this section:

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

Change to:

// Creates a pull-down list of countries
function tep_get_country_list($name, $selected = '', $parameters = '') {
$countries_array = array(array('id' => '223', 'text' => 'United States'));
$countries = tep_get_countries();

Link to comment
Share on other sites

bluemoon, I have a contribution for that - see my link below. But I suggest you wait a day or so until I update it - there's a bug in the address book handling I am fixing.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...