Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2007
    Posts
    328
    Plugin Contributions
    0

    Default Country and Zone not showing in drop down list

    Im trying to setup a new tax zone but Admin -> Locations/Taxes -> Zone Definitions -> under the specific zone, when I try to insert a new sub zone the Country and Zone drop-down menus doesn't' contain any countries or zones. See attached image.
    Did anybody have same problem? Any help is much appreciated.
    Attached Images Attached Images  

  2. #2
    Join Date
    Oct 2007
    Posts
    328
    Plugin Contributions
    0

    Default Re: Country and Zone not showing in drop down list

    hmm...Im still having this problem, ...I see some other posts with similar problem.. but no solution??

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

    Default Re: Country and Zone not showing in drop down list

    I'm having trouble seeing any other posts "with similar problem".

    As far as "the problem", that list is generated by a very simple database query which selects all countries from the countries table in the database. It will be empty if there are no countries in your countries table. So, as far as ZC core code is concerned, that's the only reason the list of countries would be empty. The only other reason would be if your website's code has been changed to do something different.
    .

    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
    Oct 2007
    Posts
    328
    Plugin Contributions
    0

    Default Re: Country and Zone not showing in drop down list

    Thanks DrByte, here are posts with a similar problem:

    http://www.zen-cart.com/forum/showth...ne+definitions

    http://www.zen-cart.com/forum/showth...ne+definitions

    When I look in the database under the Countries table I do see that at the countries are listed. They are also listed fine in Admin->Locations/Taxes->Countries. They are only missing from the dropdown menu in Admin -> Locations/Taxes -> Zone Definitions -> under the specific zone. The States are missing too.

    I checked and re-uploaded geo_zones.php so I believe that is not the problem. What other files relates to this?

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

    Default Re: Country and Zone not showing in drop down list

    /admin/includes/functions/*****.php
    .

    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.

  6. #6
    Join Date
    Oct 2007
    Posts
    328
    Plugin Contributions
    0

    Default Re: Country and Zone not showing in drop down list

    Great, thanks. Finally solved the problem. My files:

    functions_customers.php
    and
    general.php

    in

    /admin/includes/functions/

    were for some reason modified. The call to the database in regards to the countries and state tables were commented out.

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

    Default Re: Country and Zone not showing in drop down list

    Thanks for confirming that the problem was indeed tampered files on your site.

    I suggest you find out how+who changed them, and why.
    .

    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
    Apr 2007
    Posts
    40
    Plugin Contributions
    0

    Default Re: Country and Zone not showing in drop down list

    Guys I came across this thread after having the same issue,

    The issue arises due to a number of third party module that overwrite and comment out part of the code in general.php

    http://www.zen-cart.com/showthread.p...ew-definitions

    A very well written thread and extremely helpful.

    Well done and Thanks!

 

 

Similar Threads

  1. v154 Attributes File and Text options not showing in drop down
    By caaszc in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 7 Jul 2015, 01:58 PM
  2. Can't choose a Zone from the drop down list
    By ssailer in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 23 Nov 2011, 06:18 PM
  3. Replies: 2
    Last Post: 6 Jul 2010, 08:56 PM
  4. Replies: 6
    Last Post: 31 Mar 2009, 04:59 AM

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