WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] How to see who signup to your site or who is your customer from woo commerce? (3 posts)

  1. visualxl
    Member
    Posted 5 months ago #

    If a user registered at my site, I can get a new user notification after including this code in functions.php

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

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

    The code above will send a notification to admin whenever a new user signup. However, how do I view them on my control panel or woocommerce itself?

    Please assist.

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

  2. ManusH
    Member
    Posted 5 months ago #

    WooCommerce customer is not any other "sub-title" inside WooCommerce,
    it is a new user-group in WordPress Users Menu.

    By default, in WordPress there are some user-roles as Administrator, Editor, Author, Subscriber, ...

    By activating WooCommerce, it adds 2 new user-roles:
    1)Customer 2)Shop Manager

    In your WordPress Admin panel,
    you can see them in the Users menu,
    nowhere under WooCommerce.

  3. visualxl
    Member
    Posted 5 months ago #

    ManusH: Thanks man! That solve my issues! :D

Reply

You must log in to post.

About this Plugin

About this Topic