Registration Page – Custom Fields

Viewing 5 posts - 1 through 5 (of 5 total)
#113876

I currently have 2 add-ons activated on my site. Download notifications and Advanced custom fields.
I have a custom field called cust_no which stores the customer number.

First question: How do I get that new field to show up on the registration form?

Second question: How do I show the customer number in the email that the administrator gets once a file has been downloaded?
Thanks,

#113945

Shahriar
Moderator

Hi,

You can add custom fields in the registration form using the Advanced Custom Fields add-on. Just check the “Show in user registration form” option under the custom field.

http://prntscr.com/pok8mn

You can add a custom tag for email template using wpdm_email_template_tags filter,

function wpdm_email_template_tags($tags){
    global $current_user;

    $custom_user_meta = maybe_unserialize( get_user_meta($current_user->ID,'wpdm_cregf', true ) );
    $tags["[#cust_no#]"] = array( 'value' ► $custom_user_meta['cust_no'], 'desc' ► 'Customer No' );

    return $tags;
}
add_filter('wpdm_email_template_tags','wpdm_email_template_tags');

but as Email Notification add-on doesn’t provide any template yet, there is no way to add the custom info in the email. We have added this on to-do for the next update of the add-on.

Thanks.

#113995
This reply has been marked as private.
#114678

Any idea as to when this fix will be available.

#119208

Hello,

Will this functionality make it into the next release and if so when can we expect to see it?

Again this functionality was one of the main reasons that we purchased this add-on as we were lead to believe that it was already in the plugin.

Thanks,
DPSI

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Registration Page – Custom Fields’ is closed to new replies.