WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
WC New order created notification (1 post)

  1. wudza
    Member
    Posted 8 months ago #

    Hi everyone!
    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

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

    Appreciated for any help!

    Original topic is here:

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

Reply

You must log in to post.

About this Plugin

About this Topic