Forums / General Questions / Auto fill forcing the creation of 2nd address lines

Auto fill forcing the creation of 2nd address lines

Views: 856

Results 1 to 3 of 3
16 Jun 2013, 12:15 AM
#1
d0ugparker avatar

d0ugparker

Zen Follower

Join Date:
May 2008
Location:
Near the water, somewhere...
Posts:
129
Plugin Contributions:
0

Auto fill forcing the creation of 2nd address lines

Some of our customers are picking up a 2nd line address with a suite, or floor,
or apartment number. Our shipping department only uses a single line shipping
address. I have

Configuration > Customer Details > Address Line 2 = false

to disable the 2nd line address input from the customer, but thanks to some
timely input, I've learned that it's either Chrome's auto fill, or PayPal's auto fill,
or both that are causing the phenomenon.

Some store owners want to have auto fill enabled--I understand that. I don't
want auto fill enabled on any page that's going to contribute to the 2nd
address line creation phenomenon.

How do I disable auto fill, and on which pages do I have to disable auto fill to
keep Chrome and PayPal from creation these 2nd line addresses?

Regards,

Doug
Redondo Beach, CA
USA

16 Jun 2013, 12:23 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Auto fill forcing the creation of 2nd address lines

I'm sure your shipping dept doesn't want to ship to invalid addresses because they're simply skipping line 2 which might contain the actual suite number or important delivery instructions, right?
Zen Cart is merely collecting the complete data. It's your shipping department that doesn't seem to want to use all that data, right?
Why not change your shipping/fulfillment systems to put both lines onto one before printing the shipping label?

When you've got "Address line 2" set to "false" as you indicated, then this has nothing to do with any "autofill", especially not by any browser ... since the "line 2" field is never even presented to the browser in that case (thus it could never be auto-filled).

So, that then leaves the idea that it's being filled in with data from the customer's actual address as on file at PayPal when the customer uses PayPal to create their account on your store.

You have a few possibilities to deal with this:

a) Turn off the EC Shortcut Button in your ZC Admin PayPal EC module settings. Then customers must create their account on your store before commencing checkout, thus creating their address in your store first.

b) Write custom code to tell your shipping systems to take both pieces of data and combine them into one line, so that you don't get stuff shipped back as undeliverable.

.
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.

16 Jun 2013, 12:44 AM
#3
d0ugparker avatar

d0ugparker

Zen Follower

Join Date:
May 2008
Location:
Near the water, somewhere...
Posts:
129
Plugin Contributions:
0

Re: Auto fill forcing the creation of 2nd address lines

DrByte:

a) Turn off the EC Shortcut Button in your ZC Admin PayPal EC module settings. Then customers must create their account on your store before commencing checkout, thus creating their address in your store first.

EC Shortcut Button disabled. Watching curiously to see the results, or the non-results, as it were.

Thank you!

Doug