Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2009
    Posts
    7
    Plugin Contributions
    0

    Default ENTRY_STATE field remains empty

    Hey there

    I'm having a strange problem. In the zen_address_book table the state that is used at login does not get entered into ENTRY_STATE. The field remains empty.

    I have tested it and ensured that it is presented to the user at login, and have filled it in on my test user, but the information never makes it to that database.

    In the Customer Details section of the admin I have:

    State: True
    State - Always display as pulldown: True

    Anyone got any ideas?

    In case it's useful, here's where the store is currently in progress: http://70.40.200.90/store/.

    Thanks.

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

    Default Re: ENTRY_STATE field remains empty

    Have you checked to be sure it's not a result of something you've done with your custom template files?
    .

    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.

  3. #3
    Join Date
    Dec 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: ENTRY_STATE field remains empty

    Quote Originally Posted by DrByte View Post
    Have you checked to be sure it's not a result of something you've done with your custom template files?
    If it is, I have no idea where to start looking.

    Turns out that the state is recorded through a connection to a zone (ENTRY_ZONE) and then cross-references the zones table, but I'd still like it dropped into this field to remove that step (we're downloading sales info into a local program).

    Anyone got any ideas?

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

    Default Re: ENTRY_STATE field remains empty

    Oops. I had misread your post and interpreted it as something you were seeing on-screen when using the website.

    As for the field in the database, you are correct. Zen Cart ONLY sets EITHER the state OR the zone, never both. It only reads the state field if the zone has no information in it. Having both fields populated is likely to create confusion within the program.
    .

    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
    Dec 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: ENTRY_STATE field remains empty

    Thanks. Not too big of a deal to download both tables, I guess.

 

 

Similar Threads

  1. Check if field is empty
    By tkelley66 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 17 Dec 2009, 06:01 PM
  2. When I add product, shopping cart remains empty
    By suit3 in forum General Questions
    Replies: 4
    Last Post: 4 Nov 2009, 10:04 PM
  3. How to correct ENTRY_STATE showing up
    By butchx5 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Jan 2009, 05:30 AM
  4. Removed header but empty space remains...please advise
    By tanglada in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 14 Jul 2008, 01:08 AM
  5. form field validation (numeric or empty only)
    By Veronika7747 in forum General Questions
    Replies: 7
    Last Post: 14 Jan 2008, 08:23 PM

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