Zen Cart Logo
Forums / Managing Customers and Orders / Limit Shipping Address Field Lengths

Limit Shipping Address Field Lengths

Views: 1,490

Results 1 to 4 of 4
7 Dec 2013, 2:33 PM
#1
mr_pibb avatar

mr_pibb

New Zenner

Join Date:
Jul 2009
Posts:
20
Plugin Contributions:
0

Limit Shipping Address Field Lengths

Does anyone know how to limit the length of shipping address that can be entered during checkout?

We occasionally people will enter a TON of information on the main address line rather than splitting it up and using "Address line 2" for additional information. This normally occurs for international orders where they may not use the basic street number, name, and suite, but also add building, neighborhood, and/or other information.
The problem arises when we import the address into the shipping software, which can't deal with the overly long addresses as they won't usually fit in the address field. If I can limit the number of characters they can enter in the shipping address, it will force them to use the second line so parts of the address don't get missed when the products ship.

7 Dec 2013, 3:37 PM
#2
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Limit Shipping Address Field Lengths

Mr.Pibb:

Does anyone know how to limit the length of shipping address that can be entered during checkout?

We occasionally people will enter a TON of information on the main address line rather than splitting it up and using "Address line 2" for additional information. This normally occurs for international orders where they may not use the basic street number, name, and suite, but also add building, neighborhood, and/or other information.
The problem arises when we import the address into the shipping software, which can't deal with the overly long addresses as they won't usually fit in the address field. If I can limit the number of characters they can enter in the shipping address, it will force them to use the second line so parts of the address don't get missed when the products ship.

Try admin--configuration--minimum values ;)

Thanks,

Anne

7 Dec 2013, 3:39 PM
#3
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Limit Shipping Address Field Lengths

picaflor-azul:

Try admin--configuration--minimum values ;)

Thanks,

Anne

Nevermind, that is the opposite of what you want.

You might change the number of characters allowed in the database. But, the address field appears in several different tables.

Thanks,

Anne

7 Dec 2013, 4:02 PM
#4
mr_pibb avatar

mr_pibb

New Zenner

Join Date:
Jul 2009
Posts:
20
Plugin Contributions:
0

Re: Limit Shipping Address Field Lengths

picaflor-azul:

Nevermind, that is the opposite of what you want.

You might change the number of characters allowed in the database. But, the address field appears in several different tables.

Thanks,

Anne

:)

Thanks for the reply.
It would be nice if there were a maximum value setting for that field in the "maximum values" settings.

I thought about the database setting change, but I worry that it will clip existing customer data and they may not notice when placing their orders. The fact that it is in multiple tables complicates it as well.