Closed (won't fix)
Project:
Ubercart Addresses
Version:
5.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Issue tags:
Reporter:
Created:
9 Dec 2008 at 18:44 UTC
Updated:
8 Jun 2010 at 03:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
freixas commentedIs it possible? Yes.
Is it easy? No, not as far as I know. The work really needs to begin with Ubercart, not the uc_addresses module.
Comment #2
mikepadiernos commentedI found that out the hard way and hard-coded the single "fax" field throughout ubercart. Thanks though.
Comment #3
Daniel Norton commentedThe attached patch to uc_addresses-6.x-1.0-rc1 and ubercart core (uc_store) 6.x-2.2 adds two address fields:
After installing this patch, you must run update.php.
You will probably want to modify the variable uc_address_fields and one or more country format variables, such as uc_address_format_840 so that you can see the new fields.
I made the minimal changes necessary to the core (uc_store), so these fields won't actually show up anywhere except in the user profile unless you have custom code that pulls them out.
You could theme these two additional fields to look like any free text field you want. To serve my immediate needs, my custom code and theme hooks displays the alternate phone number as a fax number, which provides a solution to the original question.