Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Mar 2009
    Posts
    176
    Plugin Contributions
    0

    Default Remove Local Authority Box

    Shopping cart shows estimated postage....can select Country from drop down list.
    1) How can I make United Kingdom the default Country?
    2) How can I remove the Local Authority text/box (only active for USA) - very confusing for other countries.

    thanks

    Name:  VM_Shipping.jpg
Views: 481
Size:  11.2 KB

  2. #2
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Remove Local Authority Box

    A review of includes/functions/html_output.php at the function zen_get_country_list identifies the possibility for two initial countries to be at the top of the list, with comment about how to add additional to the top.

    The first occurrence is if SHOW_CREATE_ACCOUNT_DEFAULT_COUNTRY isn't the same as STORE_COUNTRY then to add that to the top. The second option in that case would be the store's country. If they are the same, then the store's country would be at the top.

    Now, as of ZC 1.5.6, although an initial install would ensure countries are assigned specific numbers, the upgrade process now adds (at least a few countries) without concern about what that number is and may even result in a country (again a few specific ones) being listed twice if that country had been manually added before to the expected position or some other and the expected position were already taken...

    All that to say, if you wish some other country to be defaulted and done so by manually adding into the code at this position that the desired country code be identified through review/inspection of what is currently in the database as found in the localities->countries area. This can be seen by clicking on the country and then looking at the Web page address for the parameter cID=.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Remove Local Authority Box

    As to local authority... that is revised text and not in a default install, further, would recommend looking for any javascript errors in the console of the browser to see if something is preventing the hide/display feature of that while making selections...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Mar 2009
    Posts
    176
    Plugin Contributions
    0

    Default Re: Remove Local Authority Box

    Thanks for that(!) Never really had to edit the database directly before.......will back it up and see how it goes.

  5. #5
    Join Date
    Mar 2009
    Posts
    176
    Plugin Contributions
    0

    Default Re: Remove Local Authority Box

    Quote Originally Posted by mc12345678 View Post
    As to local authority... that is revised text and not in a default install, further, would recommend looking for any javascript errors in the console of the browser to see if something is preventing the hide/display feature of that while making selections...
    Not sure where to look for javascript errors.......where is the browser console? where is the hide/display feature for that? thanks

  6. #6
    Join Date
    Mar 2009
    Posts
    176
    Plugin Contributions
    0

    Default Re: Remove Local Authority Box

    re COuntry at top....I see the code...and it gives example of Canada as Country No: 108....but I don't see that on any list. What would United Kingdom code be?

  7. #7
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Remove Local Authority Box

    Quote Originally Posted by gprit View Post
    Not sure where to look for javascript errors.......where is the browser console? where is the hide/display feature for that? thanks
    On a pc, can press F12 to open up an area that should include some tab or location to see the javascript console. The hide/display feature would be expected to be javascript that would be expected to be found in the source window or similar tab that supports viewing the javascript itself.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #8
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Remove Local Authority Box

    Quote Originally Posted by gprit View Post
    re COuntry at top....I see the code...and it gives example of Canada as Country No: 108....but I don't see that on any list. What would United Kingdom code be?
    Following the process I described, when I went to locations /Taxes->countries, then navigated the list to find United Kingdom and clicked on it, I was taken to:
    MY_ADMIN/countries.php&page=12&cID=222

    So at least in the installation I'm using, the country code would be 222. I recommend either going to that address, or finding the value as applied to your site to ensure that 222 is in fact the country code recognized by your site...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #9
    Join Date
    Mar 2009
    Posts
    176
    Plugin Contributions
    0

    Default Re: Remove Local Authority Box

    Quote Originally Posted by mc12345678 View Post
    Following the process I described, when I went to locations /Taxes->countries, then navigated the list to find United Kingdom and clicked on it, I was taken to:
    MY_ADMIN/countries.php&page=12&cID=222

    So at least in the installation I'm using, the country code would be 222. I recommend either going to that address, or finding the value as applied to your site to ensure that 222 is in fact the country code recognized by your site...
    How convulated is that???!!! Canada shows as &cID=38 whereas the code suggest 108
    I DO see UK as 222 but it doesn't seem to stack up to me....if the code says Canada is 108...(and that is wrong) then why should UK be correct??!!

  10. #10
    Join Date
    Mar 2009
    Posts
    176
    Plugin Contributions
    0

    Default Re: Remove Local Authority Box

    Quote Originally Posted by mc12345678 View Post
    On a pc, can press F12 to open up an area that should include some tab or location to see the javascript console. The hide/display feature would be expected to be javascript that would be expected to be found in the source window or similar tab that supports viewing the javascript itself.
    will try over the weekend....thanks for your help and time.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Why my Authorize AIM no SSL authority
    By jim.wu in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 13 Dec 2013, 11:13 AM
  2. v139h can I remove the local sales tax?
    By ballyc27 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 20 Jan 2012, 01:34 AM
  3. Limiting Admin Authority
    By rtwingfield in forum Basic Configuration
    Replies: 5
    Last Post: 12 Sep 2011, 10:03 PM
  4. Admin: Website Certified by an Unknown Authority
    By Waitrose Carpark in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Feb 2007, 10:05 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