Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default Unfortunate XML demand from USPS - 35 character limit address line international

    Recently switched to using a broker for International. It has been amazing shipping and better tracking. Here's the kicker.

    USPS xml upload of addresses has a character limit of 35 for address lines 1, 2 and 3.

    We have a stock ZC limit of 64 and hundreds of customers have more than 35 - some used up all 64.

    I see the post below that changes the database character count via phpMyAdmin...

    http://www.zen-cart.com/showthread.p...Street-Address

    Question 1 - will this affect our entire database of current customers and chop off/delete their address lines to 35 or just new entries (new account creations)?

    Severely scratching my head here. Thanks.

  2. #2
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default Re: Unfortunate demand from USPS - 35 character limit address line international

    Looks like by doing the following, it then only affects new customers during create_account.

    ALTER TABLE address_book MODIFY entry_street_address varchar(35);
    ALTER TABLE address_book MODIFY entry_suburb varchar(35);

    We will have to now monitor all returning customer international shipments. Quite a drag.

  3. #3
    Join Date
    Oct 2007
    Posts
    143
    Plugin Contributions
    0

    Default Re: Unfortunate demand from USPS - 35 character limit address line international

    not sure if you're doing something different, but running that command will in fact truncate the existing entries down to 35 characters.. you might want to make sure you didn't just chop off half of your customers' addresses..

  4. #4
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default Re: Unfortunate demand from USPS - 35 character limit address line international

    I tested on a sandbox and it only affected the entry field of a new account creation.

    All customer addresses stayed in tact.

  5. #5
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default Re: Unfortunate demand from USPS - 35 character limit address line international

    HOLD ON...

    I looked at orders, which are unaffected.

    The customer address_book table is indeed all cut off.

    How can I direct that only new entries have a max characters of 35 and current addresses remain unchanged?

 

 

Similar Threads

  1. v155 Character limit on MODULE_PAYMENT_INVOICE_TEXT_TITLE?
    By marton_1 in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 8 Aug 2016, 01:18 PM
  2. International Customer Address Not Working with USPS
    By corin in forum Managing Customers and Orders
    Replies: 3
    Last Post: 22 Feb 2013, 12:34 AM
  3. Setting Character Limit
    By solarguy in forum General Questions
    Replies: 4
    Last Post: 16 Apr 2011, 11:20 PM
  4. USPS First Class International weight limit
    By commdiver in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 22 Dec 2010, 03:44 PM
  5. International Address's And Usps, Helllp!!!
    By BEatMaKeR in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 8 Sep 2007, 02:17 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