Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2007
    Posts
    21
    Plugin Contributions
    0

    Default Where is the shipping address field length setting?

    On the page /index.php?main_page=checkout_shipping_address, where is the definition of the shipping address block? My street_address field is displaying too long, and changing it in:
    \includes\templates\MYTEMPLATE\templates\tpl_modules_checkout_new_address.php doesn't seem to have any effect.

    Same problem occurs on login screen...

    What am I missing??? Where is it really pulling from?

    Zen Cart V1.3.7

    Thanks,

    Gregg Short
    [email protected]

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Where is the shipping address field length setting?

    Too long? A screen shot or URL would be helpful.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Apr 2007
    Posts
    21
    Plugin Contributions
    0

    Default Re: Where is the shipping address field length setting?

    https://www.cropking.com/HydroponicS...ain_page=login

    Both Street Address and Email are displaying too long.. Mind you I'm not concerned about the maximum length of the field, just the display length.


    Gregg SHort
    [email protected]

  4. #4
    Join Date
    Feb 2008
    Posts
    129
    Plugin Contributions
    0

    Default Re: Where is the shipping address field length setting?

    Hi,

    I've been wondering that myself. But then I saw this post:
    http://www.zen-cart.com/forum/showthread.php?t=43978

    He says,
    I have decided to make a number of fields in zen_address_book and zen_customers 64 characters in length, as opposed to 32

    Previously only "street address" was 64 characters long - and thus in create_account it was a much longer text field, as the length of the HTML field is derived directly from the SQL field length it relates to.

    This makes the layout of the name and address fields in the "create_account" template more consistent.
    So that must be the answer--the display size of the field is calculated dynamically based on the size of the table field itself.

    You can either change the actual table field size like he did or try the instructions in this post to override that dynamic calculation:
    http://www.zen-cart.com/forum/showthread.php?t=28779

  5. #5
    Join Date
    Aug 2008
    Posts
    138
    Plugin Contributions
    0

    Default Re: Where is the shipping address field length setting?

    I'm looking for the code where the size on the postal code field is, so if anyone know, please leave me a message here.. :)

 

 

Similar Threads

  1. v151 Sweden shipping address: user supplies an 'X' in the 'State' field
    By d0ugparker in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 27 Nov 2013, 07:27 PM
  2. "(7) 7 - Field format error: 10731-The field Shipping Address Country is required
    By GTrotter in forum PayPal Express Checkout support
    Replies: 73
    Last Post: 1 Sep 2009, 03:15 AM
  3. Address Field Length in Login Page
    By xtracool in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 14 Aug 2009, 06:28 AM
  4. Where does a customer choose the shipping address?
    By CindyM22 in forum General Questions
    Replies: 1
    Last Post: 12 Aug 2009, 09:11 PM
  5. Field format error: 10731-The field Shipping Address Country
    By infocom in forum PayPal Website Payments Pro support
    Replies: 2
    Last Post: 27 May 2008, 10:30 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