Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2019
    Posts
    241
    Plugin Contributions
    0

    Default State/province dropdown box is missing

    zc 1.58
    php 8.0

    I just tried to get a shipping quote in the shopping cart page, and I found the State/province dropdown box is gone in zc1.58. Instead, it shows as a regular text box.

    I copied the tpl_modules_shipping_estimator.php from 1.57d and changed "zip_code" into "postcode" (two spots in total), and it worked now.

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,622
    Plugin Contributions
    123

    Default Re: State/province dropdown box is missing

    what template are you using?
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Apr 2019
    Posts
    241
    Plugin Contributions
    0

    Default Re: State/province dropdown box is missing

    Hi @swguy, responsive classic.

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,622
    Plugin Contributions
    123

    Default Re: State/province dropdown box is missing

    Tested - seems ok as is.

    You have to set
    Admin > Configuration > Customer Details > State field - Display as pulldown when possible? to true.
    Then you will see the dropdown.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Apr 2019
    Posts
    241
    Plugin Contributions
    0

    Default Re: State/province dropdown box is missing

    Hi @swguy, thanks for your help. I just set "State field - Display as pulldown when possible?" to true in 1.58 site and the dropdown box came back! Thanks!

    I checked my 1.57d site and that option is slightly different:

    State - Always display as pulldown?
    It is set as false. And I can get dropdown box under the shipping quote page...

 

 

Similar Threads

  1. Replies: 4
    Last Post: 9 Apr 2016, 07:53 PM
  2. Modify State/Province dropdown list
    By kdipaolo in forum General Questions
    Replies: 1
    Last Post: 9 Jan 2012, 07:15 PM
  3. Force State/Province dropdown to show relevant options for selected COUNTRY
    By schoolboy in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 13 Dec 2010, 12:54 PM
  4. Replies: 6
    Last Post: 19 Sep 2007, 09:48 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