WordPress.org

Support

Support » Plugins and Hacks » Woocommerce new registration not sending email to admin

Woocommerce new registration not sending email to admin

  • First, when I create a New User in the Add New User WordPress backend, the admin does receive the New User Registration email successfully. However, when someone registers on the site itself via the woocommerce My Account page the admin does NOT receive the New User Registration email at all. All other forms and emails are being received by customers and admin successfully, so that is all working fine. The User is being created when they register directly on the site, so that is fine, but the admin is not getting the New User Registration email.

    http://www.odonnell-books.com

    Anybody else encounter this and find the solution to fix it?

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • interblend
    Member

    @interblend

    I have the same issue. Tried different mailing plugins, but it didn’t work. Everything else is working fine. Only that one email.

    Maybe someone have a solution?

    Best regards,
    Arturas
    http://www.vdizainas.lt

    toto
    Participant

    @toto

    The solution is in functions.php add code:

    // 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 );
    }

    PLS test the solution!

    trewknowledge
    Member

    @trewknowledge

    Works for me. Thanks!

    Hi everyone!
    Sorry for off-topic message but is it possible to modify the suggested code above from “toto” post for sending the notification to admin for ANY new order created by customer:
    right now it working only for ”real ” goods and vitrual&downloadable goods in woocommerce . In my case I use only virtual goods

    Appreciated for any help!

    WPyogi
    Forum Moderator

    @wpyogi

    @wudza – please start a new thread rather than posting in an outdated one – you can include a link to this thread if it’s relevant. This thread is also not even on the WC forum – so post here:

    http://wordpress.org/support/plugin/woocommerce#postform

    rookpsu
    Member

    @rookpsu

    @toto – excellent quick fix my man. Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Woocommerce new registration not sending email to admin’ is closed to new replies.