osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Deleting Extra Countries and Zones

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 05-27-2008, 02:18 PM
osCMax Testing Team
 
Join Date: Feb 2007
Posts: 53
Thanks: 13
Thanked 1 Time in 1 Post
Rep Power: 2
minuteman1970 is on a distinguished road
Default Deleting Extra Countries and Zones

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
  #2  
Old 05-27-2008, 11:43 PM
MindTwist's Avatar
Active Member
 
Join Date: Jun 2007
Location: Barcelona, Spain
Posts: 346
Thanks: 9
Thanked 27 Times in 26 Posts
Rep Power: 3
MindTwist has a spectacular aura aboutMindTwist has a spectacular aura about
Default Re: Deleting Extra Countries and Zones

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.
__________________
MindTwist of Twisted Reality and Twisted Tienda
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 05-28-2008, 07:33 AM
osCMax Testing Team
 
Join Date: Feb 2007
Posts: 53
Thanks: 13
Thanked 1 Time in 1 Post
Rep Power: 2
minuteman1970 is on a distinguished road
Default Re: Deleting Extra Countries and Zones

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 05-28-2008, 08:00 AM
MindTwist's Avatar
Active Member
 
Join Date: Jun 2007
Location: Barcelona, Spain
Posts: 346
Thanks: 9
Thanked 27 Times in 26 Posts
Rep Power: 3
MindTwist has a spectacular aura aboutMindTwist has a spectacular aura about
Default Re: Deleting Extra Countries and Zones

Edit /includes/languages/english.php (or whatever language you need) and find:

Code:
// LINE ADDED: Country-State Selector
define ('DEFAULT_COUNTRY', '195');
195 is my default country, Spain. You can find out your country number on your database, table "countries".

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.
__________________
MindTwist of Twisted Reality and Twisted Tienda
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 05-28-2008, 10:50 AM
osCMax Testing Team
 
Join Date: Feb 2007
Posts: 53
Thanks: 13
Thanked 1 Time in 1 Post
Rep Power: 2
minuteman1970 is on a distinguished road
Default Re: Deleting Extra Countries and Zones

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 11:58 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax