If this is your first visit, check our documentation. To post, register or login.
Forums / Basic Configuration / Disabling 2nd address line / suburb

Disabling 2nd address line / suburb

Started by d0ugparker on 21 Nov 2011, 4:13 AM · Views: 1,255

Results 1 to 5 of 5
21 Nov 2011, 4:13 AM
#1
d0ugparker avatar

d0ugparker

Zen Follower

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

Disabling 2nd address line / suburb


My shipping department cannot have address information in
the 2nd address line a.k.a. the suburb.

So, I've succeeded in finding and disabling the code that asks
for 2nd line address information--UNLESS--the person
registering uses two addresses--one for billing and one for
shipping. When entering the two addresses, there's
apparently some code somewhere that's appearing and
(again!) asking for 2nd line address information.

I'm pretty patient, I'm pretty savvy on tracking the code,
but for the life of me I cannot figure out where the other
patch of code is that keeps asking for the 2nd address line
information.

Can anyone point me in the right direction?

Regards,

Doug
Orlando, FL
USA

21 Nov 2011, 5:13 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Disabling 2nd address line / suburb

Instead of touching the code ... did you try to use the switch in the Configuration ... Customer Details ...

Address Line 2
Display address line 2 field during account creation and with account information

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

19 Apr 2013, 5:29 AM
#4
d0ugparker avatar

d0ugparker

Zen Follower

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

Re: Disabling 2nd address line / suburb

Bump.

Upgraded to 1.5.1, and I'm still
getting the occasional 2nd address
line with information filled in, even
though my settings for customers
2nd address line is set to false in
admin settings.

Is it happening when the person's
account information is edited? I
created my own test account, and
there's no 2nd address line that
shows anywhere. Weird.

Doug

19 Apr 2013, 6:33 AM
#5
drbyte avatar

drbyte

Sensei

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

Re: Disabling 2nd address line / suburb

Are any of these "problem" cases belonging to customers whose account was registered as a result of using an external service, such as PayPal or some other bridge you've installed to connect customer accounts to other sites?
You haven't listed any details of addons/plugins you've got installed, or what payment or shipping modules you're using.

And you haven't explained the technical "why" behind your claims about your shipping being unable to use the 2nd address line. Why is that a problem? Is there a reason why the "problem" can't be fixed on that end? It seems that if your shipping strategy is inflexible then perhaps it might be worth addressing that problem.

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