Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Edit country list on account create page!


msaunders

Recommended Posts

Hi,

I asked this earlier but got no replies. Maybe I didnt explain it properly.

 

Does anyone know where I can edit the list of countries a new user chooses from when he/she creates a new account ?

 

I presume you'll have to modify the data in the Countries Table of the Database.

Link to comment
Share on other sites

Hi ray, thanks

 

Yeah I just found it in the database, and I can edit it .

What I am thinking of doing is editing all the coutry names and changing them to town names. So when a customer selects what town he/she lives in, it will calculate the shipping. I am only going to be trading in Ireland, so I dont really need a country list, more a town list. Does that make sense ? Can you see another way around it ? I could add a new table to the database called towns and add that to my account_edit file (i think thats the right one)

 

Whattya think ?

Link to comment
Share on other sites

Hi ray, thanks

 

Yeah I just found it in the database, and I can edit it .

What I am thinking of doing is editing all the coutry names and changing them to town names. So when a customer selects what town he/she lives in, it will calculate the shipping. I am only going to be trading in Ireland, so I dont really need a country list, more a town list. Does that make sense ? Can you see another way around it ? I could add a new table to the database called towns and add that to my account_edit file (i think thats the right one)

 

Whattya think ?

 

The best thing i'd say to do is to change the countries to towns but do not change the Ireland Record as i think in Application_Top.php it asks for the country code which grabs the record ID from the countries table in the database so modify every other record as you wish except the Ireland Record or what you can do is wipe everything in that table and put Ireland as your first record and then in the code define that country code as 1

 

you might wanna wait for another opinion as i'm new to this as well.

Link to comment
Share on other sites

Hi

 

Ok, thanks. Id rather not have Ireland in that list at all. Im sure there must be a way to make Ireland the default Country. Thanks for your help , its appreciated. I had a quick look at your site, I like the nav system and splash on left .. keep up the good work.

Link to comment
Share on other sites

Hi

 

Ok, thanks. Id rather not have Ireland in that list at all. Im sure there must be a way to make Ireland the default Country. Thanks for your help , its appreciated. I had a quick look at your site, I like the nav system and splash on left .. keep up the good work.

 

 

hehehehehe, thanks. i re-developing it to a more "professional look".

 

Check it out at http://www.rcsystems.com.au/rcsv2

 

see ya

Link to comment
Share on other sites

Hi

 

Ok, thanks. Id rather not have Ireland in that list at all. Im sure there must be a way to make Ireland the default Country. Thanks for your help , its appreciated. I had a quick look at your site, I like the nav system and splash on left .. keep up the good work.

 

 

hehehehehe, thanks. i re-developing it to a more "professional look".

 

Check it out at http://www.rcsystems.com.au/rcsv2

 

see ya

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...