How to get the user's address?
Permalink
Thanks for your reply but it does not work. I get a fatal error because the methods $ak->getAddress1(); (etc...) are not recognized.
$ui = UserInfo::getByID ($uID); $ui->getAttribute('address')->getAddress1(); $ui->getAttribute('address')->getCity();
etc. Might not be the best possible approach but at least it works fine.
I don't mean to be a total n00b, but I'm having trouble and hope you can help me.
I too need to have the "billing address" fields separated into columns. I have tried many different mods to get concrete/tools/users/search_results_export.php to do this using the info that you provided. I'm failing hard. I'm not great at php but I'm learning.
I haven't found many other threads about this topic. Is there any hope of you pointing me in a good direction so that I can export my user data with all fields in their own column? Specifically the billing address fields from eCommerce?
Thanks for any help! I have attached my last stab at this "ME", which got me no where. And the original file I'm working with "good" from con5.
Jeff
You can create a own handle billing address.
To export it with all the data in seperate fields on one row I guess you have to write your own export script. The default script may be working for you, but it does not export each row seperatly