Results 1 to 3 of 3

How to set Create Account - Country - to UK default

This is a discussion on How to set Create Account - Country - to UK default within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Having now spent a good solid 4 hours searching through this forum I have decided to give up and ask ...

      
  1. #1
    Member
    Join Date
    Jun 2004
    Location
    UK
    Posts
    56
    Rep Power
    0


    Default How to set Create Account - Country - to UK default

    Having now spent a good solid 4 hours searching through this forum I have decided to give up and ask the question.
    My store is UK based. I would prefer if, on the Create Account page, the default country was United Kingdom and not United States. I gather there must be a way to do this.
    I know 222 is UK and I suspect you need to mod create_account.tpl.php file however, no matter how I try this, I cannot switch from default USA to UK.
    If anybody does know could they please post the answer as this is getting more than a little frustrating.
    Cheers,
    phil.

  2. #2
    Member
    Join Date
    Jun 2004
    Location
    UK
    Posts
    56
    Rep Power
    0


    Default RE: How to set Create Account - Country - to UK default

    Any help would be gratefully received !!

  3. #3
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    20,756
    Rep Power
    573


    Default RE: How to set Create Account - Country - to UK default

    Just change the default country code in catalog/includes/languages/english.php :
    Code:
    // LINE ADDED: Country-State Selector
    define ('DEFAULT_COUNTRY', '223');
    Change it to your country code like this:
    Code:
    // LINE ADDED: Country-State Selector
    define ('DEFAULT_COUNTRY', '222');
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. Cust Account Creation - no refresh on country select
    By rjavery in forum osCmax v2 Customization/Mods
    Replies: 6
    Last Post: 10-22-2006, 03:35 PM
  2. Default country USA
    By kmazumdar in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 09-12-2005, 01:38 AM
  3. need help deleting the country option when creating account
    By markymrk22 in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 07-19-2005, 08:31 AM
  4. Make United States the default country
    By groggory in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 12-17-2004, 04:38 PM
  5. Create Account,Checkout,My Account, Language Pictures probs!
    By Mikey in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 03-08-2004, 10:20 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
  •