WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Woocommerce New Customer Registration - Send email notification to Admin (8 posts)

  1. qwid
    Member
    Posted 10 months ago #

    Hello WordPressers.

    When a new user registers an account using the woocommerce login page the user receives an email - however the admin account does not.

    The admin account receives an email when adding a user manually in the dashboard, and all other notifications are working, such as order processing and payment confirmation.

    Could there a problem with my setup or is this not a feature available 'out of the box'?

    Any suggestions on how to implement this would be greatly appreciated.

    Regards.
    B.

    http://wordpress.org/extend/plugins/woocommerce/

  2. jameskoster
    Member
    Plugin Author

    Posted 10 months ago #

    I don't think WordPress ever sends the admin an email when a new user registers?

  3. qwid
    Member
    Posted 10 months ago #

    It does.
    http://codex.wordpress.org/Function_Reference/wp_new_user_notification

    Dashboard > Settings> General > Email Address, This address is used for admin purposes, like new user notification.

  4. toto
    Member
    Posted 9 months ago #

  5. ciarakurz
    Member
    Posted 2 weeks ago #

    @toto I used your code from the above link in my function.php file but I am having a glitch. I am getting the email when a new customer registers, but the User Name and Email Address in the email is blank, so I do not know who the new customer is. This is important, because I have some clients from my irl store that I need to transfer their loyalty points to their online account. Is there something I missed?

    The code I copied is:

    // Woocommerce New Customer Admin Notification Email
    add_action('woocommerce_created_customer', 'admin_email_on_registration');
    function admin_email_on_registration() {
    $user_id = get_current_user_id();
    wp_new_user_notification( $user_id );
    }

    Any help would be great. Thanks!

  6. ianthedude
    Member
    Posted 1 week ago #

    @toto I am having the same problem as clarakurz. Would love to figure this out if anyone has any tips! Thanks!

    The emails I get look like this:

    New user registration on your site [site name]:

    Username:

    E-mail:

  7. goyt
    Member
    Posted 2 days ago #

    I'm also having the same problem - no admin email notification for new customers but other admin email notifications work.

    The code snippet produces the same blank results.

    Any know the solution?

  8. lodix
    Member
    Posted 8 hours ago #

    I ran in to the same problem. I installed a plugin which allows to order your users list by date of registration. This way you can find out who recently registered. This works fine for me.

    http://wordpress.org/plugins/recently-registered/

Reply

You must log in to post.

About this Plugin

About this Topic