By Georges LEGER on Monday, 05 December 2016
Posted in General Issues
Replies 1
Likes 0
Views 444
Votes 0
Hello,

1) Can you tell me how to add the user's address on the payplans bill? I asked the question directly to the readybytes team for payplans but they tell me to see with the easysocial developer. Because the form that collects addresses during registration is the easysocial application.

Thank you for your help and understanding
To get a custom field value from a specific user, one would need the unique field key. This can be set under the custom field settings for each of your field in the profile type.

Assuming that you have the field key of ADDRESS (This is the default field key used in EasySocial unless you changed it), one can get the address by invoking the following,

[gist]
<?php
$user = ES::user($id);
echo $user->getFieldData('ADDRESS');
?>
[/gist]
·
Monday, 05 December 2016 22:02
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post