Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing some Countries from dropdown box


Guest

Recommended Posts

Posted

Where the customer fills in there details how do i remove some of the countries in the dropdown box?

 

If i wanted to remove the whole dropdown box and place normal text with "United Kingdom" how would i do this?

 

I also want to change the "suburb" word to "county", how would i do this?

 

Thanks

Posted
Where the customer fills in there details how do i remove some of the countries in the dropdown box?

 

If i wanted to remove the whole dropdown box and place normal text with "United Kingdom" how would i do this?

 

I also want to change the "suburb" word to "county", how would i do this?

 

Thanks

 

 

the input field names are in english.php

 

the countries can be deleted in admin -> countries

 

I did not get what you mean by writing the word in normal text ...

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted

thanks for replying monika.

 

i have checked all the english and countries.php files and can not find any country names in there!!

 

can you point me to the exact file, otherwise I will have to delete them one by one in the admin page!!

 

thanks

Posted
thanks for replying monika.

 

i have checked all the english and countries.php files and can not find any country names in there!!

 

can you point me to the exact file, otherwise I will have to delete them one by one in the admin page!!

 

thanks

 

 

Monkia said to look in admin for the countries

 

admin/Locations / Taxes / countries

Posted
thanks for replying monika.

 

i have checked all the english and countries.php files and can not find any country names in there!!

 

can you point me to the exact file, otherwise I will have to delete them one by one in the admin page!!

 

thanks

 

if you do not want to delete them one by one, go to phpmyadmin in your host panel

 

open from your install folder the file oscommerce.sql, and search for the inserts for the countries table. Copy those into a new file, and delete all lines you do not need. Tabe a backup of your database in case you are messing things up, then trunca = EMPTY the countries table. Insert the lines you wanted to keep by copying them into the sql window in phpmyadmin.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Archived

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

×
×
  • Create New...