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

  1. visualxl
    Posted 2 years 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.


  2. ManusH
    Posted 2 years 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
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic