Give the ability to match up fields in the checkout of ubercart to the profile.
Example:
Create address fields in the profile and link to the uc address fields.
Give the ability to match up fields in the checkout of ubercart to the profile.
Example:
Create address fields in the profile and link to the uc address fields.
Comments
Comment #1
arski commentedyes yes! This would be brilliant! Say the user has to fill in his address within uc - if those fields could be saved to and later populated from the user profile it would make so many things so much better!
Thanks a lot!
Martin
Comment #2
indytechcook commentedThis feature needs to be complete first. #633162: Track the data input into the Profile pane for a specific order, rather than for the user profile generally
Comment #3
EvanDonovan commentedSo in other words, is this feature request to be able to populate profile fields based on the order fields?
My reasoning in #633162: Track the data input into the Profile pane for a specific order, rather than for the user profile generally suggests that this may also be out of scope, unless you want a new order to overwrite the address data from a previous order. Note that you would need some kind of field mapping UI on the backend, like in the Salesforce API module.
Comment #4
EvanDonovan commentedOk, after clarification with indytechcook on IRC, the use case for this is to automatically populate the user's profile address fields (if there are any) automatically based on their billing address.
This wouldn't be out of scope if it updated every time they changed billing address. But I still think having different "versions" per order would be out of scope for this module, since it would no longer be an integration with profile.module, but with something custom.
However, what would be necessary would be to ensure that the address fields did not show in the profile pane, or else to have the profile pane below the billing pane, and have it populate them based on a jQuery script.
Comment #5
technikh commentedI really like this feature.
subscribing..
Comment #6
technikh commentedI temporarily did this for my use case. but it will be great if I can have a UI to map the profile fields.
Comment #7
vantuykom commentedI really would love this feature too
subscribing...
Comment #8
rolfmeijer commentedsubscribing
Comment #9
EvanDonovan commentedOh, this would be a pretty nice feature. I won't have time to do it though.
I don't think it's major priority though just because it would be nice to have.
Comment #10
achtonTo do this the other way around (saving order data to profile fields), I have utilized
hook_uc_checkout_complete()to do something like this:This could be extended to support more profile data and other profile categories.
WARNING: the third argument to user_save() is a little .. finicky. It COULD wipe other profile fields in that category if you are not careful. More info