Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Jul 2010
    Posts
    8
    Plugin Contributions
    0

    Default State Field Showing Below State Dropdown

    I am using ZenCart Version 1.3.9d. Basically, what is happening is that on the Account Create page (as well as when I try to change my address from the 'My Account' section, a State text box is showing right below the State Dropdown and it is greyed out. I know that normally if the dropdown is activated, then the 'manual' state box (meaning the one where you would have to type a state in) would not show.

    I cannot for the life of me find what is causing this to occur. I have not modified the tpl_modules_account.php file and both my state attributes for customer are set to 'true'. Can anyone help me here? Here is my website link and screenshot of my problem:
    https://www.floatingpokergames.com/i...sd8cvi2vk3f220

    Thanks
    MK
    Attached Images Attached Images  

  2. #2
    Join Date
    Feb 2008
    Location
    Toronto, Ontario, Canada
    Posts
    29
    Plugin Contributions
    0

    Default Re: State Field Showing Below State Dropdown

    Well, it seems to be almost the default except for Ohio which has counties. The state field that you have mentioned is disabled if you select USA/Canada/Australia etc. But for some, the state isnt in the drop down above. That is where you have a text box to enter it manually. Try selecting the country as Aaland Islands or Burmuda etc and notice it become active so that you type your state or province.

    Hope it helps.

  3. #3
    Join Date
    Jul 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: State Field Showing Below State Dropdown

    Not sure I understand your reply. Basically, I am wondering why the second state box(below the pulldown) is showing up even though I have the dropdown attribute set to true.

    Basically, I just want the pulldown to show without the 'second' state box. Can anyone help here.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: State Field Showing Below State Dropdown

    The box shows up because if someone chooses a country which doesn't have states/provinces/zones defined for it, then your customers will have to manually type in the information instead of being able to select from the pulldown.
    .
    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
    Jan 2009
    Posts
    28
    Plugin Contributions
    0

    Default Re: State Field Showing Below State Dropdown

    Hi, Is it possible to stop the second State field from appearing?
    I have it setup to allow customers to select a state from the dropdown list where it is defined. If a country does not have a state defined then I am happy for just the country to be provided.

    Thanks

  6. #6
    Join Date
    Feb 2009
    Posts
    108
    Plugin Contributions
    0

    Default Re: State Field Showing Below State Dropdown

    Yes this would be great i don't want the extra text flield aswell, or Just a 1 text field if all states is not set up for every country...

  7. #7
    Join Date
    Feb 2009
    Posts
    108
    Plugin Contributions
    0

    Default Re: State Field Showing Below State Dropdown

    Quote Originally Posted by kiwi1066 View Post
    Hi, Is it possible to stop the second State field from appearing?
    I have it setup to allow customers to select a state from the dropdown list where it is defined. If a country does not have a state defined then I am happy for just the country to be provided.

    Thanks
    This is the best thing i could do for sweden

    ad this to stylesheet.css in your template folder

    #state,#stText,#stBreak{
    display:none;
    }

    and change english.php language file

    define('TYPE_BELOW', 'Not available');

 

 

Similar Threads

  1. State dropdown not showing when entered state wrong
    By xavierpages in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 15 May 2011, 11:17 AM
  2. remove box below state in register
    By pRS317 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 28 Jan 2009, 11:05 PM
  3. how do I rename the word "state" - asin the state dropdown on the checkout page?
    By SoftDux in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 4 Mar 2008, 07:19 PM
  4. State problem with new account (when making state field not required)
    By earmsby in forum Managing Customers and Orders
    Replies: 9
    Last Post: 13 May 2007, 10:04 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