Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2010
    Location
    London, UK
    Posts
    135
    Plugin Contributions
    0

    Default How do I get the UK counties to automatically show as a pulldown?

    Hi all

    I launched my store recently after many months of configuring and tweaking ZC. Somehow I managed to forget that I trashed all other countries, states, etc from ZC and only remembered when testing PayPal and realising that PP needs counties to work properly.

    Wanting a quick way to insert all the UK counties I found the 'Uk Counties sql script for RoyalMail' in the module directory. What I found was that this script didn't actually contain the county ISO codes, which confused me a little.

    I've just sat and edited the file to contain all the correct county codes according to this list.

    Now that I have uploaded the file, I'm not getting an option to select a county from the list when I register a new account. I just get the option to type anything in the County box. Am I missing something?

  2. #2
    Join Date
    Jul 2010
    Location
    London, UK
    Posts
    135
    Plugin Contributions
    0

    Default Re: Yet Another UK Counties Thread

    ahh I've just found that when I type something into the county box and hit submit, it asks me to select from the list. How do I get it to just show the list to begin with?

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Yet Another UK Counties Thread

    1. If you deleted all the countries from the database, and now want to put them back, you should delete the countries table and reload it from the appropriate section of the original SQL script for installing Zen Cart. If you don't, then the country ID values will be mismatched and cause you grief later, especially when upgrading.

    2. If you want the "States Pulldown Box" to "always display", simply set the "State - Always display as pulldown?" to true in Admin->Configuration->Customer Details
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Jul 2010
    Location
    London, UK
    Posts
    135
    Plugin Contributions
    0

    Default Re: Yet Another UK Counties Thread

    Thanks for your reply. I would rather not have a long list of countries for the customer to scroll through when we can only sell our good in the UK. Is the problem only with upgrading?

    Now that I know that there is an option to turn on the counties pull down I'm not sure that I need it. Typical, thanks anyway ;)
    Last edited by wizer; 16 Jun 2011 at 11:28 AM.

 

 

Similar Threads

  1. How do i get a category pulldown menu????
    By paddy_uk2007 in forum General Questions
    Replies: 22
    Last Post: 7 Nov 2010, 04:21 PM
  2. How do I get the zencart admin window to show up?
    By Snicklefritz in forum Installing on a Mac Server
    Replies: 1
    Last Post: 2 Dec 2009, 06:17 PM
  3. How do I get the Coupon box to show up at check out?
    By mudlift in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 7
    Last Post: 28 Nov 2008, 02:45 PM
  4. How to get the home page to show up
    By bchapp3182 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 3 May 2007, 06:18 PM
  5. How to get the customers birthdate to show in admin
    By digitaleyours in forum Managing Customers and Orders
    Replies: 0
    Last Post: 11 Jan 2007, 05:02 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR