Hi, "end user",
I duplicated your bug. I also verified that the same address entered while ordering did not generate a problem, so the bug is in the Add Address function. I suspect that somehow the code is receiving the US zones with the Canadian country or vice versa. I'll track this down and fix it.
It looks like zeezhao had a similar problem but his went away when he fixed up the database.
Hi, Abilnet,
Thanks for the reference to the Addresses module. Since it's Drupal 6 and a work in progress and since I need the address functionality right now, I plan to go ahead with the uc_addresses module. The idea of having a central API for handling addresses sounds great. In the future, the uc_addresses module may either be obsoleted to work with the Addresses module or it may wind up using the Addresses API, whatever makes the most sense.
Hi, everybody,
As promised, I will start on the process of getting the software submitted to drupal.org. I'll post the module link when I'm done.
In addition to fixing the bug listed above, I plan to
- Add the Default Address checkbox to the Add Address page
- Disable the Default Address checbox when editing the default address
- Disable the Delete button when editing the default address (rather than remove it
- Add a Delete button to each address when viewing addresses
There is one more enhancement I would like to make but don't know how. I was able to add a checkbox to the order page addresses. The checkbox said "Save address" and was enabled by default. I was unable to figure out how to determine whether the user unchecked the checkbox. I use hook_order() to get the delivery and order addresses, but the checkbox I add to the form doesn't get copied to the order object. Any tips welcome.



Joined: 05/06/2008