New Zenner
- Join Date:
- Jul 2008
- Posts:
- 19
- Plugin Contributions:
- 0
Customer Address Formatting and Company Name
I'd like to change the way Zen Cart represents mailing/shipping addresses of customers who provide a company name. By default, it looks like this:
Company Name
Customer Name
Street Address
City, etc...
To me, at least, the following makes much more sense:
Customer Name
Company Name
Street Address
City, etc...
I searched the forums and came across a posting on how to move Company Name from the very top to the very bottom of the address, but to me that would seem to make even less sense than the current default. Because that solution involved modifying a ZC function that tacked on the optional Company Name to the top of a pre-existing variable representing the (entire) address, there's no obvious variant of that solution that would do what I want (I don't think, anyway, as what I want would involve inserting Company Name--if specified--into the middle of that address variable).
I could probably get (roughly) what I want by removing the Company Name altogether from the address (via a variant of the posted solution mentioned above) and then specifying in the address fields that, say, Street Address Line 1 could be the Company Name (and then use Street Address Line 2 for the Company's street address), but I wondered if there might be a simpler, more elegant solution.
Any ideas?