Results 1 to 8 of 8
  1. #1
    Join Date
    May 2009
    Posts
    419
    Plugin Contributions
    0

    Default State - Always display as pulldown Set To True = Extra Space Before State...

    Hi,

    When I set Admin > Configuration > Customer Details > State - Always display as pulldown? to True I get an extra blank space before the input in the state input box when using the "Type a choice below ..." for countries like the UK etc. where zones aren't already defined.

    See screenshot attached... note the extra space in the state input box compared to the city input box.

    This results in an extra space in the database for that customers state, which then affects invoice address spacing etc. - no big deal, I know, but a bit annoying nonetheless... and a possible bug?

    This occurs in FF6 and Chrome 13, on a fresh ZC 1.3.9h install on XAMPP. I haven't tested in any other browsers yet.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    66,812
    Plugin Contributions
    6

    Default Re: State - Always display as pulldown Set To True = Extra Space Before State...

    If you have no Zones defined for that country, you will see the blank ...

    For example, try selecting United States ... does the blank disappear?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    May 2009
    Posts
    419
    Plugin Contributions
    0

    Default Re: State - Always display as pulldown Set To True = Extra Space Before State...

    No, because then the customer would be selecting a state, rather than typing one in. As I previously stated, this only happens when the customer has to type their state in.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    66,812
    Plugin Contributions
    6

    Default Re: State - Always display as pulldown Set To True = Extra Space Before State...

    I am confused ... if that wasn't there, then where would they type it?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  5. #5
    Join Date
    May 2009
    Posts
    419
    Plugin Contributions
    0

    Default Re: State - Always display as pulldown Set To True = Extra Space Before State...

    I think you may of misunderstood the problem.

    So for a customer in the UK, when they type their state (rather than select it from the dropdown list) in the input box underneath where it says "Type a choice in the box below ..." they get this:

    ' Typed State' <-- extra space in front of Typed, compared to:
    'Selected State' <-- which has no space in front of it.

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    66,812
    Plugin Contributions
    6

    Default Re: State - Always display as pulldown Set To True = Extra Space Before State...

    Aha! a clue ... thanks for the update we will look into it ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  7. #7
    Join Date
    Jun 2011
    Location
    California
    Posts
    63
    Plugin Contributions
    0

    Default Re: State - Always display as pulldown Set To True = Extra Space Before State...

    I'm trying to make the user input only abbreviations for their State example (NY) I set the state dropdown list to always show.

    Will the state dropdown list return the abbreviations in my orders?

    The only way I can tell if this works is to wait for an order to come .

    Thank You

    Sorry This is not a bug report wrong thread posting
    Last edited by webstar59; 4 Dec 2011 at 02:54 AM. Reason: wrong thread

  8. #8
    Join Date
    Nov 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: State - Always display as pulldown Set To True = Extra Space Before State...

    Hi gaffettape,

    Have you solve your problem ? I've same problem as yours.
    Please tell me if you fixed your problem.
    Thanks.

    -Tomy

 

 

Similar Threads

  1. My Store State and nearby state generates NO shipping methods!
    By LuciStuff in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 2 Nov 2010, 08:30 PM
  2. State - Always display as pulldown screwing up template
    By Delights in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 9 Oct 2010, 06:14 PM
  3. Replies: 3
    Last Post: 6 Feb 2010, 11:27 AM
  4. State pulldown not populating in address book
    By edialedarb in forum General Questions
    Replies: 1
    Last Post: 3 Aug 2008, 07:32 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
  •