Results 1 to 6 of 6

Default country not working

This is a discussion on Default country not working within the Bugs and Problems forums, part of the osCmax V2.5 Forums category; I entered the default country of Ireland, then selected UK Language rather than US Language or Australian Language and the ...

      
  1. #1
    Member
    Join Date
    Jul 2011
    Posts
    95
    Rep Power
    3


    Default Default country not working

    I entered the default country of Ireland, then selected UK Language rather than US Language or Australian Language and the default country ends up being the UK. If I change the language to US Language I get the default country as the US. How can I make it default to Ireland? I am using v2.5.1

    Thanks,

    Dan

  2. #2
    Active Member niallb's Avatar
    Join Date
    Sep 2010
    Posts
    243
    Rep Power
    3


    Default Re: Default country not working

    Sometimes you just can't see the wood for all those damned trees

  3. #3
    Member
    Join Date
    Jul 2011
    Posts
    95
    Rep Power
    3


    Default Re: Default country not working

    Actually what I did was hard-code the default country ID into the create_account page and it solved the problem.

  4. #4
    Member
    Join Date
    Jul 2011
    Posts
    95
    Rep Power
    3


    Default Re: Default country not working

    I thought I had this problem solved by hard-coding the country code into the create_account page but it created more problems. The states show up as UK states since I am using the UK english version. If I change the english version to US, the US states show up. If I change the country the states drop-down disappears. I removed the hard-coded country code and still have the same problem. If the default country is US or UK there is no problem since the correct states will show up but if the default country is Ireland there is a big problem. It seems I need an english version for Ireland, how do I do that? I cannot find anything in the database that pertains to this. Has anyone else had this problem? Has anyone else have an idea how to correct this?

    Dan

  5. #5
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,368
    Rep Power
    57


    Lightbulb Re: Default country not working

    Have you looked in catalog/includes/languages/english/locale/locale.php ?
    Hosting plans with installation, configuration, contributions, support and maintenance.

  6. #6
    Member
    Join Date
    Jul 2011
    Posts
    95
    Rep Power
    3


    Default Re: Default country not working

    That was it. I changed the DEFAULT COUNTRY to 103 for Ireland and now Ireland and it's counties show up as default.

    Thanks!

    Dan

Similar Threads

  1. Default Country in create account
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 08-29-2010, 05:54 AM
  2. Default country in account creation
    By ozewolf in forum osCmax v2 Customization/Mods
    Replies: 4
    Last Post: 03-08-2009, 11:06 AM
  3. WC&DC Which Countries and Default Country
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 05-22-2007, 12:13 PM
  4. How to set Create Account - Country - to UK default
    By fuzzyphil in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 04-09-2006, 06:36 PM
  5. Default country USA
    By kmazumdar in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 09-12-2005, 01:38 AM

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
  •