osCmax v2.5 User Manual
Results 1 to 5 of 5

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

      
  1. #1
    osCMax Testing Team
    Join Date
    Feb 2007
    Posts
    72
    Rep Power
    6


    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.

  2. #2
    Active Member MindTwist's Avatar
    Join Date
    Jun 2007
    Location
    Barcelona, Spain
    Posts
    409
    Rep Power
    7


    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.

  3. #3
    osCMax Testing Team
    Join Date
    Feb 2007
    Posts
    72
    Rep Power
    6


    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.

  4. #4
    Active Member MindTwist's Avatar
    Join Date
    Jun 2007
    Location
    Barcelona, Spain
    Posts
    409
    Rep Power
    7


    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.

  5. #5
    osCMax Testing Team
    Join Date
    Feb 2007
    Posts
    72
    Rep Power
    6


    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.

Similar Threads

  1. Deleting Category Images
    By Twister in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 05-14-2007, 10:52 AM
  2. How to add sub zones in tax zones
    By cage1014 in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 01-04-2006, 08:06 AM
  3. Deleting images problem!
    By pthurmond in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 03-04-2005, 11:21 AM
  4. any documentation available? (zones / shipping / tax zones..
    By brianstorm in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 09-23-2003, 09:17 AM
  5. deleting RHS of header
    By starchild in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 12-09-2002, 05:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •