osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Pull down UK county list

This is a discussion on Pull down UK county list within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Pull down UK county list OS commerce provides no data for UK counties (on version 2.2rc1 at least.) I provide ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #1  
Old 04-21-2008, 03:32 PM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,758
Thanks: 139
Thanked 609 Times in 521 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
Post Pull down UK county list

Pull down UK county list

OS commerce provides no data for UK counties (on version 2.2rc1 at least.)

I provide here an SQL adding UK counties (Enland, Wales, Scotland & Northern Island)
There may be some counties missing as they keep changing.

By default OSC wont provide a drop down, waiting for client to put in their country, I don`t like that approach so:

I provide a mod to display the counties of the store country, if they exist, on the blank form.

I found that OSC would display county codes rather than names, this may be fine for the US but not in the UK, I`ve included a Workaround, there may be a better way if

someone knows OSC better.

I also include a simple mod I found to ensure country is pre-selected to the store country.

After starting this I found there is already a mod for counties, but this is US based and seems rather OTT, I think UK users will find this quite sufficient.

Before you start:

BACKUP . BACKUP . BACKUP

Files Moded

catalog/create_account.php
catalog/includes/modules/address_book_details.php
catalog/includes/modules/checkout_new_address.php
catalog/includes/functions/html_output.php
catalog/includes/functions/general.php


More...
__________________
Michael Sasek
osCMax Developer

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

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 User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Pull Down Dates For Search V1 michael_s New osCommerce Contributions 0 04-08-2008 02:40 PM
Pull Down Dates For Search V1 michael_s New osCommerce Contributions 0 04-07-2008 03:30 AM
Pull Down Product List michael_s New osCommerce Contributions 0 05-29-2007 11:30 PM
Pull Down Product List michael_s New osCommerce Contributions 0 05-14-2007 04:30 AM
Pull down menu for colors? -- is it possible? markymrk22 osCommerce 2.2 Modification Help 3 05-26-2005 02:13 PM


All times are GMT -8. The time now is 01:59 AM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design