I've modified the fields on login page, changing the 'company' field in create account to ask for the customers 'occupation' instead. This seemed to be a good alternative to attempting to add a new field for this entry.
However, I have only changed the name of the field so the term company is still scattered thoughout the code (things like ACCOUNT_COMPANY == 'true' and ENTRY_COMPANY). No problem for the login fields and the admin area but it is used in other areas, like the customers address. So, their address might read:
Butcher, Baker, Candlestick Maker
First and Last Name
City, Postal Code
I've found code like this:
but I can't figure out where the info is called up from and where I could go in to change it so it doesn't display the occupation (company) in any page where the customer would view their address.
<address><?php echo zen_address_format($addresses['format_id'], $addresses['address'], true, ' ', '<br />'); ?></address>
Can anyone point me in the right direction? Or is this work around pointless and there is actually an easy way to add extra fields to the login so I could create a real 'occupation' field and put 'company' back as it was?
Thanks for any advice!