Thread: country list

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default country list

    i want to clear the country list, all i want left is the united kingdom.

    how can i do this

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: country list

    You mean Grandma isn't sending me anything for Christmas this year?!
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: country list

    nope i only post uk lol.

    so do i have to sit and delete each one bit by bit or can someone give me the mql to delete the contry list then then readd the uk or something??

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: country list

    Searching on the topic brings up many posts that contain various queries one might use. Here's one such: http://www.zen-cart.com/forum/showthread.php?t=74816

    In fact, didn't you already do that back in April?
    http://www.zen-cart.com/forum/showthread.php?t=62912
    .

    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.

  5. #5
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: country list

    yes as from my post back in april i never sat there getting rsd deleting all 259 countries one by one.

  6. #6
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: country list

    so will this work if i want to delete all then ill just manually re-enter united kingdom?

    run this through the sql patch in admin??

    DELETE from countries

    DELETE from zones

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: country list

    It would be smarter to delete only the entries you want to remove.
    If you delete everything, then all your existing customers and orders will no longer link to the correct country/zone information, causing all sorts of chaos.

    That's why it's safer to remove them one at a time ...
    .

    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.

  8. #8
    Join Date
    Feb 2007
    Posts
    1,704
    Plugin Contributions
    0

    Default Re: country list

    so what can i do to delete all but uk??

    only one of my store actally has customers, one is fresh and new and unused so far

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: country list

    Quote Originally Posted by kitcorsa View Post
    nope i only post uk lol.

    so do i have to sit and delete each one bit by bit or can someone give me the mql to delete the contry list then then readd the uk or something??
    You mean I cannot buy anything for Grandma for Christmas and send it to her in the UK because I live in the US?

    I am gonna get a lump of coal ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #10
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: country list

    Quote Originally Posted by kitcorsa View Post
    so what can i do to delete all but uk??

    only one of my store actally has customers, one is fresh and new and unused so far
    look for the country_id of UK in the countries table, and substitute that number in the example SQL in the post I referenced earlier.
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Country list issue
    By WATTANK in forum Addon Shipping Modules
    Replies: 5
    Last Post: 29 Aug 2012, 11:16 AM
  2. EU country list to import?
    By marksu in forum General Questions
    Replies: 4
    Last Post: 19 Jan 2008, 11:07 PM
  3. Bi-Lingual country list
    By ecw in forum General Questions
    Replies: 4
    Last Post: 29 Sep 2007, 06:39 AM
  4. restoring country list
    By craigo in forum Customization from the Admin
    Replies: 1
    Last Post: 25 Jun 2006, 03:40 AM

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