osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 04-08-2006, 05:03 AM
Member
 
Join Date: Jun 2004
Location: UK
Posts: 56
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
fuzzyphil
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 04-09-2006, 04:17 PM
Member
 
Join Date: Jun 2004
Location: UK
Posts: 56
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
fuzzyphil
Default RE: How to set Create Account - Country - to UK default

Any help would be gratefully received !!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 04-09-2006, 06:36 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,446
Thanks: 73
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
The Following 3 Users Say Thank You to michael_s For This Useful Post:
kair2 (12-31-2006), kerryanne (07-23-2008), typhus (01-05-2008)
Sponsored Links
Advertisement
Closed Thread

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


All times are GMT -8. The time now is 11:44 PM.


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