This is a discussion on Deleting Extra Countries and Zones within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; Hello, I would like to delete all countries except the USA. I was about to begin doing it via the ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hello, I would like to delete all countries except the USA. I was about to begin doing it via the OSc Admin screen, and noticed that some countries (Spain, Austria, etc..) have zones assigned to them. What is the proper way to remove these extra countries without corrupting the DB? Should I delete the zones first, then the extra countries? Thanks. |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| I really see no point in deleting them. If I were you, I would just make it default to USA when signing up, or remove the country selection drop down all toguether on signup/address creation. |
|
#3
| |||
| |||
| Good tip. However, I was unable to find where you can indicate a default country for new customer signups. Also, how & where would I remove the country selection drop down? Thanks. |
|
#4
| ||||
| ||||
| Edit /includes/languages/english.php (or whatever language you need) and find: Code: // LINE ADDED: Country-State Selector
define ('DEFAULT_COUNTRY', '195');
I would not be able to tell you by mind where/how to remove the country selection drop down, since I am sure it might be there on more than one place (sign up, creating a new shipping address, etc). There might even be a setting on admin/configuration to disable the country selecion dropdown, I really do not know for sure, I never thought on disabling, I just made it default to Spain. I currently ship to few countries, the ones I do not ship to on checkout just get some warning that the shipping costs can not be calculated automatically, and that we will get in touch. |
|
#5
| |||
| |||
| After taking a look, I see that my system already defaults to the USA. The /includes/languages/english.php file also contains this section: define('ENTRY_COUNTRY', 'Country:'); I will try to comment that line out, to see if it removes the country option. |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Deleting Category Images | Twister | osCMax v2 Customization/Mods | 2 | 05-14-2007 11:52 AM |
| How to add sub zones in tax zones | cage1014 | osCommerce 2.2 Modification Help | 0 | 01-04-2006 09:06 AM |
| Deleting images problem! | pthurmond | osCMax v1.7 Discussion | 1 | 03-04-2005 12:21 PM |
| any documentation available? (zones / shipping / tax zones.. | brianstorm | osCommerce 2.2 Modification Help | 3 | 09-23-2003 10:17 AM |
| deleting RHS of header | starchild | osCommerce 2.2 Modification Help | 2 | 12-09-2002 06:47 PM |