Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2007
    Posts
    260
    Plugin Contributions
    0

    Default EU country list to import?

    Anyone have the country list for EU only that can be imported to database?

    Maybe somebody could export it from their database?

    I know there are list on Internet but I need a file that can be used to import then all in once though import feature and not insert then one by one.

    marksu

  2. #2
    Join Date
    Nov 2007
    Posts
    260
    Plugin Contributions
    0

    Default Re: EU country list to import?

    Never mind I will reimport the original country list.

    marksu

  3. #3
    Join Date
    Nov 2007
    Posts
    260
    Plugin Contributions
    0

    Default Re: EU country list to import?

    On the otherhand:

    It would be nice if I would not have to insert each single EU country under the one EU efinition one by one.

    Anyone that can provide file to import to database?

    marksu

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: EU country list to import?

    Quote Originally Posted by marksu View Post
    On the otherhand:

    It would be nice if I would not have to insert each single EU country under the one EU efinition one by one.

    Anyone that can provide file to import to database?

    marksu
    copy and paste the following sql statement into:

    admin -> tools -> install sql patches and click the send button

    Note you may have to add newer EU members manually.
    Code:
    INSERT INTO `geo_zones` VALUES ('', 'Shp: European Union: All', 'Entire European Union', NULL, now());
    INSERT INTO `zones_to_geo_zones` VALUES ('', 14, 0, last_insert_id(), NULL, now()),
                                            ('', 21, 0, last_insert_id(), NULL, now()),
                                            ('', 55, 0, last_insert_id(), NULL, now()),
                                            ('', 56, 0, last_insert_id(), NULL, now()),
                                            ('', 57, 0, last_insert_id(), NULL, now()),
                                            ('', 67, 0, last_insert_id(), NULL, now()),
                                            ('', 72, 0, last_insert_id(), NULL, now()),
                                            ('', 73, 0, last_insert_id(), NULL, now()),
                                            ('', 81, 0, last_insert_id(), NULL, now()),
                                            ('', 84, 0, last_insert_id(), NULL, now()),
                                            ('', 97, 0, last_insert_id(), NULL, now()),
                                            ('', 103, 0, last_insert_id(), NULL, now()),
                                            ('', 105, 0, last_insert_id(), NULL, now()),
                                            ('', 117, 0, last_insert_id(), NULL, now()),
                                            ('', 123, 0, last_insert_id(), NULL, now()),
                                            ('', 124, 0, last_insert_id(), NULL, now()),
                                            ('', 132, 0, last_insert_id(), NULL, now()),
                                            ('', 170, 0, last_insert_id(), NULL, now()),
                                            ('', 171, 0, last_insert_id(), NULL, now()),
                                            ('', 189, 0, last_insert_id(), NULL, now()),
                                            ('', 190, 0, last_insert_id(), NULL, now()),
                                            ('', 195, 0, last_insert_id(), NULL, now()),
                                            ('', 203, 0, last_insert_id(), NULL, now()),
                                            ('', 150, 0, last_insert_id(), NULL, now()),
                                            ('', 222, 0, last_insert_id(), NULL, now());

  5. #5
    Join Date
    Nov 2007
    Posts
    260
    Plugin Contributions
    0

    Default Re: EU country list to import?

    Thank you for nice sql code and fast reply.
    It was missing Bulgaria (33) and Romania (175) which I added to the list.

    I used following urls to check EU country list status
    http://europa.eu/abc/european_countries/index_en.htm
    http://www.userfocus.co.uk/us/eu.html


    INSERT INTO `zones_to_geo_zones` VALUES ('', 14, 0, last_insert_id(), NULL, now()),
    ('', 21, 0, last_insert_id(), NULL, now()),
    ('', 33, 0, last_insert_id(), NULL, now()),
    ('', 55, 0, last_insert_id(), NULL, now()),
    ('', 56, 0, last_insert_id(), NULL, now()),
    ('', 57, 0, last_insert_id(), NULL, now()),
    ('', 67, 0, last_insert_id(), NULL, now()),
    ('', 72, 0, last_insert_id(), NULL, now()),
    ('', 73, 0, last_insert_id(), NULL, now()),
    ('', 81, 0, last_insert_id(), NULL, now()),
    ('', 84, 0, last_insert_id(), NULL, now()),
    ('', 97, 0, last_insert_id(), NULL, now()),
    ('', 103, 0, last_insert_id(), NULL, now()),
    ('', 105, 0, last_insert_id(), NULL, now()),
    ('', 117, 0, last_insert_id(), NULL, now()),
    ('', 123, 0, last_insert_id(), NULL, now()),
    ('', 124, 0, last_insert_id(), NULL, now()),
    ('', 132, 0, last_insert_id(), NULL, now()),
    ('', 170, 0, last_insert_id(), NULL, now()),
    ('', 171, 0, last_insert_id(), NULL, now()),
    ('', 175, 0, last_insert_id(), NULL, now()),
    ('', 189, 0, last_insert_id(), NULL, now()),
    ('', 190, 0, last_insert_id(), NULL, now()),
    ('', 195, 0, last_insert_id(), NULL, now()),
    ('', 203, 0, last_insert_id(), NULL, now()),
    ('', 150, 0, last_insert_id(), NULL, now()),
    ('', 222, 0, last_insert_id(), NULL, now());

 

 

Similar Threads

  1. How to import email list to my admin email address list ??
    By cmike in forum Managing Customers and Orders
    Replies: 1
    Last Post: 21 Apr 2014, 01:02 PM
  2. Import Email List
    By trafficzombie in forum General Questions
    Replies: 1
    Last Post: 9 Jul 2009, 07:17 PM
  3. Import Manufactures list
    By bobdog in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 16 Sep 2008, 07:40 AM
  4. country list
    By kitcorsa in forum General Questions
    Replies: 10
    Last Post: 13 Nov 2007, 02:24 PM

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