• Resolved tirachew

    (@tirachew)


    Hi, I want to synchronize the customer of my website to active campaign. I have got it set up, but realize that the phone number of my customers are not synchronize to active campaign, only name and email. Can I know what to do to synchronize the phone number into active campaign with your plugin? Thank you so much!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Pravin Durugkar

    (@pravind)

    Hello @tirachew

    Hi if you are using wocommerce for checkout then try this code placing in your functions.php

    add_filter('rusac_fetch_registered_user_data', 'customize_user_data', 2);
    function customize_user_data($user_data, $user_id) {
        $user_data['phone'] = get_user_meta( $user_id, 'billing_phone', true ); // if phone number is getting stored in the billing_phone field usually it works for woocommerce
        return $user_data;
    }

    if you are not using wocommerce then just find out the contact field and replace it with billing_phone

    Thank you please do not forget to rate the plugin

Viewing 1 replies (of 1 total)
  • The topic ‘Syncronize Phone Number’ is closed to new replies.