Zen Cart Logo
Forums / Managing Customers and Orders / Company name before name??

Company name before name??

Locked

Views: 2,339

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
23 Apr 2010, 11:01 AM
#1
bottyz avatar

bottyz

New Zenner

Join Date:
Mar 2010
Location:
Nottingham UK
Posts:
90
Plugin Contributions:
0

Company name before name??

Hi all,

not 100% sure if this is the correct place for this post. But just have a quick query really:

why does customer shipping/billing address within checkout show company name before the customers name and address? Is this how its supposed to be.

I have tried changing the address format for the country but this doesn't move company name. Can i move the company name between the fits/last name and first line of the address?

thanks!

23 Apr 2010, 11:31 AM
#2
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Company name before name??

In Admin > Tools > Developers Toolkit do a search for 'company' (without the quotes) and then look for the relevant template file tpl_ etc etc

Then in that file move the relevant company div to where you want it.

Don't forget to backup before you are attempting to do this.

23 Apr 2010, 2:18 PM
#3
bottyz avatar

bottyz

New Zenner

Join Date:
Mar 2010
Location:
Nottingham UK
Posts:
90
Plugin Contributions:
0

Re: Company name before name??

frank18:

In Admin > Tools > Developers Toolkit do a search for 'company' (without the quotes) and then look for the relevant template file tpl_ etc etc

Then in that file move the relevant company div to where you want it.

Don't forget to backup before you are attempting to do this.

Hi Frank,

Thanks for the reply but i'm still struggling. I can't find the company name divs, that reside just before the rest of the address details. I'm not looking to move the fields that customers edit with, just where it is listed with the edit button to the side.

I think it might even be down to the way that zen pulls fields from the customer details database. As the field for company name is before the rest.

23 Apr 2010, 2:57 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Company name before name??

That's happening because the address-format does NOT include the company name, so what you're seeing is a result of displaying the company name, followed by the formatted address (formatted using the address-format specified for the country in the address).
It's the way it was architected by osCommerce, and inherited here. One day we may rewrite it the way it should have been written, but yours is the first complaint about it that I've seen in years.

26 Apr 2010, 9:12 AM
#5
bottyz avatar

bottyz

New Zenner

Join Date:
Mar 2010
Location:
Nottingham UK
Posts:
90
Plugin Contributions:
0

Re: Company name before name??

DrByte:

That's happening because the address-format does NOT include the company name, so what you're seeing is a result of displaying the company name, followed by the formatted address (formatted using the address-format specified for the country in the address).
It's the way it was architected by osCommerce, and inherited here. One day we may rewrite it the way it should have been written, but yours is the first complaint about it that I've seen in years.

Sorry Dr Byte

I didn't mean it to sound like a complaint. I just suspected that it would be easy enough to swap around. Generally, in the UK, the contact name comes before company name. Its only a minor thing and i shouldn't imagine it would stop an item being delivered etc...

It would be nice to mayb have the option in the future though please. Thanks!

26 Apr 2010, 4:22 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: Company name before name??

Noted !

5 Jul 2010, 9:17 PM
#7
maaris avatar

maaris

New Zenner

Join Date:
Jun 2010
Posts:
3
Plugin Contributions:
0

Re: Company name before name??

H, I am also very interested in this possibility :)

5 Jul 2010, 10:18 PM
#8
drbyte avatar

drbyte

Sensei

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

Re: Company name before name??

Why ?