Hi there
Ubercart is really cool, but it has some shortcomings with the address fields. By default there are about 7 fields (name, address, phonenumber and so on) in there, which might be good for an average small shop but never good enough for a bigger shop. I would need about 7 additional fields (client number, mobile number, website and so on). Unfortunately there aren't any possibility of adding new fields. It seems to be a frequently asked question:
- http://www.ubercart.org/forum/ideas_and_suggestions/8552/additional_addr...
I was thinking about writing a module which makes some use of hook_alter and overwrite some themefunctions. I was though also thinking about hacking the module, as in my eyes it can't be that great of a deal and would hopefully benefit a lot of other people as well.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | configuration-screenshot.png | 343.16 KB | rapsli |
| #4 | configuration-screenshot-2.png | 83.49 KB | rapsli |
| #4 | configuration-screenshot-3.png | 100.65 KB | rapsli |
Comments
Comment #1
rapsli commentedPressed the submit button to fast and editing is not possible. I would need the following additional fields:
- Client number
- Firma 2
- PO Box
- Telefon direct
- Mobile
- Fax
- Website
Any chance this would make it into the module?
Comment #2
longwaveAre these all really needed to supplement the current billing and delivery address fields, or should they be stored just once per order? I can't see the point in having "billing website" and "delivery website" fields, for example. If you only need them once the easiest way would be to implement a new checkout pane that asks for them separately, rather than modifying the billing and delivery panes.
Comment #3
rapsli commentedThanks for the quick reply. I'm a little bit confused (sorry, Ubercart is rather complex). Well these additional fields are just an extension of the fields a user has to insert. Let's take for example the mobile number. The basic form has a telefon number. In my opinion there is though no possibility to have the client insert the mobile number aswell.
You asked if the information has to be stored only once per order. I guess yes, since the telefon number is only stored once also.
If I understand you correctly. The new checkout pane would be an additional step for the customer to fill out additional information (which he could slide out)? From a usability perspective this looks kinda weird: Customer has to enter his phone number and then in a seperate pane he has to enter his mobile as well. I think this would look weird.
The coolest would be, if it was possible to dynamically add/remove fields, but I guess this would be a pretty big effort to implement. Just adding a couple more fields would already be enough. Let me make some screenshots of what I have in mind to make sure we talk about the same thing.
Comment #4
rapsli commentedGot some screenshots now.
Screenshot 1: This lists the new fields.
Screenshot 2: There are several screens where information about the billing and delivery address is being displayed. Of course only the P.O. Box would need to be inserted here (if it's available), because if it's a P.O. Box, there's not going to be an address (at least here in the german speaking part).
Screenshot 3: All the other information the customer has entered could of course also be edited.
Again. It would be very cumbersome having to write an extra module which hooks into the right functions making these changes. A new checkout pane would just look really weird. Therefore I think it would just be easiest to just add some new fields. I'm sure there are other people who would welcome these feature aswell.
Comment #5
rszrama commentedComment #6
giorgoskI think these two modules might help
http://www.ubercart.org/contrib/13826
http://drupal.org/project/uc_profile
Comment #7
AlexanderPop commentedhttp://drupal.org/project/uc_extra_fields_pane
Comment #8
tr commented