| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
limit the number of characters allowed on address line 1 | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
limit the number of characters allowed on address line 1
How can I limit the number of characters allowed on address line 1 on the checkout page? I had a customer that put the street address and apartment number all in address line 1 and when I printed the label it cut off the last 2 digits of the apartment. So fedex delivered it somewhere but not to the right place.
This is for x-cart version 4.7.11 and using one page Ajax checkout. Thanks.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
#2
|
|||||||
|
|||||||
Re: limit the number of characters allowed on address line 1
/skin/common_files/modules/One_Page_Checkout/profile/address_fields.tpl
Around line 72... Replace... Code:
With... Code:
Or you could just change 255 to 32 to limit all fields maximum lengths to 32 characters.
__________________
xcartmods.co.uk |
|||||||
|
#3
|
|||||||
|
|||||||
Re: limit the number of characters allowed on address line 1
Beautiful, thanks Phil. Exactly what I needed.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
|
|||
X-Cart forums © 2001-2020
|